[O] Very minimal async export example does not work

2013-10-29 Thread Miguel Ruiz
I'm trying to get a very minimal example of async export working. Can you help me? I'm running out of ideas. TIA WindowsXP-SP3, Emacs 24.3, Org [8.2.1 (release_8.2.1-134-g8b264d @ c:/org-mode/lisp/)] #+BEGIN_SRC command-line emacs -Q -l minimal-org.el #+END_SRC #+BEGIN_SRC

Re: [O] Temp files are not deleted after beamer export with source code blocks

2013-10-29 Thread Nicolas Goaziou
Hello, James Harkins jamshar...@gmail.com writes: I've set org-latex-listings to Use listings (not minted), and then run this minimal example. [...] Now there is a file beamer-listings-2.vrb containing the LaTeX code for the second frame. This file never gets deleted. As I'm developing

Re: [O] Very minimal async export example does not work

2013-10-29 Thread Nicolas Goaziou
Hello, Miguel Ruiz rbeni...@yahoo.es writes: I'm trying to get a very minimal example of async export working. For some reason `org-export-async-init-file' is set to nil, which is not allowed (at the moment). Try setting it to minimal-org.el (full path) instead. Regards, -- Nicolas Goaziou

Re: [O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters

2013-10-29 Thread Nicolas Goaziou
Hello, Aaron Ecay aarone...@gmail.com writes: Thanks for the patch. This brings the parser in line with the Org Syntax as documented on Worg: http://orgmode.org/worg/dev/org-syntax.html#Greater_Blocks. Besides this reason (which could also be solved by updating Org Syntax document), do you

Re: [O] [PATCH 1/3] Mark ox-latex variables safe locals under proper conditions

2013-10-29 Thread Nicolas Goaziou
Hello, Aaron Ecay aarone...@gmail.com writes: * lisp/ox-latex.el (org-latex-with-hyperref, org-latex-default-table-mode, org-latex-tables-booktabs, org-latex-tables-centered, org-latex-table-caption-above, org-latex-listings): add safe local variable properties Thanks for the patch. It is

Re: [O] org-clock-save.el state unwanted Resume clock prompt

2013-10-29 Thread Sebastien Vauban
Hello Jeff, Jeff Kowalczyk wrote: When opening any org mode files or using M-x org-mode on a buffer, I get the following prompt: : Resume clock (bsmith re: status update) (y or n) n Which refers to a specific heading in one specific org file, used all day most days. : ** DONE bsmith re:

Re: [O] [RFC] Slight change to asynchronous export

2013-10-29 Thread Nicolas Goaziou
Hello, Achim Gratz strom...@nexgo.de writes: Nicolas Goaziou writes: At the moment, by default, external emacs process for asynchronous export is called with: /path/to/emacs -Q --batch -l org-export-async-init-file ... export stuff... where `org-export-async-init-file' defaults to

Re: [O] [PATCH] fix org-insert-todo-heading-respect-content in plain list item

2013-10-29 Thread Nicolas Goaziou
Hello, Ingo Lohmar i.loh...@gmail.com writes: Hi Nicolas, sure: emacs -q -nw, and in the scratch buffer (add-to-list 'load-path ~/src/org-mode/lisp/) ;refer to HEAD as of yesterday (org-mode) ;and enter/paste: * test - an -!- item - another one Then, with the cursor at -!- (for

Re: [O] Very minimal async export example does not work

2013-10-29 Thread Miguel Ruiz
Thank you so much, Nicolas. For your reference, I had to add (setq org-export-async-debug t) as well. So this is my minimal-org.el #+BEGIN_SRC emacs-lisp ;;; Minimal setup to load latest `org-mode' and to make async export working ;; activate debugging (setq debug-on-error  t  

Re: [O] Temp files are not deleted after beamer export with source code blocks

2013-10-29 Thread James Harkins
On Tuesday, October 29, 2013 5:06:29 PM KST, Nicolas Goaziou wrote: It should clean them up. Though, the -2 suffix implies that a regexp is needed to find temporary files. Does the following patch work? Will have to try later... some time pressure right now. An aside: in the last few weeks,

Re: [O] [RFC] Slight change to asynchronous export

2013-10-29 Thread Rasmus
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, BTW, is there no possibility of doing the same with emacsclient (but with no visible buffer)? That'd drop the startup time of Emacs. But, once again, that's not a problem per se, as it's async. It's for my own understanding. No, that's

Re: [O] [RFC] Slight change to asynchronous export

2013-10-29 Thread Rasmus
Nicolas Goaziou writes: At the moment, by default, external emacs process for asynchronous export is called with: /path/to/emacs -Q --batch -l org-export-async-init-file ... export stuff... where `org-export-async-init-file' defaults to `user-init-file'. It is, by default, not the same

Re: [O] [RFC] [export] synctex support for ox-latex

2013-10-29 Thread Rasmus
Hi Aaron, Thanks for your work on this patch. Aaron Ecay aarone...@gmail.com writes: It is very simple to use: load the file, and then M-x ox-synctex-activate. Now every time you export latex to a pdf, the code will patch the resultant synctex file so you can jump from a pdf viewer to the

Re: [O] Temp files are not deleted after beamer export with source code blocks

2013-10-29 Thread Nicolas Goaziou
Hello, James Harkins jamshar...@gmail.com writes: On Tuesday, October 29, 2013 5:06:29 PM KST, Nicolas Goaziou wrote: It should clean them up. Though, the -2 suffix implies that a regexp is needed to find temporary files. Does the following patch work? Will have to try later... some time

Re: [O] [RFC] Slight change to asynchronous export

2013-10-29 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: My understanding of Sebastien's question is whether you could run async with a new Emacs server, with `server-name' slave say. It would only allow one process at the time, but it would also only load init once. It would also leave another emacs server

Re: [O] [RFC] Change some defcustoms into defcont

2013-10-29 Thread Nicolas Goaziou
Hello, Carsten Dominik drostekirs...@gmail.com writes: So: IF YOU HAVE CUSTOMIZED any of this variables, I'd like to hear about it. Otherwise, I now think that the proposal is actually good and should move ahead. Here is the suggested patch. Regards, -- Nicolas Goaziou From

Re: [O] [RFC] Change some defcustoms into defcont

2013-10-29 Thread Nicolas Goaziou
Correcting myself, Here is the suggested patch. I forgot `org-effort-property'. Also, the new version moves `org-latex-regexps' from defvar to defconst status. -- Nicolas Goaziou From d002525910b6fbeaec530138494bf43397be200b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou n.goaz...@gmail.com

Re: [O] [PATCH] Longtable continuation strings customizable

2013-10-29 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: Nicolas Goaziou n.goaz...@gmail.com writes: Am I missing something? An example filter? (defun my-personal-table-continuation-strings (row backend info) (when (org-export-derived-backend-p 'latex) (replace-regexp-in-string

[O] export to odt, change the default font.

2013-10-29 Thread Uwe Brauer
Hello I am searching the docs in order to configure the odt-export function. I cannot find anything concerning fonts. I would like to have hebrew text exported using a particular font. Can anybody give me a hint? thanks Uwe Brauer

[O] [PATCH] ox-latex: Don't quote const in defcustom.

2013-10-29 Thread Rüdiger Sonderfeld
Quoting it would set `org-export-latex' not to `minted' but `(quote minted)' and thus breaking the export. * lisp/ox-latex.el (org-latex-listings): Don't quote const value. Signed-off-by: Rüdiger Sonderfeld ruedi...@c-plusplus.de --- lisp/ox-latex.el | 2 +- 1 file changed, 1 insertion(+), 1

[O] [PATCH] Re: [BUG] org-cycle on hidden inline task makes also other inline tasks visible

2013-10-29 Thread Jonas Hörsch
hi, ok, this has been bothering me long enough. the attached patch fixes the issue [1] for me. cheers, jonas Footnotes: [1] http://thread.gmane.org/gmane.emacs.orgmode/76034 From 3073cb181f607a0cc65031fe68e86cf73347e152 Mon Sep 17 00:00:00 2001 From: Jonas Hoersch co...@online.de Date: Tue, 29

Re: [O] [RFC] Slight change to asynchronous export

2013-10-29 Thread Rick Frankel
On 2013-10-29 04:35, Nicolas Goaziou wrote: Achim Gratz strom...@nexgo.de writes: Nicolas Goaziou writes: At the moment, by default, external emacs process for asynchronous export is called with: /path/to/emacs -Q --batch -l org-export-async-init-file ... export stuff... where

Re: [O] List items, HTML export

2013-10-29 Thread Rick Frankel
On 2013-10-27 15:34, Fabrice Popineau wrote: Hi, Is it possible to set class/id on exported UL and LI elements ? If there is a list with 2 levels, is it possible to set it independently ? Not currently, but in css you can reference the list and sub-list from the id of it's wrapper div:

Re: [O] table export-as-html from a simple list

2013-10-29 Thread Rick Frankel
On 2013-10-28 22:53, ishi soichi wrote: Emacs 24.3 org-mode 7.8.11 I am trying to export org file into html, and the result html needs to show a table rather than a list. I understand that |-+-| |     |       | |     |       | would export itself into a table.  But this form of

Re: [O] Insert a heading in every sibling

2013-10-29 Thread John Kitchin
I worked out some emacs-lisp code that does some of what you want. It was a little tricky though to avoid some strange recursion loops. See this post: http://jkitchin.github.io/blog/2013/10/29/Add-subheadings-to-all-headings-in-an-org-file-at-some-level/ j John

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-10-29 Thread Cook, Malcolm
Hi Aaron, Can I re-open this thread to discuss two new issues I now experience with emacs 24.3.1 and orgmode version 8.2.1 in the handling of svg = tex = pdf ? Here goes: 1) If the plot has text in it which contains a percent character (%), then we fail due to

Re: [O] [PATCH] ox-latex: Don't quote const in defcustom.

2013-10-29 Thread Nicolas Goaziou
Hello, Rüdiger Sonderfeld ruedi...@c-plusplus.de writes: Quoting it would set `org-export-latex' not to `minted' but `(quote minted)' and thus breaking the export. * lisp/ox-latex.el (org-latex-listings): Don't quote const value. Signed-off-by: Rüdiger Sonderfeld ruedi...@c-plusplus.de

Re: [O] [PATCH] ox-latex: Don't quote const in defcustom.

2013-10-29 Thread Nicolas Goaziou
Rüdiger Sonderfeld ruedi...@c-plusplus.de writes: On Tuesday 29 October 2013 20:34:04 Nicolas Goaziou wrote: Have you signed FSF papers? Yes. OK. I applied your patch and updated information on Worg. Thank you again. Regards, -- Nicolas Goaziou

Re: [O] [PATCH] Re: [BUG] org-cycle on hidden inline task makes also other inline tasks visible

2013-10-29 Thread Nicolas Goaziou
Hello, co...@online.de (Jonas Hörsch) writes: ok, this has been bothering me long enough. the attached patch fixes the issue [1] for me. Thank you for your patch. From 3073cb181f607a0cc65031fe68e86cf73347e152 Mon Sep 17 00:00:00 2001 From: Jonas Hoersch co...@online.de Date: Tue, 29 Oct

Re: [O] List items, HTML export

2013-10-29 Thread Fabrice Popineau
Thanks for the example! Ok, the css is the way to go. Fabrice 2013/10/29 Rick Frankel r...@rickster.com On 2013-10-27 15:34, Fabrice Popineau wrote: Hi, Is it possible to set class/id on exported UL and LI elements ? If there is a list with 2 levels, is it possible to set it

Re: [O] [PATCH] Re: [BUG] org-cycle on hidden inline task makes also other inline tasks visible

2013-10-29 Thread Jonas Hörsch
Hej, On Tue, Oct 29 2013, Nicolas Goaziou wrote: You need to detail which function is modified and how. Also, if you haven't signed FSF papers, you need to add TINYCHANGE at the end of the message. thanks for bearing with me. is this alright? From 1c6e67b06d0eb22c6d79387c8c6d07c23500f91d

Re: [O] [PATCH] Re: [BUG] org-cycle on hidden inline task makes also other inline tasks visible

2013-10-29 Thread Nicolas Goaziou
Jonas Hörsch co...@online.de writes: On Tue, Oct 29 2013, Nicolas Goaziou wrote: You need to detail which function is modified and how. Also, if you haven't signed FSF papers, you need to add TINYCHANGE at the end of the message. thanks for bearing with me. is this alright? It is. I

[O] [PATCH] Table continuation strings

2013-10-29 Thread Thomas S. Dye
Aloha all, Patch includes table continuation strings for several languages. Translations all from the internet. Caveat emptor. All the best, Tom From 0c551e51f5eff759957a415d7d29a830b43631d2 Mon Sep 17 00:00:00 2001 From: Thomas Dye t...@tsdye.com Date: Tue, 29 Oct 2013 14:39:48 -1000 Subject:

Re: [O] table export-as-html from a simple list

2013-10-29 Thread ishi soichi
thanks for your answer. it was helpful. 2013/10/30 Rick Frankel r...@rickster.com On 2013-10-28 22:53, ishi soichi wrote: Emacs 24.3 org-mode 7.8.11 I am trying to export org file into html, and the result html needs to show a table rather than a list. I understand that |-+-|

Re: [O] [PATCH 2/2] babel: don’t add babel eval to the session’s comint input ring

2013-10-29 Thread Eric Schulte
Very nice. Thank you for this patch. Applied. Aaron Ecay aarone...@gmail.com writes: * lisp/ob-comint.el (org-babel-comint-in-buffer): don’t add to comint-input-ring Previously, babel code would be added to the comint input ring of a babel session, making interactive use of the session

Re: [O] [PATCH 2/3] Mark some org-babel variables as safe locals under proper conditions

2013-10-29 Thread Eric Schulte
Could you add documentation strings to `org-babel-one-header-arg-safe-p' and `org-babel-one-header-arg-safe-p'? Also, would the header argument list in the latter be better as a defvar which ob-*.el files could let-bind to add their own additional safe header arguments? Thanks, Aaron Ecay

Re: [O] [PATCH 3/3] mark o-b-default-header-args:R as a safe local under proper conditions

2013-10-29 Thread Eric Schulte
I think `mapcar' should be replaced with `org-every'. Otherwise wouldn't *every* list value for `org-babel-default-header-args:R' be safe? Additionally, I think this should be done in a way which can be easily repeated across every ob-*.el file. Thanks, Aaron Ecay aarone...@gmail.com writes:

Re: [O] [PATCH 1/2] clean up two macros in ob-comint

2013-10-29 Thread Eric Schulte
Applied, thanks! Aaron Ecay aarone...@gmail.com writes: * lisp/ob-comint.el (org-babel-comint-with-output, org-babel-comint-in-buffer): clean up code. This patch replaces some deeply nested ca/dr calls with ‘nth’, and replaces a setq/unwind-protect/setq incantation with a simple let

Re: [O] [PATCH 1/3] Mark ox-latex variables safe locals under proper conditions

2013-10-29 Thread Aaron Ecay
Hi Nicolas, 2013ko urriak 29an, Nicolas Goaziou-ek idatzi zuen: [...] Thanks for the patch. It is interesting. Out of curiosity, why did you skip other variables (e.g. org-latex-footnote-separator)? Because these variables insert arbitrary latex code into the export output, they could

Re: [O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters

2013-10-29 Thread Aaron Ecay
Hi Nicolas, 2013ko urriak 29an, Nicolas Goaziou-ek idatzi zuen: [...] This brings the parser in line with the Org Syntax as documented on Worg: http://orgmode.org/worg/dev/org-syntax.html#Greater_Blocks. Besides this reason (which could also be solved by updating Org Syntax document), do

Re: [O] [PATCH 2/3] Mark some org-babel variables as safe locals under proper conditions

2013-10-29 Thread Aaron Ecay
Hi Eric, Thanks for the feedback. You are right that this could be more extensible. I’m attaching a new version of patches #2 and 3 to this email, which should be an improvement on that front. I also added docstrings, and a test. Aaron PS You were right about org-every vs. mapcar in your

[O] Query about org-beamer-select-environment

2013-10-29 Thread John Hendy
Greetings, I went to access the BEAMER_act property via C-c C-b and see it's not listed in the minibuffer choices (attached) The manual describes this function like so:[1] C-c C-b (org-beamer-select-environment)In org-beamer-mode, this key offers fast selection of a Beamer environment or