[O] Cannot export Latex to PDF when "Body Only" is "on"

2017-01-02 Thread Young-whan
There is no issue to export org to latex pdf when "Body Only" is "off" But, when "Body Only" is "on", the export is failed always. Comparing "Body Only" on and off case, the on-case doesn't have \documentclass or \usepackage headers. It looks it has only body and that's why converting pdf fails a

Re: [O] "cannot Revert nonexistent file" on odt export

2017-01-02 Thread Matt Price
Please ignore the noise. I had added the odt template to the file to be exported; it included the following line: #+ODT_STYLES_FILE: Which I guess overrode my setting for odt_styles_dir. solved. On Mon, Jan 2, 2017 at 8:59 PM, Matt Price wrote: > I tried and then reverted a very simple chang

[O] "cannot Revert nonexistent file" on odt export

2017-01-02 Thread Matt Price
I tried and then reverted a very simple change ot ox-odt.el -- I wanted to export a unicode symbol instead of [ ] for an empty checkbox. After this, odt export fails mysteriously with the following: Wrote /tmp/odt-3348W1J/meta.xml Using vacuous schema OpenDocument export failed: Cann

Re: [O] Bug: Cannot tangle bash source blocks [9.0 (release_9.0-237-gccf2b9 @ /usr/local/share/emacs/site-lisp/org/)]

2017-01-02 Thread Thomas S. Dye
Aloha David, David Dynerman writes: > I cannot tangle a bash source block (via ob-shell) that contains > variables. To reproduce, enter this into an org file: > > #+BEGIN_SRC bash :var HELLO="world" :tangle > echo $HELLO > #+END_SRC > > Then C-c C-v t RET > > This error is reported: > > org-babel

[O] Bug: Cannot tangle bash source blocks [9.0 (release_9.0-237-gccf2b9 @ /usr/local/share/emacs/site-lisp/org/)]

2017-01-02 Thread David Dynerman
I cannot tangle a bash source block (via ob-shell) that contains variables. To reproduce, enter this into an org file: #+BEGIN_SRC bash :var HELLO="world" :tangle echo $HELLO #+END_SRC Then C-c C-v t RET This error is reported: org-babel-tangle-single-block: Wrong number of arguments: (2 . 4)

[O] Opening a LibreOffice file

2017-01-02 Thread Karl Voit
Hi! I am unsure why but with my configuration, I can't open a LibreOffice odp file. By default, Emacs was showing me the content of the odp file as a ZIP file, which is technically true but not helpful. John Kitchin suggested setting org-file-apps manually. Here are the results: (setq org-file-

Re: [O] speeding up Babel Gnuplot

2017-01-02 Thread Thierry Banel
Le 02/01/2017 00:34, Nicolas Goaziou a écrit : > Hello, > > Thierry Banel writes: > >> 1. Temporary generated twice >> Because org-babel-gnuplot-process-vars is called twice. >> >> There is no obvious fix. Here is a dirty patch. It caches the name of >> the temporary file in the 'param' list. > Th

Re: [O] Subtree macro

2017-01-02 Thread Nicolas Goaziou
Hello, Ian Dunn writes: > Is there something like this macro in org? > > (defmacro org-with-subtree (&rest body) > "Evaluate BODY with the buffer narrowed to the current subtree." > (declare (debug (body))) > `(save-mark-and-excursion > (save-restriction >(org-narrow-to-subtre

[O] Subtree macro

2017-01-02 Thread Ian Dunn
Is there something like this macro in org? (defmacro org-with-subtree (&rest body) "Evaluate BODY with the buffer narrowed to the current subtree." (declare (debug (body))) `(save-mark-and-excursion (save-restriction (org-narrow-to-subtree) ,@body))) -- Ian Dunn

[O] Fast Opening of Memacs Indexed Files (was: Elisp: help on string operations for fast file visiting)

2017-01-02 Thread Karl Voit
* Karl Voit wrote: > Hi! > > For Memacs[1], I'd like to come up with a very fast Org-mode method to > open files independent of their location on your disk. With the help of John Kitchin, I am now able to present you the solution for the issue: http://karl-voit.at/2017/01/01/memacs-grep/