emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Sebastien Delafond <sdelafond@gmx.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Links with description and '%3f' in URL fail
Date: Fri, 5 Mar 2010 13:37:26 +0100	[thread overview]
Message-ID: <72CD550E-746A-4814-9638-C0B0470526DB@gmail.com> (raw)
In-Reply-To: <20100305105947.169@usenet.piggo.com>

OK, I applied the patch to the git master.
On Mar 5, 2010, at 11:00 AM, Sebastien Delafond wrote:

> On 2010-03-04, Carsten Dominik <carsten.dominik@gmail.com> wrote:
>> Hi Sebastian,
>>
>> could you please try if the following patch does solve this issue?
>>
>> Thanks.
>>
>> - Carsten
>>
>> diff --git a/lisp/org.el b/lisp/org.el
>> index 85b74fa..59d2acf 100644
>> --- a/lisp/org.el
>> +++ b/lisp/org.el
>> @@ -7950,12 +7950,14 @@ This is the list that is used before handing
>> over to the browser.")
>>        (url-unhex-string text)
>>      (setq table (or table org-link-escape-chars))
>>      (when text
>> -      (let ((re (mapconcat (lambda (x) (regexp-quote (cdr x)))
>> +      (let ((case-fold-search t)
>> +	    (re (mapconcat (lambda (x) (regexp-quote (downcase (cdr x))))
>>  			   table "\\|")))
>>  	(while (string-match re text)
>>  	  (setq text
>>  		(replace-match
>> -		 (char-to-string (car (rassoc (match-string 0 text) table)))
>> +		 (char-to-string (car (rassoc (upcase (match-string 0 text))
>> +					      table)))
>>  		 t t text)))
>>  	text))))
>
> yes, it does just fine; thank you very much for you time !
>
> Cheers,
>
> --Seb
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

      reply	other threads:[~2010-03-05 12:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-04 16:06 Links with description and '%3f' in URL fail Sebastien Delafond
2010-03-04 20:51 ` Carsten Dominik
2010-03-05 10:00   ` Sebastien Delafond
2010-03-05 12:37     ` Carsten Dominik [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=72CD550E-746A-4814-9638-C0B0470526DB@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sdelafond@gmx.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).