Re: [O] [PATCH] fix SETUPFILE pathname expansion with subdirectories

2015-09-19 Thread Richard Hansen
On 2015-09-19 04:16, Nicolas Goaziou wrote: > Hello, > > Richard Hansen writes: > >> * lisp/org.el (org--setup-collect-keywords): cd to the directory >> containing the SETUPFILE before recursing so that relative pathnames >> in the SETUPFILE are expanded properly. >> >> *

Re: [O] [PATCH v2] fix SETUPFILE pathname expansion with subdirectories

2015-09-19 Thread Kyle Meyer
Richard Hansen writes: > Should I use cd-absolute instead of setting default-directory > directly? It does some sanity checks (among other things) that seem > worthwhile. Looking at these checks, I don't think they are useful in this context, and some change the intended

[O] [PATCH v3] fix SETUPFILE pathname expansion with subdirectories

2015-09-19 Thread Richard Hansen
* lisp/org-macro.el (org-macro--collect-macros): cd to the directory containing the SETUPFILE before recursing so that relative pathnames in the SETUPFILE are expanded properly. * lisp/org.el (org--setup-collect-keywords): cd to the directory containing the SETUPFILE before recursing so that

Re: [O] A book produced using Org

2015-09-19 Thread Vikas Rawal
> > Beautiful! I would love to see the org file! How did emacs perform which such > huge file? > Emacs had no trouble whatsoever. The main file is 9313 lines. I turned off evaluation of code blocks at export time. Many of the code blocks download data from FAO and other websites before

[O] Rescheduling timestamps on a headline (not the next line)

2015-09-19 Thread Michael Hoffman
I am using org-mode 8.2.10. I often like to keep SCHEDULED and DEADLINE timestamps on the headline so they are more compact and show up even when I have collapsed that tree. Unfortunately, in this case, (org-schedule) and (org-deadline) add a new timestamp on the second line instead of

[O] [PATCH v2] fix SETUPFILE pathname expansion with subdirectories

2015-09-19 Thread Richard Hansen
* lisp/org-macro.el (org-macro--collect-macros): cd to the directory containing the SETUPFILE before recursing so that relative pathnames in the SETUPFILE are expanded properly. * lisp/org.el (org--setup-collect-keywords): cd to the directory containing the SETUPFILE before recursing so that

Re: [O] A book produced using Org

2015-09-19 Thread Fabrice Popineau
I won't be long : very nice job ! Fabrice 2015-09-20 0:26 GMT+02:00 Vikas Rawal : > I am happy to share with fellow Orgers my recent book — Ending > Malnutrition: from commitment to action — published by the Food and > Agriculture Organisation of the United

Re: [O] A book produced using Org

2015-09-19 Thread Thomas S . Dye
Aloha Vikas, Looks great. Congratulations! All the best, Tom Vikas Rawal writes: > I am happy to share with fellow Orgers my recent book — Ending Malnutrition: > from commitment to action — published by the Food and Agriculture > Organisation of the

Re: [O] [PATCH v2] fix SETUPFILE pathname expansion with subdirectories

