emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: bertie <bertie@mailinator.com>
To: emacs-orgmode@gnu.org
Subject: headings with begin/end markers
Date: Sun, 1 May 2011 21:03:31 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110501T204008-772@post.gmane.org> (raw)

Hi -

I'm wondering if there's a way to treat a heading more like a block, such that 
it  has begin/end markers that explicitly mark its boundaries.

What I frequently find happening is that while I'm editing a heading, I have a 
need for a subtopic. Easy: C-<RET>, Tab. Now I want to keep editing at the same 
level that I was, but I don't want to introduce another topic (or a "Stuff, 
cont'd", etc) I just want to keep typing at the same context level.


Ideally, I'd like to just use curly braces to delimit section boundaries.
So something like this:

--------------

* Top

  This part of top

  * A sub heading {
 
    stuff in sub
    all this gets collapsed under 'A sub heading'

  }

  More stuff that's part of top.

---------------

Right now, when I hit TAB on 'A sub heading', it'll collapse all the rest of the 
text, as it should. How can I teach it just collapse up to the right brace?

Or any other suggestion for getting this fact - I realize this is starting to 
look more like XML than an outline - but would really like to get this behavior 
without having to leave orgmode.

Any pointers, suggestions - much appreciated!
-bertie

             reply	other threads:[~2011-05-01 21:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-01 21:03 bertie [this message]
2011-05-01 21:50 ` headings with begin/end markers Samuel Wales
2011-05-02  7:17   ` bertie
2011-05-02 13:33     ` Matt Lundin
2011-05-03 23:20 ` Skip Collins

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=loom.20110501T204008-772@post.gmane.org \
    --to=bertie@mailinator.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).