From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hetzner Subject: Re: Bug in org-log-into-drawer Date: Sat, 27 Oct 2012 19:52:24 -0700 Message-ID: <874nlfux3r.wl%egh@e6h.org> References: <87hapgv42o.wl%egh@e6h.org> <808vasguh3.fsf@somewhere.org> Reply-To: Erik Hetzner Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Sat_Oct_27_19:52:23_2012-1" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSIzF-0007bR-9r for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 22:52:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSIzE-00061g-1h for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 22:52:29 -0400 Received: from mail-ia0-f169.google.com ([209.85.210.169]:63162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSIzD-00061W-SJ for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 22:52:27 -0400 Received: by mail-ia0-f169.google.com with SMTP id h37so3872312iak.0 for ; Sat, 27 Oct 2012 19:52:27 -0700 (PDT) In-Reply-To: <808vasguh3.fsf@somewhere.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: emacs-orgmode --Multipart_Sat_Oct_27_19:52:23_2012-1 Content-Type: text/plain; charset=US-ASCII At Sat, 27 Oct 2012 11:00:40 +0200, Sebastien Vauban wrote: > > Hello Erik, > > 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. Hi Seb, The function org-log-into-drawer called the function org-entry-get with the inherit argument before I got there. (Maybe it needs to be added to that list?) This issue had to do with the difference between the string nil (as supplied in the property) and the value nil (meaning no property was found). best, Erik --Multipart_Sat_Oct_27_19:52:23_2012-1 Content-Type: text/plain; charset=US-ASCII Sent from my free software system . --Multipart_Sat_Oct_27_19:52:23_2012-1--