emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Remember does not insert a blank line before new headings


From: Carsten Dominik
Subject: Re: [Orgmode] Remember does not insert a blank line before new headings
Date: Mon, 21 Jun 2010 12:26:19 +0200

Hi Sebastien,

this feature is coming soon, with a bunch of others.

- Carsten

On Jun 21, 2010, at 12:24 PM, Sébastien Vauban wrote:

Hi,

Whenever collecting tasks (for example, but not limited to that), I would like
one blank line to be inserted before any heading.

This is a sample file of how I like to see things (always thinking at other
colleagues who would read my Org file from vi or even worse editors):

--8<---------------cut here---------------start------------->8---
* Tasks

** TODO Make highlight of #hexa colors in Emacs work
  [2010-05-27 Thu 14:40]

  I have sample code almost working. Try to customize it.

** TODO Search for flights
  SCHEDULED: <2010-06-22 Tue>
  :PROPERTIES:
  :Effort:   0:10
  :END:
  [2010-06-07 Mon 15:00]

** TODO Work on the rest
  [2010-06-21 Mon 12:15]
--8<---------------cut here---------------end--------------->8---

My remember template was the following:

--8<---------------cut here---------------start------------->8---
(setq org-remember-templates
     '(
       ("Task" ?t
"* TODO %?\n %U\n %i" ; include a date tag showing when it
                                   ; was added to the TODO file
        nil                        ; refile.org
        "Tasks")))
--8<---------------cut here---------------end--------------->8---

But every inserted task comes "glue'd" to the previous item:

--8<---------------cut here---------------start------------->8---
* Tasks

[...]

** TODO Work on the rest
  [2010-06-21 Mon 12:15]
** TODO Added task (via remember)
  [2010-06-21 Mon 12:20]
--8<---------------cut here---------------end--------------->8---

Changing my template to this:

--8<---------------cut here---------------start------------->8---
(setq org-remember-templates
     '(
       ("Task" ?t
        "\n\n\n* TODO %?\n  %U\n  %i"
        nil                        ; refile.org
        "Tasks")))
--8<---------------cut here---------------end--------------->8---

doesn't change anything to that... Well, I see extra line spaces in the
remember *buffer*, but they're not inserted when filed (`C-c C-c').

How can we get this behavior?  Am I missing some variable?

For your information, I also have:

--8<---------------cut here---------------start------------->8---
(setq org-blank-before-new-entry '((heading . t) (plain-list-item . auto)))
--8<---------------cut here---------------end--------------->8---

but that does not what *I* would expect, inserting a blank before any new
heading.

Any help?

Best regards,
 Seb

--
Sébastien Vauban


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

- Carsten






reply via email to

[Prev in Thread] Current Thread [Next in Thread]