Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-20 Thread Nicolas Goaziou
Rasmus writes: > That's my first guess. But I don't know how to debug it since it's batch. > And I don't know if it's a an Emacs bug or Org needing to adapt to some > new behavior. > > I could try to print the filename input to the console or something... You may write the output of (buffer-fil

Re: [O] [PATCH] Make html export honor html-viewport option

2015-07-20 Thread Nicolas Goaziou
Rasmus writes: > Richard Hoskins writes: > >> On Sun, Jul 19, 2015 at 4:05 AM, Nicolas Goaziou >> wrote: >>> It can already be changed by customizing `org-html-viewport'. I don't >>> think it is useful to change it through OPTIONS keywords, as your patch >>> suggest, since the value is a bit c

Re: [O] Why navigating in Org mode is so slow in overview mode?

2015-07-20 Thread Gregor Zattler
Hi Nicolas, * Nicolas Goaziou [23. Jun. 2015]: > Gregor Zattler writes: > >> These reports are attachet. > > Thank you. However, I don't see anything incriminating Org in these > reports. Now I think I found something specific. I do open the org-mode file in question with #+STARTUP: showevery

Re: [O] [PATCH] Make html export honor html-viewport option

2015-07-20 Thread Rasmus
Nicolas Goaziou writes: > I think we could offer the option to set it to nil via Customize. WDYT? Of course, I'm just very slow at getting Customize right. It's in 216a53d6cc88bd858fbc3aee82a2702a854fa8d6. Richard: Is there any reason why you want to disable viewport? I added it as it makes m

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-20 Thread Rasmus
Nicolas Goaziou writes: > You may write the output of (buffer-file-name) to a temporary file, > e.g., > > emacs --batch --file foo.org --eval="(let ((name (buffer-file-name))) > (with-temp-file \"report.txt\" (insert (message \"%S\n\" name" $ emacs --batch --file foo.org --eval="(let ((nam

Re: [O] Specify org-latex-pdf-process for a single file?

2015-07-20 Thread Rasmus
Vikas Rawal writes: > How do I specify org-latex-pdf-process for a single file? I am working > on a book manuscript, where I need to run makeindex and biber, along > with xelatex. That is not normally needed in every document. Can I > org-latex-pdf-process in the document itself? I'd just use "l

Re: [O] [PATCH] Make html export honor html-viewport option

2015-07-20 Thread Nicolas Goaziou
Rasmus writes: > It's in 216a53d6cc88bd858fbc3aee82a2702a854fa8d6. Thank you. Regards,

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-20 Thread Nicolas Goaziou
Rasmus writes: > $ emacs --batch --file foo.org --eval="(let ((name (buffer-file-name))) > (with-temp-file \"report.txt\" (insert (message \"%S\n\" name" > $ cat report.txt > nil OK, so this changed. > C-h v mentions no change. Fortunately there are not too many changes to > buffer.c I

Re: [O] Why navigating in Org mode is so slow in overview mode?

2015-07-20 Thread Nicolas Goaziou
Gregor Zattler writes: > Now I think I found something specific. I do open the org-mode > file in question with #+STARTUP: showeverything because otherwise > it’s slow. Today I discovered org-goto. This presents the > buffer in overview mode. So I started the profiler, started > org-goto and

Re: [O] Specify org-latex-pdf-process for a single file?

2015-07-20 Thread Eric S Fraga
On Monday, 20 Jul 2015 at 07:05, Vikas Rawal wrote: > How do I specify org-latex-pdf-process for a single file? I am working > on a book manuscript, where I need to run makeindex and biber, along > with xelatex. That is not normally needed in every document. Can I > org-latex-pdf-process in the doc

Re: [O] Why navigating in Org mode is so slow in overview mode?

2015-07-20 Thread Gregor Zattler
Hi Nicolas, thanks for this change it makes a tremendous difference. * Nicolas Goaziou [20. Jul. 2015]: > Gregor Zattler writes: > >> Now I think I found something specific. I do open the org-mode >> file in question with #+STARTUP: showeverything because otherwise >> it’s slow. Today I disc

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-20 Thread Rasmus
Nicolas Goaziou writes: > Shot in the dark: could it be related to asynchronous export, calling > a different Emacs executable (Emacs 25 in this case)? No, 'cause I've only got on Emacs installed (/usr/bin/emacs) at the time and I install org to /usr/share/emacs/site-lisp/ (but it's stable). Ma

[O] basename of exported subtree?

2015-07-20 Thread Matt Price
Is it possible to set the basename of an exported subtree to something *other* than the name of the parent file -- to, say, the subtree headline, or some property thereof? Thank you!

Re: [O] basename of exported subtree?

2015-07-20 Thread Suvayu Ali
On Mon, Jul 20, 2015 at 09:58:26AM -0400, Matt Price wrote: > Is it possible to set the basename of an exported subtree to something > *other* than the name of the parent file -- to, say, the subtree headline, > or some property thereof? Thank you! Doesn't setting the EXPORT_FILE_NAME property wo

Re: [O] basename of exported subtree?

2015-07-20 Thread Leslie Harlley Watter
To change the title of the exported subtree you can use a #+TITLE: Other title than your subtree title Below your subtree. Check this link: http://orgmode.org/manual/Export-settings.html When exporting only a subtree, each of the previous keywords3 can be overridden locally by special nod

Re: [O] function for cleaning org-attach directories

2015-07-20 Thread Alan Schmitt
On 2015-07-18 05:11, Eric Abrahamsen writes: > Alan Schmitt writes: > >> I gave this a try and it seems that `org-attach-directory' needs to be >> defined for it to work. I'm surprised because I never configured this >> and with gnorb I have had files attached using org-attach. Does gnorb >> use

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-20 Thread Rasmus
Nicolas Goaziou writes: >> C-h v mentions no change. Fortunately there are not too many changes to >> buffer.c > > It might be worth to make a bug report about it. It isn't clear that > this change was intended. Reported here: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21095 -- Se

