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

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

Re: [emacs-wiki-discuss] Re: Extra brackets in Planner-Muse


From: Jim Ottaway
Subject: Re: [emacs-wiki-discuss] Re: Extra brackets in Planner-Muse
Date: Sun, 06 Nov 2005 23:36:46 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>>>> Sacha Chua <address@hidden> writes:

> Jim Ottaway <address@hidden> writes:
>> But for the latter, I think that planner-multi-copy-or-move-task
>> should be able to deal with "bare" [i.e., non-bracketed] links, since
>> one might want to, or just happen to, type these links by hand.  I

> Right. We need a link regexp that matches both implicit and explicit
> links, and we propbably shouldn't hardcode that. On my system, I've
> added a sacha/muse-link-regexp, but that's hackish like anything.

Perhaps muse-wiki-wikiword-regexp could be used. Hmm.  Loading
muse-wiki actually installs it into muse as well.  It probably
shouldn't do that. 

Assuming it has been made possible to require muse-wiki without
actually installing it, the regexp could be a squashing together of
muse-explicit-link-regexp, muse-wiki-wikiword-regexp, and a version of
planner-date-regexp that matches on substrings. 

For the date regexp, I suppose one would have something like

(defvar planner-date-regexp-substring 
"\\([1-9][0-9][0-9][0-9]\\)\\.\\([0-9]+\\)\\.\\([0-9]+\\)\\'"

(defvar planner-date-regexp
 (concat "\\`" planner-date-regexp-substring "\\'"))

in planner.el.

Regards,

-- 
Jim Ottaway




reply via email to

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