* bug#7703: can't detect URLs though plain as day
@ 2010-12-22 4:08 jidanni
2010-12-22 4:56 ` Kevin Rodgers
0 siblings, 1 reply; 2+ messages in thread
From: jidanni @ 2010-12-22 4:08 UTC (permalink / raw)
To: 7703
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#7703: can't detect URLs though plain as day
2010-12-22 4:08 bug#7703: can't detect URLs though plain as day jidanni
@ 2010-12-22 4:56 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2010-12-22 4:56 UTC (permalink / raw)
To: bug-gnu-emacs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-22 4:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-22 4:08 bug#7703: can't detect URLs though plain as day jidanni
2010-12-22 4:56 ` Kevin Rodgers
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).