Re: [O] Specify org-latex-pdf-process for a single file?

2015-07-20 Thread Vikas Rawal
Thanks all. I was not familiar with this way of defining local variables. Just checked the relevant part of the manual. Very useful. Thanks, Vikas > On 20-Jul-2015, at 3:59 pm, Eric S Fraga wrote: > > On Monday, 20 Jul 2015 at 07:05, Vikas Rawal wrote: >> How do I specify org-latex-pdf-proce

Re: [O] basename of exported subtree?

2015-07-20 Thread Matt Price
On Mon, Jul 20, 2015 at 10:19 AM, Leslie Harlley Watter wrote: > To change the title of the exported subtree you can use a > > #+TITLE: Other title than your subtree title > > Below your subtree. > > Check this link: http://orgmode.org/manual/Export-settings.html > > > When exporting only a

[O] PROPERTIES drawer inserted within LOGBOOK drawer during org-capture

2015-07-20 Thread Bruce Gilstrap
Hello, I am running org-mode version 8.2.10 in GNU Emacs 24.3.1 on Windows 7 Ultimate (Service Pack 1). When I invoke org-capture while the cursor is on or "under" a TODO headline that does not have a PROPERTIES drawer, org inserts a PROPERTIES drawer and an ID key-value pair, like so: * TODO New

Re: [O] PROPERTIES drawer inserted within LOGBOOK drawer during org-capture

2015-07-20 Thread Nicolas Goaziou
Hello, Bruce Gilstrap writes: > I am running org-mode version 8.2.10 in GNU Emacs 24.3.1 on Windows 7 > Ultimate (Service Pack 1). When I invoke org-capture while the cursor is on > or "under" a TODO headline that does not have a PROPERTIES drawer, org > inserts a PROPERTIES drawer and an ID key

Re: [O] [PATCH] contrib: rip out org-jira

2015-07-20 Thread Nicolas Goaziou
Hello, Mitchel Humpherys writes: > Its changelog says it's abandoned, it doesn't really do anything, and it > clashes with [1]. Rip it out. Thank you. Could you provide patch with a proper commit message, using format-patch? Regards, -- Nicolas Goaziou

Re: [O] meta commands and Info manual

2015-07-20 Thread Nicolas Goaziou
Hello, Alan Wehmann writes: > I am a new user of Org. I'm an experienced user of Emacs. My first use > of Org was to create a table. I soon found myself wanting to insert > a column. I looked at Info node "(org) Built-in table editor" [This > manual is for Org version 8.2.9.] and it said: > > ‘M

Re: [O] meta commands and Info manual

2015-07-20 Thread Nick Dokos
Nicolas Goaziou writes: > Hello, > > Alan Wehmann writes: > >> I am a new user of Org. I'm an experienced user of Emacs. My first use >> of Org was to create a table. I soon found myself wanting to insert >> a column. I looked at Info node "(org) Built-in table editor" [This >> manual is for Org

Re: [O] [org-babel] Problem using result of code block with eval no

2015-07-20 Thread Grant Rettke
Francesco how did this end up? I just tried it and couldn't reproduce that behavior. Org-Mode warned me that you can't evaluate block-id table2 so there is no result or value for the last heading. Grant Rettke -- g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.”