emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: org-mode: Remove CLOSED line when cycling
       [not found] <CAJtBfr-KmKQkoR3yCV-ovCsz85ksme8ObhJuRcgQM61CQZ1HSw@mail.gmail.com>
@ 2012-05-21  1:56 ` Eric Abrahamsen
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2012-05-21  1:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAJtBfr-KmKQkoR3yCV-ovCsz85ksme8ObhJuRcgQM61CQZ1HSw@mail.gmail.com>
2012-05-21  1:56 ` org-mode: Remove CLOSED line when cycling Eric Abrahamsen

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