Umesh P N <umesh.p.n...@gmail.com> writes:

> Hi,
>
> Sometimes (I don't know when), when I press M-return (org-meta-return) at the 
> end of a heading, the next heading
> line (at the same level) is added after a blank line rather than on the next 
> line.  Looks like it is a feature and
> not a bug. 
>
> Like this.
>
> * heading 1  (I press M-return here.)
>
> * heading 2
>
> I expected
>
> * heading 1  (I press M-return here.)
> * heading 2
>
> instead.
>
> When does this happen, and how can I control that?
>
> My gtd configurations below:
>
> # -*- mode: org; -*-
> # 2011-Q1.org: org-mode data for Umesh Nair for 2011 Q1
> #+STARTUP: overview
> #+STARTUP: hidestars
> #+STARTUP: odd
> #+TITLE: Work GTD file for 2011 Q1 (Umesh Nair)
> #+OPTIONS: toc:nil H:3
> #+TAGS: ICU4C(c) ICU4J(j) CLDR(C) III(i) Documentation(d) OCR(o) READING(r) 
> PHONE(p)
> #+TAGS: EMAIL(e) INTERVIEW(I) TODAY(t)
> #+TAGS: Q1(1) Q2(2) Q3(3) Q4(4) NOW(n) LATER(l)
>
> Thanks,
>
> - Umesh

Hi Umesh,

This is controlled by the variable org-blank-before-new-entry.  Normally
this is set to 'auto' by default to try to make the following entry for
lists and headings the same as the current one -- if it has a blank line
then the next entry will also.

You can customize this variable to always or never include blank lines
before new entries.

HTH,
Bernt

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

Reply via email to