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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7703 in the body.
You can then email your comments to 7703 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7703; Package emacs. (Wed, 22 Dec 2010 04:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 22 Dec 2010 04:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: can't detect URLs though plain as day
Date: Wed, 22 Dec 2010 12:08:54 +0800
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.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7703; Package emacs. (Wed, 22 Dec 2010 04:51:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: 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





Merged 3259 5929 7703. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 12 Feb 2011 02:35:01 GMT) Full text and rfc822 format available.

Severity set to 'minor' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 12 Feb 2011 02:35:01 GMT) Full text and rfc822 format available.

Merged 3259 4952 5929 7703. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 13 Jul 2011 14:38:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Jan 2013 12:24:03 GMT) Full text and rfc822 format available.

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.