>>>>> Michael Olson <[EMAIL PROTECTED]> writes:

> I'm really not a fan of making a generic regexp that matches both

> explicit and implicit links.  It was a lot simpler to make Muse do

> what it does now, which is as follows.



> Term :: a "handler" is a routine that cycles through a list of

> functions, passing the link to each one that is called



>  - a distinct regexp for explicit links



>  - a handler for explicit links that can "intercept" the links before

>    they are put in final form -- if no function handles the link,

>    still accept it



>  - a very generic regexp for implicit links, which is only used by

>    muse-link-at-point



>  - a handler for implicit links detected by this generic regexp that

>    calls a customizable list of functions -- at least one function

>    must provide a match, or the link is ignored


Thank you, that's a very helpful explanation.


-- 
Jim Ottaway


_______________________________________________
emacs-wiki-discuss mailing list
emacs-wiki-discuss@nongnu.org
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss

Reply via email to