[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7703: can't detect URLs though plain as day
From: |
Kevin Rodgers |
Subject: |
bug#7703: can't detect URLs though plain as day |
Date: |
Tue, 21 Dec 2010 21:56:16 -0700 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
On 12/21/10 9:08 PM, jidanni@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