emacs-orgmode
[Top][All Lists]
Advanced

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

[O] superflous blank line in capture


From: Jay Dresser
Subject: [O] superflous blank line in capture
Date: Wed, 10 May 2017 23:20:30 -0700

A little bug in capture I think.

I am using this template:

("a" "Add Nag" entry (file+headline "~/Org/jay.org" "Nags") "* %?\nSCHEDULED: 
%T\nDEADLINE: %T\n:PROPERTIES:\n:CATEGORY: Urgent\n:APPT_WARNTIME: 10m\n:END:" 
:prepend t)

This behaves correctly. If I am near the destination before I invoke, I
can see that it inserts as shown but with a blank line after the ":END:"
line. After I finish with C-c C-c, that blank line goes away.

However when I use this template:

("a" "Add Nag" entry (file+headline "~/Org/jay.org" "Nags") "* %?\nSCHEDULED: 
%T\nDEADLINE: %T\n:PROPERTIES:\n:CATEGORY: Urgent\n:APPT_WARNTIME: 10m\n:END:" 
:prepend t :unnarrowed t)

It also inserts the blank line, but when I finish with C-c C-c the blank
line remains. I assume that the behavior should not be different in this
way just because of the narrowing.

--
Jay Dresser



reply via email to

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