Re: [O] [PATCH] ob-shell

2014-06-23 Thread Pascal Fleury
Hi Achim, I was wondering how it would behave if the string that is put into a variable contains newlines, backslashes and other things that bash (and other shells) treats specially. The trick with cat and BABEL_TABLE is resistant to this. As in many cases (when I use it at least) the variable

[O] Latest Speed Keys D and U behavior

2014-06-23 Thread marcowahlsoft
Hi, In the past speed key D (analog U) on a headline moved the whole subtree down. In the latest org-mode version the effect of speed key D is to move the headline (and only just the headline) down. BTW this change of behavior is due to a change in `org-shiftmetadown' AFAICT. Is the user who

Re: [O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-23 Thread Rainer M Krug
Charles C. Berry ccbe...@ucsd.edu writes: On Fri, 20 Jun 2014, Rainer M Krug wrote: Attached please find =the reworked patch. 1) uses local() and closes connection 2) does not leave a variable cal;led file behind Seems to work on a few test cases. I'd move the strings to defconsts.

Re: [O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-23 Thread Rainer M Krug
One more question concerning the variable transfer of tables: , | (let ((file (orgtbl-to-tsv value '(:fmt org-babel-R-quote-tsv-field))) | (header (if (or (eq (nth 1 value) 'hline) colnames-p) | TRUE FALSE)) | (row-names (if rownames-p 1

Re: [O] [patch, ox-latex] org-latex-logfiles-extensions

2014-06-23 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: The attached patch adds more extensions to `org-latex-logfiles-extensiosn' that shows up when using latexmk and beamer. Applied. Thank you. [...] Note: while I personally very much like this feature the default non-nil value of

Re: [O] [Bug] element cache problem with repeating timestamps

2014-06-23 Thread Nicolas Goaziou
Hello, Matt Lundin m...@imapmail.org writes: A recent git pull broke logging with repeating todos. I'm guessing this has something to do with one of the recent changes to the org element cache, since setting org-element-use-cache to nil solves the problem. Recipe to replicate: 1.

Re: [O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-23 Thread Rainer M Krug
Charles C. Berry ccbe...@ucsd.edu writes: V On Fri, 20 Jun 2014, Rainer M Krug wrote: Attached please find =the reworked patch. 1) uses local() and closes connection 2) does not leave a variable cal;led file behind Seems to work on a few test cases. I'd move the strings to defconsts.

Re: [O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-23 Thread Rainer M Krug
Aaron Ecay aarone...@gmail.com writes: Hi Rainer, 2014ko ekainak 21an, Charles C. Berry-ek idatzi zuen: On Fri, 20 Jun 2014, Rainer M Krug wrote: Attached please find =the reworked patch. 1) uses local() and closes connection 2) does not leave a variable cal;led file behind

Re: [O] [Bug] element cache problem with repeating timestamps

2014-06-23 Thread Matt Lundin
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Matt Lundin m...@imapmail.org writes: A recent git pull broke logging with repeating todos. I'm guessing this has something to do with one of the recent changes to the org element cache, since setting org-element-use-cache to nil

Re: [O] Latest Speed Keys D and U behavior

2014-06-23 Thread Matt Lundin
marcowahls...@gmail.com writes: Hi, In the past speed key D (analog U) on a headline moved the whole subtree down. In the latest org-mode version the effect of speed key D is to move the headline (and only just the headline) down. BTW this change of behavior is due to a change in

Re: [O] Latest Speed Keys D and U behavior

2014-06-23 Thread Bastien
Hi Matt, Matt Lundin m...@imapmail.org writes: I can confirm this bug. Applied in master, with a slightly modified changelog, thanks -- Bastien

Re: [O] Latest Speed Keys D and U behavior

2014-06-23 Thread Bastien
Hi Marco, marcowahls...@gmail.com writes: Is the user who wants the old behavior back supposed to configure `org-speed-commands-user' with `org-metadown'? Nope -- reporting weird new behavior like you did will do :) Thanks for this, -- Bastien

[O] Source blocks with captions

2014-06-23 Thread Alexander Baier
Hello org-moders! I just tried to put a caption under/on/above (or anywhere for that matter) my source code block. When exporting to latex, I didn't see any caption belonging to my code block. Other backends have not been tried. How can I achieve this? For reference, I run Org-mode version

Re: [O] Source blocks with captions

