From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hetzner Subject: Re: Bug in org-log-into-drawer Date: Mon, 29 Oct 2012 20:30:35 -0700 Message-ID: <87vcdsd4bo.wl%egh@e6h.org> References: <87hapgv42o.wl%egh@e6h.org> <808vasguh3.fsf@somewhere.org> <874nlfux3r.wl%egh@e6h.org> <87625tn5kv.fsf@bzg.ath.cx> <87wqy96zyi.wl%egh@e6h.org> <80objljm84.fsf@somewhere.org> Reply-To: Erik Hetzner Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Mon_Oct_29_20:30:34_2012-1" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT2XI-0006l1-SI for emacs-orgmode@gnu.org; Mon, 29 Oct 2012 23:30:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TT2XH-0003Ru-PG for emacs-orgmode@gnu.org; Mon, 29 Oct 2012 23:30:40 -0400 Received: from mail-ia0-f169.google.com ([209.85.210.169]:48990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT2XH-0003Rn-KH for emacs-orgmode@gnu.org; Mon, 29 Oct 2012 23:30:39 -0400 Received: by mail-ia0-f169.google.com with SMTP id h37so5460327iak.0 for ; Mon, 29 Oct 2012 20:30:39 -0700 (PDT) In-Reply-To: <80objljm84.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_Mon_Oct_29_20:30:34_2012-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable At Mon, 29 Oct 2012 17:07:23 +0100, Sebastien Vauban wrote: >=20 > Hello Erik and Bastien, > > [=E2=80=A6] > > I share your point... >=20 > But do we all agree that your original example had to fail when > LOG_INTO_DRAWER is not inherited?[1] >=20 > Or do I miss some point? >=20 > Seb Hi Sebastien, Yes, I had a bad example. But the function org-log-into-drawer would not work (before my patch) on the following example either: * TODO Foo :PROPERTIES: :LOG_INTO_DRAWER: nil :END: The issue was with the distinction between the value nil and string "nil". org-entry-get (without an additional arg) will return the value nil in the above example, which meant that the value of org-log-into-drawer (t) was not being overidden. best, Erik --Multipart_Mon_Oct_29_20:30:34_2012-1 Content-Type: text/plain; charset=US-ASCII Sent from my free software system . --Multipart_Mon_Oct_29_20:30:34_2012-1--