From mboxrd@z Thu Jan 1 00:00:00 1970 From: abonnements Subject: Re: Hidden named blocks. Date: Sun, 26 Oct 2014 11:48:43 +0100 Message-ID: <544CD18B.4090106@thierry-pelle.eu> References: <544CC86A.9000601@thierry-pelle.eu> <87egtvdtgj.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiLNf-00076r-O3 for emacs-orgmode@gnu.org; Sun, 26 Oct 2014 06:49:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiLNY-0007Fx-6c for emacs-orgmode@gnu.org; Sun, 26 Oct 2014 06:49:03 -0400 Received: from 2.mo2.mail-out.ovh.net ([188.165.53.149]:56679 helo=mo2.mail-out.ovh.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiLNY-0007Ff-0Z for emacs-orgmode@gnu.org; Sun, 26 Oct 2014 06:48:56 -0400 Received: from mail629.ha.ovh.net (gw6.ovh.net [213.251.189.206]) by mo2.mail-out.ovh.net (Postfix) with SMTP id D19A2FFAD9C for ; Sun, 26 Oct 2014 11:48:54 +0100 (CET) In-Reply-To: <87egtvdtgj.fsf@nicolasgoaziou.fr> 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 Thanks, that's what I supposed. But when you hit "TAB" on a "#+name: " line it fold the block to the=20 "#+end_XXX". This is not the case for a "#+header:" line. So such a folding stuff may be easy to implement no? Thierry Le 26/10/2014 11:19, Nicolas Goaziou a =E9crit : > 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=3D10 >> #+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=3D10 >> #+begin_src python ... > There is no such option. Note that order between "name" and "header" ma= y > be reversed, which could be confusing. > > > Regards, >