Re: [O] [BUG][ODT] Subtree export fails when link references target on higher level

2013-11-22 Thread Christian Moe
Nicolas Goaziou writes: Hello, Christian Moe m...@christianmoe.com writes: The two examples below illustrate an odd ODT export failure that occurs in restricted circumstances: only when the target of the link is on a higher level of the tree than the link. * This fails ** A subheader

Re: [O] [BUG][ODT] Subtree export fails when link references target on higher level

2013-11-22 Thread Nicolas Goaziou
Hello, Christian Moe m...@christianmoe.com writes: In ODT, the link can be useful anyway, as the ODT output is a reference field that can be automatically updated to a different format, e.g. to refer to a page number instead of the (missing) headline text. I don't know ODT syntax, but if you

Re: [O] Show TODO item in table of contents

2013-11-22 Thread Nicolas Goaziou
Hello, Bernt Hansen be...@norang.ca writes: This patch 4c94c4d (ox-html: Add TODO keyword to TOC entries, 2013-11-06) changes the behaviour of HTML TOCs. I noticed that when I export my org-mode document (http://doc.norang.ca/org-mode.html) with this patch the TOC no longer has numbering

Re: [O] [BUG][ODT] Subtree export fails when link references target on higher level

2013-11-22 Thread Christian Moe
Hi, What I described already works out of the box, as long as a bookmark and cross-reference are generated. In LibreOffice, you can then right-click on the field of the cross-reference to display e.g. the target's chapter heading number or page number instead of a textual description. But on

Re: [O] [BUG][ODT] Subtree export fails when link references target on higher level

2013-11-22 Thread Nicolas Goaziou
Hello, Christian Moe m...@christianmoe.com writes: But on reflection, I think there's a strong case to change the default ODT output of links with dedicated targets to page number references. Under the new exporter, such targets are hidden in output, i.e. they no longer contain text that

Re: [O] [PATCH] org-compat: Support for getting data from Windows clipboard

2013-11-22 Thread Bastien
Hi Alexander, Alexander Vorobiev alexander.vorob...@gmail.com writes: The patch doesn't work unfortunately. I stepped through x-get-selection-value in w32-common-fns.el and the correct value from the clipboard gets assigned to x-last-selected-text but then the function just returns nil (line

[O] [babel] how to pass data to gnuplot from another block

2013-11-22 Thread Eric S Fraga
Hello, everything I have seen on the list and on Worg seems to indicate that it should be possible to pass data from a babel src block to a gnuplot src block. See, for instance, the excellent article on data collection and analysis at

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-22 Thread Nicolas Goaziou
Hello, Eric Abrahamsen e...@ericabrahamsen.net writes: Here's a fairly simple first stab, with page breaks made into an element, and a sample handling in the LaTeX backend. I've hardcoded ^L and the page-delimiter regexp that finds it, not sure it's worth providing an org-page-delimiter

Re: [O] links to attachments don't export anymore

2013-11-22 Thread Thomas Holst
Hi Nicolas, · Thomas Holst thomas.ho...@de.bosch.com wrote: Hi, · Nicolas Goaziou n.goaz...@gmail.com wrote: Actually, this could solved by widening the buffer before expanding the link in `org-element-link-parser'. Though, I'm surprised that neither `org-id-get', `org-entry-get' nor, at

Re: [O] [ANN] Improved Flyspell check

2013-11-22 Thread Rasmus Pank Roulund
Nicolas Goaziou n.goaz...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: Updated patch. I've been using this patch without issues for at least two week. I haven't experienced any slowdowns over wcheck other than that associated with the design of Flyspell (e.g. flyspell-buffer

[O] [Patch] Fix for org-export-pubishing-directory

2013-11-22 Thread Shitikanth
The new export system was ignoring the value of variable org-export-publishing-directory. For example, even with the value of org-export-publishing-directory set to ./exports, the exported files would end up in the same folder as the org file. This patch seems to solve the problem, at least on

[O] Bug: indenting in sh-mode org-babel source block causes 100% CPU [8.2.3c (8.2.3c-elpa @ /Users/hinmanm/.emacs.d/elpa/org-20131115/)]

2013-11-22 Thread Lee Hinman
If I have a simple org-mode file containing: #+BEGIN_SRC sh #+END_SRC And I hit C-c ' to edit code in the block, then type (ignore the for a second): for i in {1..10}; do done If I place my cursor at the and hit TAB to indent, Emacs freezes, using 100% CPU until I quit. For reference, this

Re: [O] [BUG][ODT] Subtree export fails when link references target on higher level

2013-11-22 Thread Dan Griswold
On Fri, Nov 22, 2013 at 4:08 AM, Christian Moe m...@christianmoe.comwrote: Hi, But on reflection, I think there's a strong case to change the default ODT output of links with dedicated targets to page number references. Under the new exporter, such targets are hidden in output, i.e. they no

Re: [O] links to attachments don't export anymore

2013-11-22 Thread Nicolas Goaziou
Hello, Thomas Holst thomas.ho...@de.bosch.com writes: For me the problem still persists. Thank you for the report. I pushed another fix. Please let me know if it doesn't do its job. Regards, -- Nicolas Goaziou

Re: [O] [Patch] Fix for org-export-pubishing-directory

2013-11-22 Thread Nicolas Goaziou
Hello, Shitikanth shitikan...@gmail.com writes: The new export system was ignoring the value of variable org-export-publishing-directory. For example, even with the value of org-export-publishing-directory set to ./exports, the exported files would end up in the same folder as the org

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-22 Thread Rüdiger Sonderfeld
On Friday 22 November 2013 11:24:17 Nicolas Goaziou wrote: Anyway, I don't think this is a good idea to introduce a new syntax just to avoid a one-liner (or a hook, see below). Also, this would only make sense in few export back-ends. But is it really a new syntax or just support for an

[O] Near real-time preview of PDF/ODT export?

2013-11-22 Thread Bastien
Dear all, Richard Stallman started a thread on emacs-devel on how to let Emacs do WYSIWG word processing: https://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00515.html 25 years ago I hoped we would extend Emacs to do WYSIWG word processing. That is why we added text properties

[O] ODT export produces odt file which MS Word 2007 can't open

2013-11-22 Thread Gary Oberbrunner
This simple org file: * This is a list * Here's another item produces the simple-list.odt file attached with the latest org-mode (from git master). MS Word 2007 (10.0.6683.5002) SP3 can't open it; it says the file cannot be opened because there are problems with it, then says it's corrupt. It

[O] Agenda: open in other frame

2013-11-22 Thread Fredrik
When I open an agenda and push enter on a text it opens the file related to the text in the same frame. Is there any way to make it open it in another frame so I keep my agenda in front? Regards, Fredrik

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-22 Thread Rasmus
Bastien b...@gnu.org writes: Dear all, Richard Stallman started a thread on emacs-devel on how to let Emacs do WYSIWG word processing: https://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00515.html 25 years ago I hoped we would extend Emacs to do WYSIWG word processing.

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-22 Thread Thorsten Jolitz
Bastien b...@gnu.org writes: Hi Bastien How far are we from allowing users to preview an exported Org buffer into a separate window, and displaying either a PDF or an ODT document through DocView? not sure about Org preview, but when using AucTex, Evince updates automatically when

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-22 Thread Suvayu Ali
On Fri, Nov 22, 2013 at 03:30:18PM +0100, Rasmus wrote: Personally, I'd want to use Evince and not Docview. Does Docview notice changes in the pdf? Only with auto-revert-mode on. I prefer Evince over Docview too. Docview wait times can be significant when the pdf is large (~30), or when

Re: [O] Opening an Org file slowed down

2013-11-22 Thread Michael Brand
Hi Nicolas On Mon, Nov 11, 2013 at 5:41 PM, Michael Brand michael.ch.br...@gmail.com wrote: I noticed that to open an Org file with a minimal example generated like this slowed down: #+BEGIN_SRC sh #!/bin/sh echo '* a' for ((i = 0; i 400; i++)); do echo ' - b' echo '

Re: [O] [babel] how to pass data to gnuplot from another block

2013-11-22 Thread Eric Schulte
Hi Eric, The attached works fine for me (using sh since I don't have octave). #+name: uptime #+begin_src sh paste (echo -e 1\n5\n15) (uptime|sed 's/^.*average: //;s/,//g'|tr ' ' '\n') #+end_src #+RESULTS: uptime | 1 | 0.02 | | 5 | 0.06 | | 15 | 0.05 | #+begin_src gnuplot :var data=uptime

Re: [O] [Babel] [Bug] Cache

2013-11-22 Thread Eric Schulte
Hi Seb, Could you git bisect this breakage to isolate the offending commit? Thanks, Sebastien Vauban sva-n...@mygooglest.com writes: Hello Eric, IIRC, some time ago, a bug involving the computation of the hash (when option cache is enabled) and NoWeb code blocks. I remember that it had

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-22 Thread Eric Schulte
Charles Berry ccbe...@ucsd.edu writes: Following this thread: http://thread.gmane.org/gmane.emacs.orgmode/77572/focus=77648 I found that setting org-confirm-babel-evaluate to a lambda form BREAKS inline src blocks. Here is an ECM: # #+BEGIN_SRC emacs-lisp (setf

Re: [O] Agenda: open in other frame

2013-11-22 Thread Alexander Baier
Fredrik fred...@jumans.net writes: When I open an agenda and push enter on a text it opens the file related to the text in the same frame. Is there any way to make it open it in another frame so I keep my agenda in front? Regards, Fredrik When you say frame, do you mean what in emacs

[O] Converting org-mode/org-contacts to VCard (importing to Android)

2013-11-22 Thread Karl Voit
Hi! I wrote a Python script that parses an Org-mode file in order to generate a VCard 2.1 compatible output file I am using to import to my Android 4.4 device: https://github.com/novoid/org-contacts2vcard The reason I wrote it in Python is that I don't know ELISP well enough. The reason I

Re: [O] Converting org-mode/org-contacts to VCard (importing to Android)

2013-11-22 Thread Rüdiger Sonderfeld
On Friday 22 November 2013 17:37:01 Karl Voit wrote: The reason I wrote it in Python is that I don't know ELISP well enough. The reason I wrote the script instead of using existing export methods: I only want to export a small sub-set (names, phone numbers, email addresses, contact image) due

Re: [O] imaxima babel

2013-11-22 Thread yggdrasil
Thanks, this does answer my initial question and works good enough to enable latex export! Even better would be if it's possible to mimic imaxima behaviour which is (I think) to directly process the resulting latex code and (temporarily?) store it as an image to display the pretty-printed

Re: [O] Converting org-mode/org-contacts to VCard (importing to Android)

2013-11-22 Thread Karl Voit
* Rüdiger Sonderfeld ruedi...@c-plusplus.de wrote: On Friday 22 November 2013 17:37:01 Karl Voit wrote: The reason I wrote it in Python is that I don't know ELISP well enough. The reason I wrote the script instead of using existing export methods: I only want to export a small sub-set (names,

Re: [O] [babel] how to pass data to gnuplot from another block

2013-11-22 Thread Nick Dokos
Eric Schulte schulte.e...@gmail.com writes: The attached works fine for me (using sh since I don't have octave). #+name: uptime #+begin_src sh paste (echo -e 1\n5\n15) (uptime|sed 's/^.*average: //;s/,//g'|tr ' ' '\n') #+end_src Just an fyi: I had to set org-babel-sh-command to bash

[O] [Babel] Bug reading example blocks?

2013-11-22 Thread Thomas S. Dye
Aloha all, Responding to a query by Gary Oberbrunner, I tried to point out the use of example blocks to name arbitrary pieces of text. What I found is that the example block isn't passed whole to a babel source block--whitespace is removed from the first line. * Whitespace on first line of

[O] problems while editing in org-columns mode

2013-11-22 Thread andrea . rossetti
Hello everyone, I get some unexpected behaviour in org-column mode on my workstation (Emacs 24.3, org-version 8.2.2, Win 7 64 bit). May I ask support in order to understand: - if this is reproducible for you as well - if it is actually a bug, or a mess on my local installation, or if I

[O] [patch] Bug: docfix [8.0.7 (release_8.0.7-437-g927c0e @ /home/youngfrog/sources/org-mode/lisp/)]

2013-11-22 Thread Nicolas Richard
Hi, A comment in org.el seems to be related to code that was changed long ago. Emacs : GNU Emacs 24.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2013-10-24 on geodiff-mac3 Package: Org-mode version 8.0.7 (release_8.0.7-437-g927c0e @ /home/youngfrog/sources/org-mode/lisp/) From

[O] Bug: Prettier keybinding descriptions for orgtbl-mode [8.0.7 (release_8.0.7-437-g927c0e @ /home/youngfrog/sources/org-mode/lisp/)]

2013-11-22 Thread Nicolas Richard
Hi, This small patch makes key descriptions a little nicer ; those that are shown in the various orgtbl-hijacker-command-... functions. Emacs : GNU Emacs 24.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2013-10-24 on geodiff-mac3 Package: Org-mode version 8.0.7

Re: [O] Bug: Prettier keybinding descriptions for orgtbl-mode [8.0.7 (release_8.0.7-437-g927c0e @ /home/youngfrog/sources/org-mode/lisp/)]

2013-11-22 Thread Bastien
Nicolas Richard theonewiththeevill...@yahoo.fr writes: This small patch makes key descriptions a little nicer ; those that are shown in the various orgtbl-hijacker-command-... functions. Applied, thanks! -- Bastien

Re: [O] [patch] Bug: docfix [8.0.7 (release_8.0.7-437-g927c0e @ /home/youngfrog/sources/org-mode/lisp/)]

2013-11-22 Thread Bastien
Hi Nicolas, Nicolas Richard theonewiththeevill...@yahoo.fr writes: A comment in org.el seems to be related to code that was changed long ago. Applied, thanks. -- Bastien

Re: [O] Show TODO item in table of contents

2013-11-22 Thread Bernt Hansen
Nicolas Goaziou n.goaz...@gmail.com writes: Bernt Hansen be...@norang.ca writes: This patch 4c94c4d (ox-html: Add TODO keyword to TOC entries, 2013-11-06) changes the behaviour of HTML TOCs. I noticed that when I export my org-mode document (http://doc.norang.ca/org-mode.html) with this

Re: [O] Converting org-mode/org-contacts to VCard (importing to Android)

2013-11-22 Thread Rüdiger Sonderfeld
On Friday 22 November 2013 18:09:42 Karl Voit wrote: I have to admit that I don't know the feature-set of the Org-mode export. I would be very surprised, if the Org-mode export method is able to follow my custom photo: link I am using, grab the image file, test if it has a image format that

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-22 Thread Richard Lawrence
Hi Eric, On Thu, Nov 21, 2013 at 03:00:00PM -0700, Eric Schulte wrote: Very cool, I think some of these functions could be merged into contrib/lisp/org-bibtex-extras.el to very good effect. Sure! I'd be happy to help out with this. I see you are the author of org-bibtex-extras; feel free

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-22 Thread Charles Berry
Eric Schulte schulte.eric at gmail.com writes: Charles Berry ccberry at ucsd.edu writes: [snip] Thanks for pointing this out, I've just pushed up a fix. AFAICS, it is still broken. I did a git pull, downloaded the patches, applied them, compiled ob-core.el. I am still getting