2015-09-19 Thread Kyle Meyer
Richard Hansen writes: >(with-temp-buffer > +(cd (file-name-directory file)) > (org-mode) > (insert (org-file-contents file 'noerror)) Why not just set

Re: [O] [PATCH v2] fix SETUPFILE pathname expansion with subdirectories

2015-09-19 Thread Richard Hansen
On 2015-09-19 18:43, Kyle Meyer wrote: > Richard Hansen writes: > >> (with-temp-buffer >> + (cd (file-name-directory file)) >> (org-mode) >> (insert (org-file-contents

Re: [O] A book produced using Org

2015-09-19 Thread Vikas Rawal
> On 20-Sep-2015, at 4:20 am, Pascal Fleury wrote: > > Great! Congrats! > > I was actually wondering: you are 3 authors. How did you collaborate, in > practice ? There was a thread about using org for collaborative work, but it > seemed to end in discussing other tools...

Re: [O] A book produced using Org

2015-09-19 Thread Manuel Koell
Beautiful! I would love to see the org file! How did emacs perform which such huge file? 2015-09-20 3:06 GMT+02:00 Vikas Rawal : > > > On 20-Sep-2015, at 4:20 am, Pascal Fleury wrote: > > > > Great! Congrats! > > > > I was actually wondering:

Re: [O] [PATCH] fix SETUPFILE pathname expansion with subdirectories

2015-09-19 Thread Nicolas Goaziou
Hello, Richard Hansen writes: > * lisp/org.el (org--setup-collect-keywords): cd to the directory > containing the SETUPFILE before recursing so that relative pathnames > in the SETUPFILE are expanded properly. > > * lisp/ox.el (org-export--get-inbuffer-options): cd to the

Re: [O] Show presence of zero width spaces using overlay

2015-09-19 Thread Kaushal Modi
I got really interested in org-entities (to deal with the case I mentioned in the first email in this thread like \ast{}shrug\ast{}) and came up with this: = (defun modi/org-entity-get-name (char) "Return the entity name for CHAR. For example, return \"ast\" for *." (let ((ll (append

Re: [O] Show presence of zero width spaces using overlay

2015-09-19 Thread Eric Abrahamsen
Kaushal Modi writes: > I got really interested in org-entities (to deal with the case I > mentioned in the first email in this thread like \ast{}shrug\ast{}) > and came up with this: [...] > Question to the list is: Does this advise mask any useful > functionality of

Re: [O] Using the file as 1st level headline

2015-09-19 Thread Sven Bretfeld
Suvayu Ali writes: > On Thu, Sep 17, 2015 at 07:55:07PM +0200, Sven Bretfeld wrote: >> >> * TODO Write book on XY >> ** Introduction >>Text. >> * NEXT Something 1 >> * END >> >> ** Chapter 1 >>Text. >> TODO Something 2 >>

Re: [O] Show presence of zero width spaces using overlay

2015-09-19 Thread Nicolas Goaziou
Kaushal Modi writes: > My most common uses are escaping double quotes (") and equals (=) within > org verbatim blocks (=VERBATIM=) > > Examples: > > 1. =var=[ZWS]val= > 2. =[ZWS]"something"[ZWS]= > > Here [ZWS] is the 0x200b zero width space unicode char. > > I found

Re: [O] Using the file as 1st level headline

2015-09-19 Thread Sven Bretfeld
Eric S Fraga writes: > On Thursday, 17 Sep 2015 at 19:55, Sven Bretfeld wrote: > > [...] > > Have you looked at exporting the sub-tree? If you define the > appropriate EXPORT_xxx properties in the sub-tree, it should be > equivalent to having that sub-tree as a file alone. Check the export >

Re: [O] Using the file as 1st level headline

2015-09-19 Thread Suvayu Ali
On Thu, Sep 17, 2015 at 07:55:07PM +0200, Sven Bretfeld wrote: > > * TODO Write book on XY > ** Introduction >Text. > * NEXT Something 1 > * END > > ** Chapter 1 >Text. > TODO Something 2 > END If you are

Re: [O] org-collector unable to handle macros

2015-09-19 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > This looks like the same problem I reported (and provided a patch for) here: > . Some orgtbl-* > functions can’t cope with macro (or macro-resembling) text, because they > use the exporter,

Re: [O] [PATCH] Fix org-agenda-with-point-at-orig-entry

2015-09-19 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > A comma is missing from this macro's backquote template. Here's a patch > to add it! Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] Show presence of zero width spaces using overlay

2015-09-19 Thread Kaushal Modi
That's correct. That code might be an overkill for people who never needed org entities. I thought that I have never used `C-u` before plain single characters, so why not make use of that in org mode. With that code in place, inserting an org entity is now C-u away :) If I happen to need org

[O] Escape mechanism in code and verbatim blocks

2015-09-19 Thread Kaushal Modi
@Nicolas I am with you on not using non-ascii characters to escape stuff. I like your proposal about escaping in code and verbatim blocks. -- Kaushal Modi On Sep 19, 2015 7:35 AM, "Nicolas Goaziou" wrote: > Kaushal Modi writes: > > > My most

[O] A book produced using Org

2015-09-19 Thread Vikas Rawal
I am happy to share with fellow Orgers my recent book — Ending Malnutrition: from commitment to action — published by the Food and Agriculture Organisation of the United Nations, Rome and Tulika Books, New Delhi (http://www.fao.org/3/a-i4921e.pdf ), The