emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug in org-log-into-drawer


From: Sebastien Vauban
Subject: Re: [O] Bug in org-log-into-drawer
Date: Sat, 27 Oct 2012 11:00:40 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (windows-nt)

Hello Erik,

Erik Hetzner wrote:
> Current the org-log-into-drawer function does not honor the value of
> the LOG_INTO_DRAWER property if the property has the value nil. For
> example, if the org-log-into-drawer variable is set to t, but we have
> the file:
>
>   * Foo
>     :PROPERTIES:
>     :LOG_INTO_DRAWER: nil
>     :END:
>   ** TODO Bar
>
> org-mode will log changes to the TODO entry into a drawer.

I would have said that this does make sense, as the property LOG_INTO_DRAWER
is not inherited by the TODO entry, does it?

See http://orgmode.org/manual/Property-inheritance.html for the few Org
properties for which inheritance is hard-coded.

> The attached patch fixes the issue, allowing a nil value of the
> LOG_INTO_DRAWER property to override a t value of the org-log-into-drawer
> variable.

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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