From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: possible URI handling bug: verification and reporting? Date: Mon, 3 Aug 2009 06:37:58 +0200 Message-ID: References: <20090730213610.A6B5A1405BABB@cedar.isis.unc.edu> <87fxcdzvjo.fsf@gollum.intra.norang.ca> <87y6q5iqt4.fsf@bzg.ath.cx> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXpJG-0001Ai-SC for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:38:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXpJC-00018l-4O for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:38:06 -0400 Received: from [199.232.76.173] (port=33778 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXpJC-00018h-10 for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:38:02 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:49806) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXpJB-00033a-KR for emacs-orgmode@gnu.org; Mon, 03 Aug 2009 00:38:01 -0400 Received: by mail-ew0-f211.google.com with SMTP id 7so1040643ewy.42 for ; Sun, 02 Aug 2009 21:38:01 -0700 (PDT) In-Reply-To: <87y6q5iqt4.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Bernt Hansen , emacs-orgmode@gnu.org, Tom Roche On Jul 31, 2009, at 3:27 AM, Bastien wrote: > Bernt Hansen 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 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