From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [babel] Feature request, was Re: [bug] [babel] results eat up following text Date: Sun, 30 Jan 2011 14:33:45 +0000 Message-ID: <87zkqifol2.fsf_-_@ucl.ac.uk> References: <87mxmk93f9.fsf@ucl.ac.uk> <87wrln1zt7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=40210 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjYLf-0004Xn-GV for emacs-orgmode@gnu.org; Sun, 30 Jan 2011 09:33:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjYLe-0008De-4E for emacs-orgmode@gnu.org; Sun, 30 Jan 2011 09:33:51 -0500 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:36406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjYLe-0008DL-0B for emacs-orgmode@gnu.org; Sun, 30 Jan 2011 09:33:50 -0500 In-Reply-To: <87wrln1zt7.fsf@gmail.com> (Eric Schulte's message of "Sat, 29 Jan 2011 08:42:44 -0700") 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: Eric Schulte Cc: Emacs Org mode mailing list "Eric Schulte" writes: > Hi Eric, > > Thanks for catching this issue. It turns out this was a result of > adding lists as supported output types, the code block thinks that the > enclosing list is the results list, and deletes it before inserting new > results. > > Luckily this was a quick 2-character change, which has been committed. > > Cheers -- Eric Eric, maybe this will also be a quick change... I have a (very low priority) feature request: as I often have babel source code blocks within lists, it would be nice if the #+results line were generated to be indented to the same level as the #+begin_src &/or #+begin_end lines. Babel appears to generate a results header with only 2 spaces before it, if no such line exists already, regardless of the indentation of the code block. However, if the results header is already there, the indentation is preserved, which is really nice! This is why it's a low priority request: it's straightforward enough to indent the line the first time it is generated! Thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.260.gba0f6.dirty)