emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-wiki-discuss] Re: Problem with planner-task-info-from-string


From: Toby Allsopp
Subject: Re: [emacs-wiki-discuss] Re: Problem with planner-task-info-from-string
Date: Fri, 11 Mar 2005 16:11:54 +1300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (cygwin)

On 11 Mar 2005 at 15:53 NZST, Sacha Chua (address@hidden) wrote:

> Toby Allsopp <address@hidden> writes:
>
>> It seems that planner-task-info-from-string only correctly
>> identifies a task's date from its link if the current buffer is in
>> planner-mode because it uses emacs-wiki-name-regexp to check if the
>> link is actually a link but the non-planner version of that regexp
>> doesn't match links to day pages.
>
> Thanks for pointing this out! Instead of using a new variable, I
> just defined a with-planner macro (we needed that anyway) that
> ensures we are in planner context before doing something that relies
> on the right emacs-wiki variables.

Cool, that's much neater.

> By the way, your diff seems reversed. You can also use M-x
> diff-buffer-with-file or M-x diff-backup to easily generate diffs
> within Emacs.

Oops!  I actually tried M-x diff-backup first but wanted to tell diff
to ignore whitespace.  If I'd taken the 10 seconds to read the
documentation for diff-backup I would have realised that this was easy
to achieve and saved you some confusion.  Sorry about that.

Toby.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]