emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: possible URI handling bug: verification and reporting?


From: Carsten Dominik
Subject: Re: [Orgmode] Re: possible URI handling bug: verification and reporting?
Date: Mon, 3 Aug 2009 06:37:58 +0200


On Jul 31, 2009, at 3:27 AM, Bastien wrote:

Bernt Hansen <address@hidden> writes:

I think the parenthesis should be URL encoded to be a valid URL.

Change ( to %28 and ) to %29 and you get

http://dx.doi.org/10.1016/S1352-2310%2801%2900429-0

which works for me (at least it doesn't 404 anymore)

Gnus also stops the fontification at the ( so I don't think this is
org-mode specific.

Org-mode explicitely excluded parentheses from `org-plain-link-re' so
yes, it was org-mode specific.  And (browse-url-url-at-point) was not
confused either by parentheses, so org-mode needed to be fixed (and
perhaps Gnus needs too!)

The reason why Org (and probably GNUS) exclude parenthesis from
plain links it to make them good citizens in plain text.  Identifying
a plain link is a heuristic matter, and it seemed to me that
more often is a link the last thing in a pair of parenthesis than are
parenthesis part of a link.  To cover links with special characters,
Org has the <link> and [[link]] formats.

So I have reverted this change and will keep it this way unless
convinced/overruled by more discussion about the issue.

- Carsten





reply via email to

[Prev in Thread] Current Thread [Next in Thread]