unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#7703: can't detect URLs though plain as day
Date: Tue, 21 Dec 2010 21:56:16 -0700	[thread overview]
Message-ID: <ies0di$991$1@dough.gmane.org> (raw)
In-Reply-To: <87mxny4fft.fsf@jidanni.org>

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






      reply	other threads:[~2010-12-22  4:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-22  4:08 bug#7703: can't detect URLs though plain as day jidanni
2010-12-22  4:56 ` Kevin Rodgers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ies0di$991$1@dough.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).