From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?=22Martin_G=2E_Skj=E6veland=22?= Subject: [babel] problems with :exports results [6.33trans (release_6.33c.7.g69b46)] Date: Mon, 16 Nov 2009 15:27:23 +0100 Message-ID: <4B01614B.5060200@ifi.uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NA2Xk-00071s-5s for emacs-orgmode@gnu.org; Mon, 16 Nov 2009 09:27:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NA2Xg-00070Z-9l for emacs-orgmode@gnu.org; Mon, 16 Nov 2009 09:26:59 -0500 Received: from [199.232.76.173] (port=46900 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA2Xf-00070V-LO for emacs-orgmode@gnu.org; Mon, 16 Nov 2009 09:26:55 -0500 Received: from mail-out1.uio.no ([129.240.10.57]:60829) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NA2Xe-00059L-Rq for emacs-orgmode@gnu.org; Mon, 16 Nov 2009 09:26:55 -0500 Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out1.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1NA2Xb-00062S-7o for emacs-orgmode@gnu.org; Mon, 16 Nov 2009 15:26:51 +0100 Received: from 1x-193-157-201-201.uio.no ([193.157.201.201]) by mail-mx2.uio.no with esmtpsa (TLSv1:AES256-SHA:256) user martige (Exim 4.69) (envelope-from ) id 1NA2Xa-0002lH-Rd for emacs-orgmode@gnu.org; Mon, 16 Nov 2009 15:26:51 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 "\\" 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)) )