emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: abonnements <abonnements@thierry-pelle.eu>
To: emacs-orgmode@gnu.org
Subject: Re: Hidden named blocks.
Date: Sun, 26 Oct 2014 11:48:43 +0100	[thread overview]
Message-ID: <544CD18B.4090106@thierry-pelle.eu> (raw)
In-Reply-To: <87egtvdtgj.fsf@nicolasgoaziou.fr>

Thanks, that's what I supposed.

But when you hit "TAB" on a "#+name: " line it fold the block to the 
"#+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 écrit :
> Hello,
>
> abonnements <abonnements@thierry-pelle.eu> 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,
>

  reply	other threads:[~2014-10-26 10:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26 10:09 Hidden named blocks abonnements
2014-10-26 10:19 ` Nicolas Goaziou
2014-10-26 10:48   ` abonnements [this message]
2014-10-26 12:42     ` Nicolas Goaziou
2014-10-26 13:01       ` abonnements
2014-10-26 13:06         ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=544CD18B.4090106@thierry-pelle.eu \
    --to=abonnements@thierry-pelle.eu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).