GNU bug report logs - #7703
can't detect URLs though plain as day

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Wed, 22 Dec 2010 04:03:01 UTC

Severity: minor

Merged with 3259, 4952, 5929

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#7703: can't detect URLs though plain as day
Date: Tue, 21 Dec 2010 21:56:16 -0700
On 12/21/10 9:08 PM, jidanni <at> jidanni.org wrote:
> Can
> somebody
> please
> change
>
> (defvar ffap-url-regexp
>    (concat
>     "\\`\\("
>        ^
>        ^
>        ^This
>
> or whatever it is
>
> that causes ffap to be unable to detect the URL in
>
>      新網址:http://smcj.net/《詳全文》
>
> even when one has placed the cursor directly upon it.
>
> It is so frustrating.

What is the status of those angle brackets (U+300A and U+300B) with respect to
the URL standard?

Their Unicode category is "Punctuation, Open" and "Punctuation, Close"
respectively, and their Emacs syntax is "open" and "close" respectively.

In the meantime, here's how you can customize Emacs to do what you want:

(push '(url "--:=&?$+@-Z_[:alpha:]~#,%;*《》" "^[:alnum:]" ":;.,!?")
      ffap-string-at-point-mode-alist)

-- 
Kevin Rodgers
Denver, Colorado, USA





This bug report was last modified 12 years and 173 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.