|
From: | Christian Moe |
Subject: | Re: [Orgmode] Re: Bug: subtree export fails with src block |
Date: | Thu, 23 Sep 2010 20:22:21 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 |
Hi, Eric, Yes, the file is saved, and is the one I'm trying to export from.If neither you nor Noorul can reproduce it, I may have messed up something. But I can't think what.
It looks like the problem arises in this part of org-babel-exp-src-blocks (link (org-make-link-string (concat org-current-export-file "::" (nth 4 (ignore-errors (org-heading-components))))))and that org-heading-components fails to return the heading text. Can't see why, though.
Yours, Christian On 9/23/10 5:17 PM, Eric Schulte wrote:
Hi Christian, Thanks for the complete bug report and reproduction information. Unfortunately I was unable to reproduce the error you described. Does the file /Users/CM/org/test2.org exist on your system? Presumably that is the file from which you are exporting. Is it saved before you export? Thanks -- Eric I doubt the following is relevant, but... I'm using the latest Org-mode from git. Org-mode version 7.01trans (release_7.01h.566.gc33c) and the latest Emacs from git GNU Emacs 23.1.90.1 Noorul Islam K M<address@hidden> writes:Christian Moe<address@hidden> writes:Hi, Selecting a subtree only, export to html fails if the subtree contains a src block. Using 7.01trans, freshly pulled, on Emacs 23. Example file: test2.org ----------------------- * Heading 1 Text * Heading 2 Text #+begin_src emacs-lisp (message "Something funny with export") #+end_src ----------------------- Exporting the whole works fine. Exporting the first subtree (C-c C-e 1 b) works, but leaves an active region around the subtree.Yes you are right. I am able to reproduce this.Exporting the second subtree fails, producing no output, with these messages: : Exporting... : org-babel-exp processing... : org-open-file: No such file: /Users/CM/org/test2.org::I am not able to reproduce this. I did not get any errors. I have Org-mode version 7.01trans (release_7.01h.555.g90cc.dirty) GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-01-30 on noorul Thanks and Regards Noorul _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. address@hidden http://lists.gnu.org/mailman/listinfo/emacs-orgmode_______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. address@hidden http://lists.gnu.org/mailman/listinfo/emacs-orgmode
-- Christian Moe E-mail: address@hidden Website: http://christianmoe.com
[Prev in Thread] | Current Thread | [Next in Thread] |