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

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

[emacs-wiki-discuss] bug report: emacs-wiki.el -- recognizing extended l


From: Earl Kent
Subject: [emacs-wiki-discuss] bug report: emacs-wiki.el -- recognizing extended links
Date: Tue, 14 Dec 2004 07:54:10 -0800 (PST)

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 looks like the following modification was made:

OLD
---

(defcustom emacs-wiki-extended-link-regexp
 
"\\[\\[\\([^][\n]+\\)\\]\\(\\[\\([^][\n]+\\)\\]\\)?\\]"
  "Regexp used to match [[extended][links]]."
  :type 'regexp
  :group 'emacs-wiki)


NEW
---

(defcustom emacs-wiki-extended-link-regexp
 
"\\[\\[\\([^][[:space:]]+\\)\\]\\(\\[\\([^][\n]+\\)\\]\\)?\\]"
  "Regexp used to match [[extended][links]]."
  :type 'regexp
  :group 'emacs-wiki)


It's not clear why the new line was replaced for the
space, but it breaks things.


---
Regards,
Earl




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

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