emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Question on org-mode adding extra blank line
@ 2011-02-02 18:26 Umesh P N
  2011-02-05  1:25 ` Bernt Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: Umesh P N @ 2011-02-02 18:26 UTC (permalink / raw)
  To: emacs-orgmode


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

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

-- 
ɯoɔ˙lıɐɯƃ@ɹıɐu˙d˙ɥsǝɯn

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

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

_______________________________________________
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

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

* Re: Question on org-mode adding extra blank line
  2011-02-02 18:26 Question on org-mode adding extra blank line Umesh P N
@ 2011-02-05  1:25 ` Bernt Hansen
  0 siblings, 0 replies; 2+ messages in thread
From: Bernt Hansen @ 2011-02-05  1:25 UTC (permalink / raw)
  To: Umesh P N; +Cc: emacs-orgmode

Umesh P N <umesh.p.nair@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

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

end of thread, other threads:[~2011-02-05  1:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-02 18:26 Question on org-mode adding extra blank line Umesh P N
2011-02-05  1:25 ` Bernt Hansen

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