* org-mode: Remove CLOSED line when cycling
@ 2012-05-20 18:03 Florian Lindner
2012-05-21 1:56 ` Eric Abrahamsen
0 siblings, 1 reply; 2+ messages in thread
From: Florian Lindner @ 2012-05-20 18:03 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
I use the org-mode from emacs 23.4-2 (ArchLinux) with settings
(setq org-log-done t)
(setq org-startup-indented t)
When cycling through TODO/DONE/- using C-c C-t org-mode inserts the
CLOSED timestamp accordingly. Org-mode removes the CLOSED timestamp
when cycling to the - state but fails to remove the now empty line.
This produces a growing whitespace between the heading and the
body/children.
Is this considered a bug? Can I change that behavior so that it remove
the empty line?
Thanks,
Florian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: org-mode: Remove CLOSED line when cycling
2012-05-20 18:03 org-mode: Remove CLOSED line when cycling Florian Lindner
@ 2012-05-21 1:56 ` Eric Abrahamsen
0 siblings, 0 replies; 2+ messages in thread
From: Eric Abrahamsen @ 2012-05-21 1:56 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: emacs-orgmode
On Mon, May 21 2012, Florian Lindner wrote:
> Hello,
>
> I use the org-mode from emacs 23.4-2 (ArchLinux) with settings
>
> (setq org-log-done t)
> (setq org-startup-indented t)
>
> When cycling through TODO/DONE/- using C-c C-t org-mode inserts the
> CLOSED timestamp accordingly. Org-mode removes the CLOSED timestamp
> when cycling to the - state but fails to remove the now empty line.
> This produces a growing whitespace between the heading and the
> body/children.
>
> Is this considered a bug? Can I change that behavior so that it remove
> the empty line?
For what it's worth, the git version of org, with those settings,
doesn't leave an extra line. If you're willing to consider running the
development version of org you'll get that and a whole bunch of other
new features. If not, you might look at the function
`org-add-planning-info' as it exists in the git codebase, and see how it
differs from yours (particularly when the symbol 'closed is passed in as
the third argument).
http://orgmode.org/w/?p=org-mode.git;a=blob;f=lisp/org.el;h=05f5375f4e47bdfe6de55d6aa8f2ec7130dedaca;hb=HEAD#l12230
Also, there's a orgmode mailing list!
Good luck,
Eric
--
GNU Emacs 24.1.50.2 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
of 2012-05-19 on pellet
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-21 1:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-20 18:03 org-mode: Remove CLOSED line when cycling Florian Lindner
2012-05-21 1:56 ` Eric Abrahamsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.