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

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

[emacs-wiki-discuss] Re: bug report: emacs-wiki.el -- recognizing extend


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: bug report: emacs-wiki.el -- recognizing extended links
Date: Tue, 14 Dec 2004 12:22:42 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Earl Kent <address@hidden> writes:

> There seems to be a bug or new behavior introduced in the latest
> version of emacs-wiki.el.  Previously in wiki mode any text
> surrounded in double brackets, e.g.  [[Some Text]], would show up
> and behave as a link.  Now, emacs wiki seems not to accept spaces in
> extended links.  So, you must write the above as: [[SomeText]].
>
> It's not clear why the new line was replaced for the space, but it
> breaks things.

I made the change to not allow spaces in links a few months ago.  Most
recently, the change was from " \t\n" to "[:space:]" in the first part
of extended links, which is correct in itself, AFAICT.

Could you tell me why you need to have links with spaces in them?
What is that supposed to link to?  If I can understand why you need
that functionality, I'll put it back in.

Spaces aren't normally allowed in most kinds of links, from what I
understand.  The only time a space has been needed in a link so far
has been links to Info nodes, but those can be escaped with "%20" and
are done so by default when you create a task from an Info node.

So by not allowing spaces in the first part of extended links, it is
supposed to help someone who accidentally puts a space in the wrong
place by refusing to display it as a link.

-- 
Michael Olson -- FSF Associate Member #652 -- Web: http://www.mwolson.org/
Jabber: mwolson_at_hcoop.net -- IRC: mwolson on freenode.net: #muse, #pulug
  /~ |\ | | |   Interests: animé, Debian GNU/Linux, XHTML, wiki, Lisp
 |_] | \| |_|  Fun quotes: http://www.mwolson.org/plans/QuoteList.html





reply via email to

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