From: "Eric Schulte" <schulte.eric@gmail.com>
To: "Martin G. Skjæveland" <martige@ifi.uio.no>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] problems with :exports results [6.33trans (release_6.33c.7.g69b46)]
Date: Mon, 16 Nov 2009 09:28:51 -0700 [thread overview]
Message-ID: <m2my2ma0xo.fsf@gmail.com> (raw)
In-Reply-To: <4B01614B.5060200@ifi.uio.no> ("Martin G. Skjæveland"'s message of "Mon, 16 Nov 2009 15:27:23 +0100")
Hi Martin,
Thanks for the bug report. It appears that the issue was related to
searching backwards to the previous source-code block before block
evaluation. Our many results types present no short supply of potential
red herrings.
I just pushed up a fix to this issue, please let me know if you continue
to have problems.
Best -- Eric
"Martin G. Skjæveland" <martige@ifi.uio.no> writes:
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen. You don't know how to make a good report? See
>
> http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> Hi,
>
> I pulled a fresh version of org-mode today and have some problems
> including source block results in my export.
>
> When I export the file
>
> -------------------------------------start
> * testing 123
> ** 1
> #+begin_src sh
> echo "test 1"
> #+end_src
> ** 2
> #+begin_src sh :results output
> echo "test 2"
> #+end_src
> ** 3
> #+begin_src sh :exports results
> echo "test 3"
> #+end_src
> ** 4
> #+begin_src sh :results output :exports results
> echo "test 4"
> #+end_src
> ** 5
> #+begin_src sh :results output :exports both
> echo "test 5"
> #+end_src
> -------------------------------------end
>
> it gives me
>
> -------------------------------------start
> 1 testing 123
> ~~~~~~~~~~~~~~
>
> 1.1 1
> ======
> echo "test 1"
>
> 1.2 2
> ======
> echo "test 2"
>
>
> test 2
>
> 1.3 3
> ======
>
> 1.4 4
> ======
>
> 1.5 5
> ======
> echo "test 5"
> -------------------------------------end
>
>
> The result is only exported in test no. 2. I have written my source
> blocks in the same format as test no. 4, which before the weekend gave
> me only the results of the source block execution in the export.
>
>
> A perhaps related issue is that when I try to export my working document
> I get the error
>
> Symbol's function definition is void: org-babel-execute:xml :
>
> Exporting to PDF...
> Exporting to LaTeX...
> (New file)
> org-babel-exp processing... [21 times]
> funcall: Symbol's function definition is void: org-babel-execute:xml
>
> I have added xml with
>
> (org-babel-add-interpreter "xml")
> (add-to-list 'org-babel-tangle-langs '("xml" "xml" nil t))
>
> This error did not appear before the upgrade I did today.
>
> I hope this report is clear.
>
> Thanks!
> Martin
>
>
> Emacs : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.0)
> of 2009-09-27 on palmer, modified by Debian
> Package: Org-mode version 6.33trans (release_6.33c.7.g69b46)
>
> current state:
> ==============
> (setq
> org-metaup-hook '(org-babel-load-in-session-maybe)
> org-after-todo-state-change-hook '(org-clock-out-if-current)
> org-babel-interpreters '("n3" "xml" "java" "python" "dot" "sh"
> "emacs-lisp")
> org-export-preprocess-hook '(org-export-blocks-preprocess)
> org-tab-first-hook '(org-hide-block-toggle-maybe)
> org-src-mode-hook '(org-src-mode-configure-edit-buffer)
> org-confirm-shell-link-function 'yes-or-no-p
> org-agenda-before-write-hook '(org-agenda-add-entry-text)
> org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
> org-cycle-show-empty-lines
> org-optimize-window-after-visibility-change)
> org-mode-hook '(#[nil "\300\301\302\303\304$\207"
> [org-add-hook change-major-mode-hook org-show-block-all
> append local]
> 5]
> )
> org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe
> org-babel-execute-src-block-maybe)
> org-confirm-elisp-link-function 'yes-or-no-p
> org-export-interblocks '((lob org-babel-exp-lob-one-liners)
> (src org-babel-exp-inline-src-blocks))
> org-occur-hook '(org-first-headline-recenter)
> org-from-is-user-regexp "\\<Martin G\\. Skjæveland\\>"
> org-metadown-hook '(org-babel-pop-to-session-maybe)
> org-export-blocks '((src org-babel-exp-src-blocks nil)
> (comment org-export-blocks-format-comment t)
> (ditaa org-export-blocks-format-ditaa nil)
> (dot org-export-blocks-format-dot nil))
> )
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2009-11-16 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-16 14:27 [babel] problems with :exports results [6.33trans (release_6.33c.7.g69b46)] "Martin G. Skjæveland"
2009-11-16 16:28 ` Eric Schulte [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2my2ma0xo.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=martige@ifi.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).