From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Hidden named blocks. Date: Sun, 26 Oct 2014 11:19:08 +0100 Message-ID: <87egtvdtgj.fsf@nicolasgoaziou.fr> References: <544CC86A.9000601@thierry-pelle.eu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiKu4-0000AW-Re for emacs-orgmode@gnu.org; Sun, 26 Oct 2014 06:18:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiKtw-000760-QG for emacs-orgmode@gnu.org; Sun, 26 Oct 2014 06:18:28 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:43490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiKtw-00075u-KT for emacs-orgmode@gnu.org; Sun, 26 Oct 2014 06:18:20 -0400 In-Reply-To: <544CC86A.9000601@thierry-pelle.eu> (abonnements@thierry-pelle.eu's message of "Sun, 26 Oct 2014 11:09:46 +0100") 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: abonnements Cc: emacs-orgmode@gnu.org Hello, abonnements writes: > I would like to know if there is, or if it is simple, to have a > "#+STARTUP: hideblocks" like option which allow to fold named blocks > leaving only the #+name: > > Example > #+name: test > #+header: :var foo=10 > #+begin_src python > ... > #+end_src > > is displayed on the opening of the file folded this way > #+name: test ... > > instead of > #+name: test > #+header: :var foo=10 > #+begin_src python ... There is no such option. Note that order between "name" and "header" may be reversed, which could be confusing. Regards, -- Nicolas Goaziou