From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Question on org-mode adding extra blank line Date: Fri, 04 Feb 2011 20:25:07 -0500 Message-ID: <87mxmbgtn0.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=52388 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlWtr-0004VC-3b for emacs-orgmode@gnu.org; Fri, 04 Feb 2011 20:25:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlWtq-00047x-3h for emacs-orgmode@gnu.org; Fri, 04 Feb 2011 20:25:19 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:29273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlWtq-00046O-1w for emacs-orgmode@gnu.org; Fri, 04 Feb 2011 20:25:18 -0500 In-Reply-To: (Umesh P. N.'s message of "Wed, 2 Feb 2011 10:26:02 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Umesh P N Cc: emacs-orgmode@gnu.org Umesh P N 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 n= ext line.=C2=A0 Looks like it is a feature and > not a bug.=C2=A0 > > Like this. > > * heading 1=C2=A0 (I press M-return here.) > > * heading 2 > > I expected > > * heading 1=C2=A0 (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