* Commas in URLs (was FFAP)
[not found] <E1N7rJS-0003TQ-Sh@mail.fsf.org>
@ 2009-11-10 20:04 ` Jonathan Yavner
2009-11-11 0:17 ` Juri Linkov
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Yavner @ 2009-11-10 20:04 UTC (permalink / raw)
To: Juri Linkov, MON KEY; +Cc: emacs-devel
[Juri wrote:]
>> Then evaluate `url-get-url-at-point' for following:
>>
>>http://www.vintagefashionguild.org/component/option,com_alphacontent/section,6/cat,59/task,view/id,496/Itemid,100/
>
> This URL is from Joomla that uses commas to separate keywords.
How about this case:
To get to my house, click on http://maps.google.ca/maps?q=baden,on, then
click on "Directions".
The final comma should *not* be included. Nor should a final period,
although of course embedded periods are typical for URLs.
Appendix E of RFC 2396 says URLs should be "quoted" or <quoted> when
used within plaintext, and then commas should follow closing-quotes, but
this is often not done.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Commas in URLs (was FFAP)
2009-11-10 20:04 ` Commas in URLs (was FFAP) Jonathan Yavner
@ 2009-11-11 0:17 ` Juri Linkov
0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2009-11-11 0:17 UTC (permalink / raw)
To: Jonathan Yavner; +Cc: MON KEY, emacs-devel
> How about this case:
>
> To get to my house, click on http://maps.google.ca/maps?q=baden,on, then
> click on "Directions".
>
> The final comma should *not* be included. Nor should a final period,
> although of course embedded periods are typical for URLs.
>
> Appendix E of RFC 2396 says URLs should be "quoted" or <quoted> when
> used within plaintext, and then commas should follow closing-quotes, but
> this is often not done.
I see in Gnus the final comma is not included to the highlighted URL
due to `gnus-button-url-regexp'. It seems that URL matching in Gnus
is the most standard-compliant.
--
Juri Linkov
http://www.jurta.org/emacs/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-11 0:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1N7rJS-0003TQ-Sh@mail.fsf.org>
2009-11-10 20:04 ` Commas in URLs (was FFAP) Jonathan Yavner
2009-11-11 0:17 ` Juri Linkov
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.