--- Begin Message ---
Subject: |
23.0.60; isearch string not quoted in M-s h r |
Date: |
Tue, 02 Sep 2008 20:57:30 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
If you do for example
C-s some. M-s h r
then the search string from isearch is not quoted when highlight-regexp
gets it which means it will match for example "something".
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-09-02
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'
--- End Message ---
--- Begin Message ---
Subject: |
Re: 23.0.60; isearch string not quoted in M-s h r |
Date: |
Tue, 02 Sep 2008 20:05:35 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2.92 (gnu/linux) |
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
> Chong Yidong wrote:
>>> If you do for example
>>>
>>> C-s some. M-s h r
>>>
>>> then the search string from isearch is not quoted when
>>> highlight-regexp gets it which means it will match for example
>>> "something".
>>
>> I don't understand. How is this a bug?
>
> C-s and then "some." just matches the string "some.". If it is
> converted to a regexp without quoting it will also match "somet" and
> that was not what the user wanted.
>
> I think this worked before. Something went wrong when you (was it
> you?) took care of the case insensitive problem.
OK, now I understand. I've checked in a fix. Thanks for spotting this.
--- End Message ---