emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eddward DeVilla" <eddward@gmail.com>
To: Matthew Lundin <mdl@imapmail.org>
Cc: orgmode <emacs-orgmode@gnu.org>,
	"news.gmane.org" <rainer.stengele@diplan.de>
Subject: Re: Re: Dividers in File
Date: Wed, 19 Nov 2008 21:51:43 -0600	[thread overview]
Message-ID: <b71b18520811191951u33b894cx3bf4f39de007346a@mail.gmail.com> (raw)
In-Reply-To: <87ljvfd4up.fsf@fastmail.fm>


[-- Attachment #1.1: Type: text/plain, Size: 2262 bytes --]

On Wed, Nov 19, 2008 at 11:04 AM, Matthew Lundin <mdl@imapmail.org> wrote:

> "news.gmane.org" <rainer.stengele@diplan.de> writes:
>
> > Sebastian Rose schrieb:
> >> Hi David,
> >>
> >>
> >> "Eric Schulte" <schulte.eric@gmail.com> writes:
> >>> Hi David,
> >>>
> >>> Is there any Reason why you don't just make the dividers the first
> level
> >>> of headlines? -- Eric
> >>
> [snip]
> >>
> >>> "David A. Gershman" <dagershman@dagertech.net> writes:
> >>>
> >>>> In my org file, I have different sections setup.  I'd like to separate
> >>>> the sections with comment dividers.  For example, I'd like to have:
> >>>>
> >>>> #####################
> >>>> # Section 1
> >>>>
> >>>> * Heading 1
> >>>>  * Heading 2
> >>>> * Heading 3
> >>>>
> >>>> # End Section 1
> >>>> #####################
> >>>>
> >>>> #####################
> >>>> # Section 2
> >>>>
> >>>> * Heading 1
> >>>>  * Heading 2
> >>>> * Heading 3
> >>>>
> >>>> # End Section 2
> >>>> #####################
> >>>>
> >>>> But when I fold stuff, I get:
> >>>>
> >>>> * Heading 1...
> >>>> * Heading 3...
> >>>> * Heading 1...
> >>>> * Heading 3...
> >>>>
> >>>> Notice the dividers got folded into the trees.  Any way to prevent
> this?
>
> When I need quick dividers for better visibility, I adopt the approach
> Eric mentions above. E.g.,
>
> * ----section one------
> * Heading one
> * Heading two
> * ----section two------
> * Heading one
> * Heading two
>

I've considered that myself, but I just don't like the look of it.  More
than once I've wished  I could use something like the hline markup and get a
horizontal line that was scoped with the reset of the outline in the
org-buffer and on export.  So something like the following

#################

* foo 1
* foo 2

-----

* bar 1
*** bar 1.1
  -----
* bar 2

-----

* Baz!

################

would display as

################

* foo 1
* foo2

------------------    <= buffer or wrap wide, doesn't fold into foo2

* bar 1
*** bar 1.1
  --------------    <= buffer or wrap wide, doesn't fold into Bar 1.1 but
does fold into Bar 1

* bar 2

------------------    <= buffer or wrap wide, doesn't fold into foo2

* Baz!

################


I'd guess it might not be too hard with the right but I haven't been annoyed
enough to look into it.

Edd

[-- Attachment #1.2: Type: text/html, Size: 3673 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2008-11-20  3:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18 19:34 Dividers in File David A. Gershman
2008-11-18 19:47 ` Eric Schulte
2008-11-18 22:21   ` Sebastian Rose
2008-11-19 16:04     ` news.gmane.org
2008-11-19 17:04       ` Matthew Lundin
2008-11-20  3:51         ` Eddward DeVilla [this message]
2008-11-20  7:26           ` Carsten Dominik
2008-11-19 20:50       ` Sebastian Rose

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=b71b18520811191951u33b894cx3bf4f39de007346a@mail.gmail.com \
    --to=eddward@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.org \
    --cc=rainer.stengele@diplan.de \
    /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).