From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH v3 1/3] org-datetree.el: Code cleanup. Date: Tue, 29 Dec 2015 21:58:59 +0100 Message-ID: <87ege5ott8.fsf@nicolasgoaziou.fr> References: <87h9n4hpql.fsf@nicolasgoaziou.fr> <2215700.ISJ2XYnHec@descartes> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE1KM-0003gx-FC for emacs-orgmode@gnu.org; Tue, 29 Dec 2015 15:57:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aE1KL-0003FF-IR for emacs-orgmode@gnu.org; Tue, 29 Dec 2015 15:57:06 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:38810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE1KL-0003F9-Cn for emacs-orgmode@gnu.org; Tue, 29 Dec 2015 15:57:05 -0500 In-Reply-To: <2215700.ISJ2XYnHec@descartes> (=?utf-8?Q?=22R=C3=BCdiger?= Sonderfeld"'s message of "Tue, 29 Dec 2015 17:48:55 +0000") 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: =?utf-8?Q?R=C3=BCdiger?= Sonderfeld Cc: emacs-orgmode@gnu.org Hello, R=C3=BCdiger Sonderfeld writes: > * lisp/org-datetree.el (org-datetree--find-create): New function. > (org-datetree-find-year-create, org-datetree-find-month-create, > org-datetree-find-day-create): Removed functions > (org-datetree-find-date-create): Use `org-datetree--find-create' instead > of removed functions. Use calendar extract functions. > (org-datetree-insert-line): Do more formatting in `format-time-string' > since we call it anyway > * testing/lisp/test-org-datetree.el (test-org-datetree/find-date-create): > Test if new entries are put at the right place. Applied. Thank you. Regards, --=20 Nicolas Goaziou