From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org-mode Habit with Varying Description Date: Tue, 28 Oct 2014 14:28:06 +0100 Message-ID: <8738a8coih.fsf@nicolasgoaziou.fr> References: <87ppdmfxre.fsf@enterprise.sectorq.net> <87zjcqz2f2.fsf@ericabrahamsen.net> <87egu1zk8k.fsf@konixwork.incubateur.ens-lyon.fr> <87zjcpfksm.fsf@ericabrahamsen.net> <878uk6nng6.fsf@enterprise.sectorq.net> <87tx2q7rt7.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xj6o2-0000PV-VB for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 09:27:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xj6nv-0006KM-1c for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 09:27:26 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:43419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xj6nu-0006KE-Sl for emacs-orgmode@gnu.org; Tue, 28 Oct 2014 09:27:18 -0400 In-Reply-To: <87tx2q7rt7.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 26 Oct 2014 08:51:16 -0700") 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: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Hello, Eric Abrahamsen writes: > Right now it looks like the central "cond" statement in > `org-add-log-setup' is as close as we've got to a canonical definition > of where a heading's log list is to be found. Should I just write my own > version of this, or would you be open to refactoring `org-add-log-setup' > so the "finding" part is a separate function that can be reused > elsewhere? Done, as `org-log-beginning'. Note that it will return a non-nil value even if there is no log list in the entry. Regards, -- Nicolas Goaziou