From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] Block switches as #+HEADER: args? Date: Tue, 02 Sep 2014 11:45:32 +0200 Message-ID: <87bnqymk3n.fsf@nicolasgoaziou.fr> References: <877g1mqs8y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOke2-00019F-B6 for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 05:45:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOkds-0007yF-6F for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 05:44:58 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:48940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOkds-0007wL-0W for emacs-orgmode@gnu.org; Tue, 02 Sep 2014 05:44:48 -0400 In-Reply-To: <877g1mqs8y.fsf@gmail.com> (Thorsten Jolitz's message of "Tue, 02 Sep 2014 11:35:57 +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: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Hello, Thorsten Jolitz writes: > and at least in the 2nd case the switches are lost, because they don't > work as header args: [...] > #+HEADER: -n > #+BEGIN_EXAMPLE > Hallo World > whats up? > #+END_EXAMPLE This is not valid syntax. Switches are to be put on the block line. Only header arguments can be put on a #+HEADER line. See (info "(Org) Structure of code blocks") in particular the difference between switches and header arguments. Regards, -- Nicolas Goaziou