emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Force blank line above level 1 heading
@ 2013-12-20 22:14 Sebastian Fischmeister
  2013-12-22  8:08 ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Fischmeister @ 2013-12-20 22:14 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Is there a way to always force a blank line above a level 1
heading. When I enter them manually, orgmode somethings things it
belongs to the level 2 (or so) item above it and hides it.

So it should look like this:

* eeny
** meeny
** miny
   next line will get swallowed sometimes; also it should be added by default

* moe
** catch
** ...

Thanks,
  Sebastian
  

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Force blank line above level 1 heading
  2013-12-20 22:14 Force blank line above level 1 heading Sebastian Fischmeister
@ 2013-12-22  8:08 ` Bastien
  2013-12-22 14:55   ` Sebastian Fischmeister
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2013-12-22  8:08 UTC (permalink / raw)
  To: Sebastian Fischmeister; +Cc: emacs-orgmode

Hi Sebastian,

Sebastian Fischmeister <sfischme@uwaterloo.ca> writes:

> Is there a way to always force a blank line above a level 1
> heading. When I enter them manually, orgmode somethings things it
> belongs to the level 2 (or so) item above it and hides it.

Check `org-blank-before-new-entry'.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Force blank line above level 1 heading
  2013-12-22  8:08 ` Bastien
@ 2013-12-22 14:55   ` Sebastian Fischmeister
  2013-12-22 22:20     ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Fischmeister @ 2013-12-22 14:55 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

>> Is there a way to always force a blank line above a level 1
>> heading. When I enter them manually, orgmode somethings things it
>> belongs to the level 2 (or so) item above it and hides it.
>
> Check `org-blank-before-new-entry'.

Yes, but this inserts a blank line before every entry. I would like to
have a blank line only before level 1 headings.

  Sebastian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Force blank line above level 1 heading
  2013-12-22 14:55   ` Sebastian Fischmeister
@ 2013-12-22 22:20     ` Bastien
  2014-01-04  5:45       ` François Pinard
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2013-12-22 22:20 UTC (permalink / raw)
  To: Sebastian Fischmeister; +Cc: emacs-orgmode

Sebastian Fischmeister <sfischme@uwaterloo.ca> writes:

> Yes, but this inserts a blank line before every entry. I would like to
> have a blank line only before level 1 headings.

Ah, then clearly this option is not enough.  Sorry, I'm short of
ideas here.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Force blank line above level 1 heading
  2013-12-22 22:20     ` Bastien
@ 2014-01-04  5:45       ` François Pinard
  2014-01-04 14:41         ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: François Pinard @ 2014-01-04  5:45 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@altern.org> writes:

> Sebastian Fischmeister <sfischme@uwaterloo.ca> writes:

>> Yes, but this inserts a blank line before every entry. I would like to
>> have a blank line only before level 1 headings.

> Ah, then clearly this option is not enough.  Sorry, I'm short of
> ideas here.

Just for the record, I have the same need for some of my Org files.
However, I find it easy enough to add the blank line myself.

François

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Force blank line above level 1 heading
  2014-01-04  5:45       ` François Pinard
@ 2014-01-04 14:41         ` Bastien
  0 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2014-01-04 14:41 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

Hi François,

François Pinard <pinard@iro.umontreal.ca> writes:

> Just for the record, I have the same need for some of my Org files.
> However, I find it easy enough to add the blank line myself.

Well, this is likely to be the solution for years to come, as adapting
blank line insertion based on the level of headlines seems complicated
at this point.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-04 14:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-20 22:14 Force blank line above level 1 heading Sebastian Fischmeister
2013-12-22  8:08 ` Bastien
2013-12-22 14:55   ` Sebastian Fischmeister
2013-12-22 22:20     ` Bastien
2014-01-04  5:45       ` François Pinard
2014-01-04 14:41         ` Bastien

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).