From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Bug report: filing into a date tree in year 2011 when 2010 exists in file Date: Tue, 4 Jan 2011 08:07:28 +0100 Message-ID: References: <15E5F9A7-4EC0-4955-8E03-EEB875FA3A66@gmail.com> <04D3058F-17E9-47AA-99A2-E6D729176B2E@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=37479 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pa0zV-0000NY-TN for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 02:07:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pa0zU-0003gG-Mm for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 02:07:33 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:48888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pa0zU-0003fz-IA for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 02:07:32 -0500 Received: by ewy27 with SMTP id 27so7138502ewy.0 for ; Mon, 03 Jan 2011 23:07:31 -0800 (PST) In-Reply-To: <04D3058F-17E9-47AA-99A2-E6D729176B2E@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org, Charles Cave On Jan 4, 2011, at 7:24 AM, Carsten Dominik wrote: > What would be helpful is a minimal file that, as a date-tree target, > reproduces the issue. I am sure the problem could then easily be > found. If you want to follow the procedure yourself, do M-x debug-on-entry RET org-datetree-find-year-create RET and then step through the function and try to understand why it identified the 2010 tree as a match. - Carsten > > - Carsten > > On Jan 4, 2011, at 4:48 AM, Charles Cave wrote: > >>> Carsten Dominik gmail.com> writes: >> >>> Strange, for me this worked without any problems this morning. >> >> I have found that the new year was created in other files but it >> definitely >> misbehaves in my taskdiary.org file. >> >> I can only assume there is a pattern of characters that fools the >> algorithm >> for locating the headline >> >> I did another test and this is what the sparse tree looks like: >> >> * 2010 >> :PROPERTIES: ... >> * 2010-10 October... >> * 2010-11 November... >> * 2011-01 January >> * Testing >> Added [2011-01-04 Tue 14:45] >> >> I will keep checking the data and see if I can locate the offending >> text. >> It is annoying to see the years out of sequence >> >> Charles >> >> http://twitter.com/#!/ozcaveman >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >