From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Creating new org headers from code blocks Date: Fri, 19 Sep 2014 15:32:37 +0200 Message-ID: <87iokjag7e.fsf@gmail.com> References: <87zjdval5t.fsf@gmail.com> <87r3z7aii2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUyJ6-0001Qg-Jg for emacs-orgmode@gnu.org; Fri, 19 Sep 2014 09:33:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUyIz-00064z-ET for emacs-orgmode@gnu.org; Fri, 19 Sep 2014 09:33:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:57123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUyIz-00064O-8l for emacs-orgmode@gnu.org; Fri, 19 Sep 2014 09:32:57 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XUyIs-0006EU-EI for emacs-orgmode@gnu.org; Fri, 19 Sep 2014 15:32:50 +0200 Received: from e178189109.adsl.alicedsl.de ([85.178.189.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Sep 2014 15:32:50 +0200 Received: from tjolitz by e178189109.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Sep 2014 15:32:50 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rainer M Krug writes: > Thorsten Jolitz writes: > >> Rainer M Krug writes: >> >>> Thorsten Jolitz writes: >>> I don't quite understand your code below and what it is supposed to do. >> >> Drawers are probably better in most cases, but this code lets you use >> ':results pp replace' while developing, but converts the fixed-width pp >> results into raw results when desired (e.g. in a buffer copy before some >> action is taken). > > OK - I see. But what is the advantage in this approach? Drawer do > perfectly what I want, i.e. encapsulating an org structure in a for > replacement when re-calculated, inside the drawer they behave like > normal org structure (folding, ...) and upon export they are exported as > org code would be - or am I missing something? There are none (for you) then, but it might be useful anyway in some situations, at least the results look more like part of the document when you care about the looks of the org file too (not only the export results). -- cheers, Thorsten