GNU bug report logs - #9153
23.3; browse-url too greedy

Previous Next

Package: emacs;

Reported by: Dave Abrahams <dave <at> boostpro.com>

Date: Sat, 23 Jul 2011 01:08:02 UTC

Severity: minor

Found in version 23.3

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dave Abrahams <dave <at> boostpro.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 9153 <at> debbugs.gnu.org
Subject: bug#9153: 23.3; browse-url too greedy
Date: Sat, 23 Jul 2011 08:07:41 -0400
on Fri Jul 22 2011, Chong Yidong <cyd-AT-stupidchicken.com> wrote:

> Dave Abrahams <dave <at> boostpro.com> writes:
>
>> 1. Put this in an empty buffer:
>>
>>     (http://www.codesourcery.com/public/cxx-abi/abi-eh.html)
>>
>> 2. `M-x browse-url RET'
>>
>> Note that the default in the minibuffer includes the final `)'.  I don't
>> think it should.
>
> Since many URLs contain parentheses, I'm not sure there is a sane way to
> handle this.  

Oh, geez.  I assumed parens were supposed to be urlencoded (wrong!)

Well, when a url ends in a paren you could search for a preceding
unbalanced open paren and if found.... aww, forget it.  I guess I just
have to accept that I have to delimit URLs some other way.

Thanks,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




This bug report was last modified 12 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.