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:55:27 +0200 Message-ID: <878u909zk0.fsf@nicolasgoaziou.fr> References: <87k2slzqgn.fsf@nicolasgoaziou.fr> <1440405658-37048-1-git-send-email-now@disu.se> <87y4h0a0bf.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTykY-0008Mf-FA for emacs-orgmode@gnu.org; Mon, 24 Aug 2015 16:53:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTykX-0005CG-Ek for emacs-orgmode@gnu.org; Mon, 24 Aug 2015 16:53:50 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:42157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTykX-0005CA-7U for emacs-orgmode@gnu.org; Mon, 24 Aug 2015 16:53:49 -0400 In-Reply-To: <87y4h0a0bf.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 24 Aug 2015 22:39:00 +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 Completing myself, Nicolas Goaziou writes: > 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. BTW, would you mind providing an entry about it ORG-NEWS? Thank you.