Re: [O] Bug: [babel] #+PROPERTY: eval never-export disables interactive evaluation [8.2.5h (release_8.2.5h-806-gb1199e at /Users/rainerkrug/.emacs.d/org-mode/lisp/)]

2014-03-27 Thread Rainer M Krug
Charles Berry ccbe...@ucsd.edu writes: Rainer M Krug Rainer at krugs.de writes: The subject says it all - when I set #+PROPERTY: eval never-export the interactive evaluation of R code blocks is disabled. Message: Evaluation of this R code-block is disabled. [rest deleted]

Re: [O] Reverse lookup from pdf to org?

2014-03-27 Thread Rainer M Krug
Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Tue, Mar 25, 2014 at 11:07:54AM +0100, Rainer M Krug wrote: Hi I am working on a longish document which will be converted to pdf, and I am doing debugging of scripts at the moment. Therefore I export the document to pdf, and look for

[O] ignoreheading in LaTeX export

2014-03-27 Thread Alan Schmitt
Hello, I need to ignore a heading during a LaTeX export (I don't want the section command to be generated, but I need the text to be included; the heading is there because the previous one is tagged with export). I found this solution:

Re: [O] Export Org checkboxes in ox-html using UTF-8 symbols

2014-03-27 Thread Nicolas Goaziou
Hello, Grant Rettke g...@wisdomandwonder.com writes: Sacha Chua made a nice hack to export checkboxes as unicode symbols to HTML here: http://sachachua.com/blog/2014/03/emacs-tweaks-export-org-checkboxes-using-utf-8-symbols/?shareadraft=baba27119_533313c944f64 (defun

Re: [O] ignoreheading in LaTeX export

2014-03-27 Thread Nicolas Goaziou
Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I need to ignore a heading during a LaTeX export (I don't want the section command to be generated, but I need the text to be included; the heading is there because the previous one is tagged with export). I found this solution:

Re: [O] Reverse lookup from pdf to org?

2014-03-27 Thread Suvayu Ali
On Thu, Mar 27, 2014 at 09:18:43AM +0100, Rainer M Krug wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Tue, Mar 25, 2014 at 11:07:54AM +0100, Rainer M Krug wrote: Hi I am working on a longish document which will be converted to pdf, and I am doing debugging of scripts at

Re: [O] Reverse lookup from pdf to org?

2014-03-27 Thread Rainer M Krug
Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Thu, Mar 27, 2014 at 09:18:43AM +0100, Rainer M Krug wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Tue, Mar 25, 2014 at 11:07:54AM +0100, Rainer M Krug wrote: Hi I am working on a longish document which will be converted to

Re: [O] Reverse lookup from pdf to org?

2014-03-27 Thread Rainer M Krug
Brett Viren b...@bnl.gov writes: Nick Dokos ndo...@gmail.com writes: One more (half-)possibility is as follows: produce the tex file and compile it not with pdflatex, but with plain latex, producing a DVI file. Passing the -src option to the latex invocation inserts source specials into the

Re: [O] No link found on links in drawers

2014-03-27 Thread Bastien
Hi Karl, Karl Voit devn...@karl-voit.at writes: I am using custom links like [[photo:FirstnameLastname.jpg]] in my contacts.org. Those links stopped working recently. Whenever I try to click or C-c C-c the link, I get user-error: No link found. This is a known issue, related to the recent

Re: [O] Org-default face?

2014-03-27 Thread Bastien
Hi Sébastien, Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: Some time ago, the flowing text inside Org buffers was rendered in the `org-default' face. It isn't the case anymore. Is it a bug on my side? You can turn the use of the 'org-default face on with M-x

Re: [O] [PATCH] Add catch-up all LaTeX errors

2014-03-27 Thread Nicolas Goaziou
Hello, Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: FWIW, I'm using this in some export code I have: (let* ((orgfile (buffer-file-name)) (base-name (file-name-base orgfile)) (htmlfile (concat base-name .html))

Re: [O] [PATCH] Add catch-up all LaTeX errors

2014-03-27 Thread Sebastien Vauban
Hello, Nicolas Goaziou wrote: Sebastien Vauban writes: FWIW, I'm using this in some export code I have: (let* ((orgfile (buffer-file-name)) (base-name (file-name-base orgfile)) (htmlfile (concat base-name .html)) (pdffile (concat base-name

Re: [O] [PATCH] Add catch-up all LaTeX errors

2014-03-27 Thread Francesco Pizzolante
Hi Nicolas, IOW, it cannot tell the difference between a successful export and an export failure with an already existing PDFFILE. This is not true as this code checks for the `errors' variable in all cases. With an already existing PDFFILE, you will end up with this message: 'Process

Re: [O] ignoreheading in LaTeX export

2014-03-27 Thread Sebastien Vauban
Nicolas Goaziou wrote: Alan Schmitt alan.schm...@polytechnique.org writes: I need to ignore a heading during a LaTeX export You can use a hook or a filter to remove the headline. I would use a hook in this case. Could you explain why you would choose a hook? What's guiding your choice?

Re: [O] [PATCH] Add catch-up all LaTeX errors

2014-03-27 Thread Francesco Pizzolante
Hi Charles, First, I have subsequent messages in this thread and the discussion. Should Nick's observation, that IOW, it cannot tell the difference between a successful export and an export failure with an already existing PDF also include the qualification that the existing PDF file is

Re: [O] ignoreheading in LaTeX export

2014-03-27 Thread Nicolas Goaziou
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: Could you explain why you would choose a hook? What's guiding your choice? The fact that I work in the Org buffer and can use `org-map-entries', which trivializes the problem here. OTOH, a filter works at the LaTeX

[O] Warning when make in git

2014-03-27 Thread Rainer M Krug
Hi I get the following warning when using make in my org-git: , | $ make | . | . | . | Done (Total of 108 files compiled, 3 skipped) | /Applications/Xcode.app/Contents/Developer/usr/bin/make -C doc info | org-version: 8.2.5h (release_8.2.5h-864-g3e5fc4) | makeinfo --no-split org.texi -o org

Re: [O] ignoreheading in LaTeX export

2014-03-27 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I need to ignore a heading during a LaTeX export (I don't want the section command to be generated, but I need the text to be included; the heading is there because the previous one is

Re: [O] Chaining strings between babel blocks: why so many '\'?

2014-03-27 Thread Alan Schmitt
Hello Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I've been playing with block chaining to generate some dot file then to export then as images. I had a little trouble finding the number of '\' I need to put in front of a

Re: [O] ignoreheading in LaTeX export

2014-03-27 Thread Nicolas Goaziou
Alan Schmitt alan.schm...@polytechnique.org writes: Thanks a lot for the suggestion, here is what I ended up doing: #+begin_src emacs-lisp (defun as/delete-ignored-heading (backend) Remove every headline with a tag `ignoreheading' in the current buffer. BACKEND is the export

[O] what function to use to normalize date to org format?

2014-03-27 Thread Mirko
Hello, Is there a public function that can accept a string such as 3/4/5 (US Format) and normalize it to [2005-03-04 Fri]?. I need it for a bit of helper code. Thanks, Mirko

Re: [O] Warning when make in git

2014-03-27 Thread Andrea Rossetti
Rainer M Krug Rainer at krugs.de writes: ... | makeinfo --no-split org.texi -o org | org.texi:15: warning: unrecognized encoding name `UTF-8'. ` Is this something in my setup? Should I worry? My guess: could it be that you have an old version of makeinfo/texinfo, not supporting UTF-8

Re: [O] Warning when make in git

2014-03-27 Thread Rainer M Krug
Andrea Rossetti andrea.rosse...@gmail.com writes: Rainer M Krug Rainer at krugs.de writes: ... | makeinfo --no-split org.texi -o org | org.texi:15: warning: unrecognized encoding name `UTF-8'. ` Is this something in my setup? Should I worry? My guess: could it be that you have an

Re: [O] Warning when make in git

2014-03-27 Thread Andrea Rossetti
Rainer M Krug Rainer at krugs.de writes: ... This is the version info - I did not install an old one on my mac: , | $ makeinfo --version | makeinfo (GNU texinfo) 4.8 | | Copyright (C) 2004 Free Software Foundation, Inc. ... I guess the texinfo version is too old for UTF-8: you may

Re: [O] ignoreheading in LaTeX export

2014-03-27 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: I suggest to use the dedicated MATCH argument for `org-map-entries': (defun as/delete-ignored-heading (backend) Remove every headline with a tag `ignoreheading' in the current buffer. BACKEND is the export back-end being used, as a

Re: [O] Reverse lookup from pdf to org?

2014-03-27 Thread Brett Viren
Rainer M Krug rai...@krugs.de writes: Brett Viren b...@bnl.gov writes: file:///path/to/foo.tex.orglink?line=42 But jumping to the .org file would be the aim - right? Yes, right. Maybe a better example is: file://foo.orglink?line=42 which might get interpreted as go to line 42 in

[O] recent changes in COMMENT and tangling?

2014-03-27 Thread Alan Schmitt
Hello, Have there been recent changes regarding the COMMENT keyword and tangling? I just saw some blocks whose grand parent is a comment being tangled in my configuration file. Here is an ECM. If you `org-babel-load-file' this file: --8---cut

Re: [O] Warning when make in git

2014-03-27 Thread Rainer M Krug
Andrea Rossetti andrea.rosse...@gmail.com writes: Rainer M Krug Rainer at krugs.de writes: ... This is the version info - I did not install an old one on my mac: , | $ makeinfo --version | makeinfo (GNU texinfo) 4.8 | | Copyright (C) 2004 Free Software Foundation, Inc. ... I

Re: [O] Reverse lookup from pdf to org?

2014-03-27 Thread Rainer M Krug
Brett Viren b...@bnl.gov writes: Rainer M Krug rai...@krugs.de writes: Brett Viren b...@bnl.gov writes: file:///path/to/foo.tex.orglink?line=42 But jumping to the .org file would be the aim - right? Yes, right. Maybe a better example is: file://foo.orglink?line=42 calling , |

Re: [O] Reverse lookup from pdf to org?

2014-03-27 Thread Nick Dokos
Rainer M Krug rai...@krugs.de writes: calling , | emacs +42 foo.org ` should open the file foo.org and put the cursor in line 42. In most cases, it would be better to use emacsclient, otherwise you might end up with many emacs instances; but more importantly perhaps, using

Re: [O] Reverse lookup from pdf to org?

2014-03-27 Thread Rainer M Krug
Nick Dokos ndo...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: calling , | emacs +42 foo.org ` should open the file foo.org and put the cursor in line 42. In most cases, it would be better to use emacsclient, otherwise you might end up with many emacs instances;

Re: [O] recent changes in COMMENT and tangling?

2014-03-27 Thread Nicolas Goaziou
Hello, Alan Schmitt alan.schm...@polytechnique.org writes: Have there been recent changes regarding the COMMENT keyword and tangling? I just saw some blocks whose grand parent is a comment being tangled in my configuration file. This should be fixed. Thank you. Regards, -- Nicolas

[O] [RFC] Sloppy `org-element-context'?

2014-03-27 Thread Nicolas Goaziou
Hello, As you may know, `org-element-context' returns the object under point, according to Org Syntax. The questions are: should it be a little sloppy, for convenience? And, if it should, what degree of sloppiness is acceptable? Note that, at the time being, the function is already somewhat

Re: [O] recent changes in COMMENT and tangling?

2014-03-27 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: Have there been recent changes regarding the COMMENT keyword and tangling? I just saw some blocks whose grand parent is a comment being tangled in my configuration file. This should be

Re: [O] [BABEL] BUG Re: Omitting try/catch blocks from tangled R code?

2014-03-27 Thread Eric Schulte
Rainer M Krug rai...@krugs.de writes: Eric Schulte schulte.e...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Eric Schulte schulte.e...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Eric Schulte schulte.e...@gmail.com writes: Charles Berry ccbe...@ucsd.edu writes:

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-03-27 Thread Eric Schulte
Hi Pascal, This looks like a good patch. If I could make three changes/requests. 1. This patch should also work for begin_src bash code blocks. After a very quick glance it doesn't appear to. 2. Could you include one or two tests ensuring that this patch does what it intends with bash

[O] Bugfix ob-C.el mixed input variable

2014-03-27 Thread Jakob Lombacher
When using org-babel with mixed (double, int) input like below, the c file was not written correctly. The numbers where left out and only the commas where written. I guess it was a typo. Attached is the patch. Jakob --- #+RESULTS[8894f01ba8e219bd6cafb49748f4d5cad8bb6fd1]: test-parameter |

Re: [O] Warning when make in git

2014-03-27 Thread Andrea Rossetti
On my Win7 + MSYS + MinGW + MikTex I found a texinfo 4.13 that compiled without complaints about UTF-8. I suppose the problem is faced mostly by Mac users. Unfortunately I can't reproduce the problem here, so I have no clue about the contents of the .info output... Kindest regards, Andrea Il

[O] [Patch] Few small fixes to html header

2014-03-27 Thread Marcin Antczak
I've attached patch below, but I'm affraid that there is something wrong with indentation. I'm not sure if there is problem with my settings or just entire ox-html.el is indented badly. I've been trying to indent file with the default parameters. I started Emacs with -Q parameter and as I can

Re: [O] [RFC] Sloppy `org-element-context'?

2014-03-27 Thread Rasmus
Hi, Nicolas Goaziou n.goaz...@gmail.com writes: As you may know, `org-element-context' returns the object under point, according to Org Syntax. The questions are: should it be a little sloppy, for convenience? And, if it should, what degree of sloppiness is acceptable? Would it make sense

Re: [O] ignoreheading in LaTeX export

2014-03-27 Thread Rasmus
Alan Schmitt alan.schm...@polytechnique.org writes: Nicolas Goaziou n.goaz...@gmail.com writes: I suggest to use the dedicated MATCH argument for `org-map-entries': (defun as/delete-ignored-heading (backend) Remove every headline with a tag `ignoreheading' in the current

Re: [O] Bugfix ob-C.el mixed input variable

2014-03-27 Thread Eric Schulte
Applied, Thanks! Jakob Lombacher ja...@lombacher.net writes: When using org-babel with mixed (double, int) input like below, the c file was not written correctly. The numbers where left out and only the commas where written. I guess it was a typo. Attached is the patch. Jakob ---

[O] Bug: Org-mode interprets lines starting with | as tables even when those lined are inside an align* block [8.2.5h (8.2.5h-30-gdd810b-elpa @ /home/kosta/.emacs.d/elpa/org-20140303/)]

2014-03-27 Thread Konstantin Kliakhandler
Hello, Pretty much what the headline says. This incorrect interpretation means that if for example one tries to use org-cdlatex completions in that line or later in the block, they won't work: Instead, new cells will be created. Example code: \begin{align*} |x \end{align*} Emacs : GNU Emacs

[O] o-blog and org-export-as-html

2014-03-27 Thread Esben Stien
I'm trying to use o-blog with org-mode-8.2.5h, but the function org-publish-blog in o-blog requests org-export-as-html. The correct function is org-html-export-as-html Is o-blog so unmaintained and should I just look for an alternative? -- Esben Stien is b0ef@e s a

Re: [O] [PATCH] Add catch-up all LaTeX errors

2014-03-27 Thread Marcin Borkowski
Dnia 2014-03-26, o godz. 18:33:30 Charles Millar mill...@verizon.net napisał(a): If I remember to close the first exported PDF, the revised subtree exports OK. I'm just curious, does the problem exist iff the pdf, that is to be replaced, is opened? This is rather a workaround, but don't

Re: [O] A problem with publishing

2014-03-27 Thread Marcin Borkowski
Dnia 2014-03-26, o godz. 09:26:15 Rick Frankel r...@rickster.com napisał(a): On 2014-03-23 17:01, Marcin Borkowski wrote: Hi list, publishing doesn't work. I guess that I broke something;). May the source and publishing directories be the same? I have this in my init.el: (setq

Re: [O] Reverse lookup from pdf to org?

2014-03-27 Thread Marcin Borkowski
Dnia 2014-03-27, o godz. 15:43:45 Rainer M Krug rai...@krugs.de napisał(a): Brett Viren b...@bnl.gov writes: Rainer M Krug rai...@krugs.de writes: Brett Viren b...@bnl.gov writes: file:///path/to/foo.tex.orglink?line=42 But jumping to the .org file would be the aim - right?

Re: [O] New headline after no content (empty headline)

2014-03-27 Thread Brady Trainor
Bastien bzg at gnu.org writes: ---does the Org version that comes from the maint branch still needs a fix? If so, can you describe the problem again? I did test the `maint` branch today. The behavior was not ideal for my funny use-case. For `org-insert-heading' (M-RET), I wanted the