emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Charles Cave <charles.cave@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Date tree capture regexp for headline matching has changed.
Date: Mon, 09 May 2011 21:17:10 -0400	[thread overview]
Message-ID: <87fwoncq21.fsf@norang.ca> (raw)
In-Reply-To: <loom.20110510T025842-664@post.gmane.org> (Charles Cave's message of "Tue, 10 May 2011 01:03:05 +0000 (UTC)")

Charles Cave <charles.cave@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 <bzg@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	other threads:[~2011-05-10  1:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-10  0:35 Date tree capture regexp for headline matching has changed Charles Cave
2011-05-10  1:03 ` Charles Cave
2011-05-10  1:17   ` Bernt Hansen [this message]
2011-05-10  1:34   ` Nick Dokos
2011-05-10  1:58     ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fwoncq21.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=charles.cave@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).