From: David Kastrup <dak@gnu.org>
Cc: Diane Murray <disumu@x3y2z1.net>, emacs-devel@gnu.org
Subject: Re: Add more URI schemes to thing-at-point-uri-schemes.
Date: Sun, 19 Nov 2006 22:15:11 +0100 [thread overview]
Message-ID: <85slgf9m00.fsf@lola.goethe.zz> (raw)
In-Reply-To: <17760.51342.599312.481360@rgrjr.dyndns.org> (Bob Rogers's message of "Sun\, 19 Nov 2006 16\:11\:42 -0500")
Bob Rogers <rogers-emacs@rgrjr.dyndns.org> writes:
> From: Diane Murray <disumu@x3y2z1.net>
> Date: Sat, 18 Nov 2006 21:58:50 +0100
>
> Running (thing-at-point 'url) on a URL starting with "irc:" returns
> "http://irc:". This is because `thing-at-point-uri-schemes' doesn't
> have "irc:" in its definition.
>
> This does fix the problem, but the "irc:" URL is currently being matched
> by thing-at-point-short-url-regexp in thing-at-point-url-at-point, which
> subsequently attaches the "http://" prefix. The attached patch avoids
> prefixing one scheme with another, which is incorrect regardless of how
> many schemes `thing-at-point-uri-schemes' knows about (and is therefore
> independent of your patch).
What does it do with
file:///C:/windows
or something similar?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2006-11-19 21:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-18 20:58 Add more URI schemes to thing-at-point-uri-schemes Diane Murray
2006-11-19 21:11 ` Bob Rogers
2006-11-19 21:15 ` David Kastrup [this message]
2006-11-19 22:21 ` Bob Rogers
2006-11-20 13:00 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85slgf9m00.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=disumu@x3y2z1.net \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.