From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Allow inserting diary entries last in date tree Date: Mon, 24 Aug 2015 22:39:00 +0200 Message-ID: <87y4h0a0bf.fsf@nicolasgoaziou.fr> References: <87k2slzqgn.fsf@nicolasgoaziou.fr> <1440405658-37048-1-git-send-email-now@disu.se> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTyUe-0007Sq-7K for emacs-orgmode@gnu.org; Mon, 24 Aug 2015 16:37:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTyUd-00031A-Fb for emacs-orgmode@gnu.org; Mon, 24 Aug 2015 16:37:24 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:49919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTyUd-0002y0-8o for emacs-orgmode@gnu.org; Mon, 24 Aug 2015 16:37:23 -0400 In-Reply-To: <1440405658-37048-1-git-send-email-now@disu.se> (Nikolai Weibull's message of "Mon, 24 Aug 2015 10:40:58 +0200") 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: Nikolai Weibull Cc: emacs-orgmode@gnu.org Nikolai Weibull writes: > * org-agenda.el (org-agenda-insert-diary-strategy): Add new value > 'date-tree-last. > (org-agenda-insert-diary-make-new-entry): Handle > `org-agenda-insert-diary-strategy' set to 'date-tree-last. > > To allow for diary entries to be entered in time order in the date tree, > add a new value to `org-agenda-insert-diary-strategy' that allows for > this. The code for handling this value, 'date-tree-last, is a bit > tricky, as we need to keep track of whether the date-tree already had > one or more entries for the given date. Applied. Thank you. Regards,