From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Allow datetree to find years with trailing whitespace. Date: Fri, 25 May 2012 23:22:37 +0200 Message-ID: <87aa0vx2ya.fsf@altern.org> References: <87zk8w5dm3.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SY3nZ-00083u-4u for emacs-orgmode@gnu.org; Fri, 25 May 2012 19:20:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SY3nW-0000qA-Dn for emacs-orgmode@gnu.org; Fri, 25 May 2012 19:19:56 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:56782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SY3nW-0000os-5M for emacs-orgmode@gnu.org; Fri, 25 May 2012 19:19:54 -0400 Received: by mail-we0-f169.google.com with SMTP id h52so1131335wef.0 for ; Fri, 25 May 2012 16:19:53 -0700 (PDT) In-Reply-To: <87zk8w5dm3.fsf@fastmail.fm> (Matt Lundin's message of "Fri, 25 May 2012 13:16:26 -0500") 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: Matt Lundin Cc: Org Mode Hi Matt, Matt Lundin writes: > * lisp/org-datetree.el: Fix regexp to allow datetree to find headings > with trailing whitespace. This fixes a bug in which an existing > datetree heading (e.g., "* 2012 ") would not be found by > org-datetree-find-year-create if it had trailing whitespace. This can > cause problems, for instance, if one is using column view on the date > tree, since editing subheadings with column view adds whitespace at > the end of the top heading. Applied in master, thanks! -- Bastien