2014-06-23 Thread Thorsten Jolitz
Alexander Baier alexander.ba...@mailbox.org writes: Hello org-moders! I just tried to put a caption under/on/above (or anywhere for that matter) my source code block. When exporting to latex, I didn't see any caption belonging to my code block. Other backends have not been tried. How can

Re: [O] [Babel] [possible bug] Empty src block prevents other block to expand

2014-06-23 Thread Charles Berry
Nicolas Girard girard.nicolas at gmail.com writes: The empty src block at the beginning of the following file prevents capture-tmpl to expand when tangling. I think the diagnosis is incorrect. The empty source block has no effect. Adding ':noweb yes' to `capture's header args fixes

Re: [O] [Babel] [possible bug] Empty src block prevents other block to expand

2014-06-23 Thread Nicolas Girard
2014-06-23 17:56 GMT+02:00 Charles Berry ccbe...@ucsd.edu: Nicolas Girard girard.nicolas at gmail.com writes: I think the diagnosis is incorrect. The empty source block has no effect. Adding ':noweb yes' to `capture's header args fixes things. Charles, thanks for your feedback. I've

Re: [O] [PATCH] ob-shell

2014-06-23 Thread Achim Gratz
Pascal Fleury writes: I was wondering how it would behave if the string that is put into a variable contains newlines, backslashes and other things that bash (and other shells) treats specially. Exactly like it does with the earlier method, except it doesn't fork and doesn't require certain

Re: [O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-23 Thread Charles C. Berry
On Mon, 23 Jun 2014, Rainer M Krug wrote: One more question concerning the variable transfer of tables: , | (let ((file (orgtbl-to-tsv value '(:fmt org-babel-R-quote-tsv-field))) | (header (if (or (eq (nth 1 value) 'hline) colnames-p) | TRUE

Re: [O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-23 Thread Charles C. Berry
On Mon, 23 Jun 2014, Rainer M Krug wrote: Charles C. Berry ccbe...@ucsd.edu writes: V On Fri, 20 Jun 2014, Rainer M Krug wrote: Attached please find =the reworked patch. 1) uses local() and closes connection 2) does not leave a variable cal;led file behind [deleted] OK - attached

Re: [O] Source blocks with captions

2014-06-23 Thread Alexander Baier
On 2014-06-23 17:43 Thorsten Jolitz wrote: Alexander Baier alexander.ba...@mailbox.org writes: Hello org-moders! I just tried to put a caption under/on/above (or anywhere for that matter) my source code block. When exporting to latex, I didn't see any caption belonging to my code block.

Re: [O] [PATCH] ob-shell: honor the specified shell for :session

2014-06-23 Thread Achim Gratz
Eric Schulte writes: I thought that `org-babel-sh-command' was still used if code blocks used the keyword shell as the language. If that's not the case and there really is no more use for `org-babel-sh-command', then please go ahead and apply this patch. Done on master. In the case you

Re: [O] Source blocks with captions

2014-06-23 Thread Thomas S. Dye
Aloha Alexander, Alexander Baier alexander.ba...@mailbox.org writes: On 2014-06-23 17:43 Thorsten Jolitz wrote: Alexander Baier alexander.ba...@mailbox.org writes: Hello org-moders! I just tried to put a caption under/on/above (or anywhere for that matter) my source code block. When

Re: [O] [ANN] ox-extras

2014-06-23 Thread Nicolas Goaziou
Hello, Aaron Ecay aarone...@gmail.com writes: you will be able to use blocks of the following form: #+header: :header yes #+begin_latex \foo{} \bar{} #+end_latex These will be transformed so that the begin/end wrapper is removed and each line is prepended with #+latex_header: on

Re: [O] [PATCH] ob-shell

2014-06-23 Thread Achim Gratz
[re-sent, sorry if you get this twice] Eric Schulte writes: If this maintains existing functionality, please go ahead and apply it. Done on master. The tests are left untouched, I will not have time to do anything there for the next few days. Any helping hand is welcome. Regards, Achim. --

[O] impossible to have footnote touching verbatim

2014-06-23 Thread Eric Schulte
Hi, I'm writing a document in which I use footnotes to hold references to many tools. One often wants the tool name in tt font, and the footnote to be touching the tool name (i.e. =tool=[fn:1] ). Unfortunately currently Org-mode doesn't fontify or export tool in the above as tt. Is there a way

Re: [O] impossible to have footnote touching verbatim

2014-06-23 Thread Nicolas Goaziou
Hello, Eric Schulte schulte.e...@gmail.com writes: I'm writing a document in which I use footnotes to hold references to many tools. One often wants the tool name in tt font, and the footnote to be touching the tool name (i.e. =tool=[fn:1] ). Unfortunately currently Org-mode doesn't

[O] unattractive list spacing in ox-html export

2014-06-23 Thread Eric Schulte
Hi, When the lists with spaces in some (but not all) elements are exported to HTML, they result in unattractive spacing. This is due to the use of paragraph tags in some list elements, which cause large spaces between some list elements but no spaces between others. I believe something should

Re: [O] helm and org-refile

2014-06-23 Thread Michael Bach
On 6/17/14 12:20 PM, Eric Abrahamsen wrote: Hi there, I just started using helm, with some ambivalence. Turning on helm mode stompled all over my emacs, but for just that reason I suppose it might be worth trading my ido muscle memory for helm muscle memory. Anyhoo... The only thing it

Re: [O] impossible to have footnote touching verbatim

2014-06-23 Thread Eric Schulte
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Eric Schulte schulte.e...@gmail.com writes: I'm writing a document in which I use footnotes to hold references to many tools. One often wants the tool name in tt font, and the footnote to be touching the tool name (i.e. =tool=[fn:1] ).

Re: [O] unattractive list spacing in ox-html export

2014-06-23 Thread Nicolas Goaziou
Hello, Eric Schulte schulte.e...@gmail.com writes: When the lists with spaces in some (but not all) elements are exported to HTML, they result in unattractive spacing. This is due to the use of paragraph tags in some list elements, which cause large spaces between some list elements but no

Re: [O] [ANN] ox-extras

2014-06-23 Thread Thomas S. Dye
Aloha all, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Aaron Ecay aarone...@gmail.com writes: you will be able to use blocks of the following form: #+header: :header yes #+begin_latex \foo{} \bar{} #+end_latex These will be transformed so that the begin/end wrapper is

Re: [O] unattractive list spacing in ox-html export

2014-06-23 Thread Achim Gratz
Eric Schulte writes: I believe something should be done to ensure consistent spacing in the HTML export of list elements. I'd suggest that every list element should be wrapped in a paragraph tag, but maybe a different solution is more appropriate. Setting the spacing for paragraphs within a

Re: [O] impossible to have footnote touching verbatim

2014-06-23 Thread Nicolas Goaziou
Eric Schulte schulte.e...@gmail.com writes: Should this be done personally or in master? I can't think of a case where it could lead to confusion, so I'd say it can go in master, at least until someone complains, if ever. BTW, as a reminder, I'm all for thinking again how emphasis/verbatim

Re: [O] unattractive list spacing in ox-html export

2014-06-23 Thread Eric Schulte
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Eric Schulte schulte.e...@gmail.com writes: When the lists with spaces in some (but not all) elements are exported to HTML, they result in unattractive spacing. This is due to the use of paragraph tags in some list elements, which

Re: [O] unattractive list spacing in ox-html export

2014-06-23 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: I believe something should be done to ensure consistent spacing in the HTML export of list elements. I'd suggest that every list element should be wrapped in a paragraph tag, but maybe a different solution is more appropriate.

Re: [O] impossible to have footnote touching verbatim

2014-06-23 Thread Eric Schulte
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Eric Schulte schulte.e...@gmail.com writes: Should this be done personally or in master? I can't think of a case where it could lead to confusion, so I'd say it can go in master, at least until someone complains, if ever. Done. Thanks -- Eric

Re: [O] helm and org-refile

2014-06-23 Thread Eric Abrahamsen
Michael Bach pha...@gmail.com writes: On 6/17/14 12:20 PM, Eric Abrahamsen wrote: Hi there, I just started using helm, with some ambivalence. Turning on helm mode stompled all over my emacs, but for just that reason I suppose it might be worth trading my ido muscle memory for helm muscle

Re: [O] unattractive list spacing in ox-html export

2014-06-23 Thread Nicolas Goaziou
Eric Schulte schulte.e...@gmail.com writes: +;; every subsequent list element is a single element long You need to start with a capital and a final period. Also, it could be merged with the comment below. E.g., Paragraphs have no tag when any item in current list is either empty or

Re: [O] unattractive list spacing in ox-html export

2014-06-23 Thread Eric Schulte
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Eric Schulte schulte.e...@gmail.com writes: + ;; every subsequent list element is a single element long You need to start with a capital and a final period. Also, it could be merged with the comment below. E.g., Paragraphs have no tag