[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Date tree capture regexp for headline matching has changed.
From: |
Bernt Hansen |
Subject: |
Re: [O] Date tree capture regexp for headline matching has changed. |
Date: |
Mon, 09 May 2011 21:17:10 -0400 |
User-agent: |
Gnus/5.110017 (No Gnus v0.17) Emacs/23.2 (gnu/linux) |
Charles Cave <address@hidden> writes:
> I compared org-datetre.el from 7.4 to 7.5 and got the following
> diff output (edited)
>
> I can see that the regular expression has become more restricted
> with the addition of \\w+$" at the end.
>
> At least I know what to manually change to make orgmode work the
> way I want it.
>
>
> 105c105 (this is the org-datetree-find-day-create function
> 7.4: (let ((re (format "^\\*+[ \t]+%d-%02d-\\([0123][0-9]\\)[ \t\n]" year
> month))
> ---
> 7.5: (let ((re (format "^\\*+[ \t]+%d-%02d-\\([0123][0-9]\\) \\w+$" year
> month))
Hi Charles,
According to git blame, this change was done in
,----
| commit d9eeb15ab9d55316f08cd7efe818119bb7e5fc56
| Author: Bastien Guerry <address@hidden>
| Date: Tue Feb 15 06:07:53 2011 +0100
|
| Fix bug when jumping to a datetree from the agenda.
|
| Datetree entries have a fixed form now:
|
| * 2011
| ** 2011-02 monthname
| *** 2011-02-13 dayname
|
| These headings will not be recognized as datetrees:
|
| * 2011 A task for 2011
| ** 2011-02 several words
| *** 2011-02-13 several words
|
| Thanks to Detlef Steuer for reporting this.
`----
Regards,
Bernt