From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: [RFC] Block switches as #+HEADER: args? Date: Tue, 02 Sep 2014 13:07:25 +0200 Message-ID: <87tx4qp9g2.fsf@gmail.com> References: <877g1mqs8y.fsf@gmail.com> <87bnqymk3n.fsf@nicolasgoaziou.fr> <87y4u2pchy.fsf@gmail.com> <877g1mmhwj.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOlwK-0006c2-V8 for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 07:08:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOlwE-0003hz-TT for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 07:07:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:39039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOlwE-0003hq-NL for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 07:07:50 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XOlw3-00065Z-FZ for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 13:07:39 +0200 Received: from e178189199.adsl.alicedsl.de ([85.178.189.199]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Sep 2014 13:07:39 +0200 Received: from tjolitz by e178189199.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Sep 2014 13:07:39 +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 Nicolas Goaziou writes: > Thorsten Jolitz writes: > >> Thats what I thought, but wouldn't it be nicer to treat switches and >> header args more uniformly here? > > Header arguments are for Babel consumption. Switches are not. I see no > reason to treat them similarly. > >> Otherwise custom solutions are needed to store the switches in some >> place when nuking the surrounding #+begin/#+end lines in a conversion >> process, and restore them again when converting back to Org. Or the >> switches-info is simply lost during conversion. > > Since you already store header args, it isn't much difficult to also > store switch, is it? Ok, thanks, thats what I wanted to know (not necessarily what I wanted to hear though), so I need a custom solution. -- cheers, Thorsten