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

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

[emacs-wiki-discuss] Re: Report on emacs-wiki interwiki breakage


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: Report on emacs-wiki interwiki breakage
Date: Thu, 26 Aug 2004 12:15:04 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

Gary Vaughan wrote:

>Hi Michael!

Hi!  :^)

>> 2004-08-26  Michael Olson  <address@hidden>
>> 
>>      * emacs-wiki.el (emacs-wiki-extended-link-regexp): Merged from
>>      Gary's branch; it allows the first part of an extended link to
>>      have whitespace in it.  I'm not completely sure this is the
>>      correct behavior, since I couldn't find mention of it in any
>>      changelogs.
>
>Quite the opposite:
>
>"\\[\\[\\([^][ \t\n]+\\)\\]\\(\\[\\([^][\n]+\\)\\]\\)?\\]"
>
>This is a complement charset:  [^][ \t\n]
>
>It matches any character except `[', `]', ` ', `\t' and `\n'.
>

You're right.  That's what I get for hacking so late at night.

A better ChangeLog is attached.

2004-08-26  Michael Olson  <address@hidden>

        * emacs-wiki.el (emacs-wiki-extended-link-regexp): Merged from
        Gary's branch; don't allow any whitespace in the first section of
        an extended link, because this is supposed to be a URL.
        (emacs-wiki-set-sym-and-url-regexp): replace multiple consecutive
        spaces in regexp with space and tab, since this is probably what
        was meant.  Also define emacs-wiki-url-server-regexp here.
        (emacs-wiki-url-server-regexp): New variable that matches server
        URLs from `emacs-wiki-project-server-prefix'.  We need this
        variable because it is used in `emacs-wiki-relative-link-maybe'
        and has been left unbound for some time.
        (emacs-wiki-publish-current): Don't replace markup in image files.
        From Gary's patch-16.
        (emacs-wiki-publish-files): Set the project before calling
        `emacs-wiki-publish-function'.  From Gary's patch-18.
        (emacs-wiki-relative-link-maybe): Only proceed with the
        calculation for non-nil arguments.  From Gary's patch-19.
        (emacs-wiki-project-interwiki-link): Reordering of
        `with-emacs-wiki-project' and combination of let statements.  From
        a patch sent by Mark Triggs, which was slightly modified to remove
        an extra set of parentheses.

reply via email to

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