From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: What is output for org-babel? Date: Sun, 08 Nov 2009 14:48:31 -0500 Message-ID: <871vk8vlv4.fsf@stats.ox.ac.uk> References: <4AF6DE49.8050602@ifi.uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7Dkf-0007Nc-7p for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 14:48:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7Dka-0007MN-D1 for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 14:48:40 -0500 Received: from [199.232.76.173] (port=42708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7Dka-0007MK-70 for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 14:48:36 -0500 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:53013) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7DkZ-00056J-MB for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 14:48:35 -0500 In-Reply-To: <4AF6DE49.8050602@ifi.uio.no> ("Martin G. =?utf-8?Q?Skj=C3=A6?= =?utf-8?Q?veland=22's?= message of "Sun, 08 Nov 2009 16:05:45 +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: =?utf-8?Q?Martin_G=2E_Skj=C3=A6veland?= Cc: emacs-orgmode@gnu.org, andrea Crotti , Carsten Dominik "Martin G. Skj=C3=A6veland" writes: > andrea Crotti wrote: >> I'm with org-mode 6.31a, I was trying to >> get output in the exported files but I never see the output. > > Hi, > > not sure if this is related -- or helpful, but here goes! > > When I export the following file: > > ----------------start--------------- > * lowercase > #+begin_src python :exports results > 2+2 > #+end_src > > * uppercase > #+BEGIN_SRC python :exports results > 2+2 > #+end_src > ----------------end--------------- > > the results are (copied from pdf): > > ----------------start--------------- > 1 lowercase > 4 > > 2 uppercase > 2+2 > ----------------end--------------- > > Writing "begin_src" in lowercase or uppercase makes a difference. I am > not sure if this is a feature or a bug. Bug. However I'm not sure whether it is in org-mode or org-babel. In general in org-mode, begin_src and BEGIN_SRC are equivalent (true for all #+XXX directives I think). However, in this case the org-exp-blocks client (org-babel) associates 'src' with its own block exporter, but it says nothing about 'SRC'. So the solution could either be: (a) Bug in the org-exp-blocks client (org-babel). The client should explicitly hook up 'SRC' to its block pre-processor. (b) Bug in org-mode. Org-exp-blocks should call the block pre-processor for 'src' when it finds 'SRC' (and equivalently, if a client registers 'SRC', then 'src' should trigger it.) I'm leaning towards (b), seeing as we already have the case insensitivity in org-mode. Dan > > Martin > > > _______________________________________________ > 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