emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Nikander <robert.nikander@icloud.com>
To: emacs-orgmode@gnu.org
Subject: block folding - should this work?
Date: Fri, 24 Dec 2021 16:21:58 -0500	[thread overview]
Message-ID: <E6D12380-E2DB-48BB-BB40-DBBCF73DE8F0@icloud.com> (raw)

I started reading about “blocks" in the manual. I wanted a chunk of text that I could hide, so I tried this:

* Test
Some text
#+BEGIN 
Hide this
#+END

Hitting TAB on the BEGIN line does nothing. But if I add a blank line before it, then hitting TAB hides and shows the block. Is that a bug? Or am I doing it wrong? Seems like it should work without the blank line.

* Test
Some text

#+BEGIN 
Hide this
#+END

M-x org-version => 9.5.1.

             reply	other threads:[~2021-12-24 21:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-24 21:21 Robert Nikander [this message]
2021-12-25  5:57 ` block folding - should this work? tomas
2021-12-26 14:50 ` [PATCH] org-element--current-element: Fix #+BEGIN$ parsed as special block Ihor Radchenko
2021-12-26 19:24   ` Nicolas Goaziou
2022-05-14  5:55     ` Ihor Radchenko
2021-12-29 21:37 ` block folding - should this work? Tim Cross

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=E6D12380-E2DB-48BB-BB40-DBBCF73DE8F0@icloud.com \
    --to=robert.nikander@icloud.com \
    --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).