emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] [PATCH] Trivial fix for "%3f" in URL bug


From: Carsten Dominik
Subject: Re: [Orgmode] [PATCH] Trivial fix for "%3f" in URL bug
Date: Wed, 17 Mar 2010 12:04:37 +0100


On Mar 17, 2010, at 11:53 AM, Ivan Vilata i Balaguer wrote:

Hi all,

Regarding the previous thread “"%3f" shouldn't be unescaped in HTTP URLs”, I suggested that leaving the '?' or '%3f' characters in a URL as provided by the user might be the best thing to do, since they mean different things (query separator and literal question mark, respectively) and the user should know
best (especially if the URL was copied from a browser).

Fixing the old behaviour is trivial: just remove the ``(?? . "%3F")`` entry
from the ``org-link-escape-chars`` list in ``org.el``.

OK, I have applied this patch, thanks.  I am, however, wondering if this
does the right thing consistently, for example also when adding URLs
containing a question mark using `C-c C-l'.  Or when editing a link
with `C-c C-l' while the cursor is on it.  Maybe you or others can make
a few more tests in this direction?

Thanks.

- Carsten





reply via email to

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