[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Question on org-mode adding extra blank line
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: Question on org-mode adding extra blank line |
Date: |
Fri, 04 Feb 2011 20:25:07 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Umesh P N <address@hidden> 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