Charles Cave <charles.c...@gmail.com> 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 <b...@altern.org>
| 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


Reply via email to