GNU bug report logs - #867
23.0.60; isearch string not quoted in M-s h r

Previous Next

Package: emacs;

Reported by: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>

Date: Tue, 2 Sep 2008 19:05:06 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 867 in the body.
You can then email your comments to 867 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#867; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; isearch string not quoted in M-s h r
Date: Tue, 02 Sep 2008 20:57:30 +0200
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'




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#867; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 867 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>
Cc: 867 <at> debbugs.gnu.org
Subject: Re: 23.0.60; isearch string not quoted in M-s h r
Date: Tue, 02 Sep 2008 18:54:46 -0400
> 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?




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#867; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 867 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 867 <at> debbugs.gnu.org
Subject: Re: 23.0.60; isearch string not quoted in M-s h r
Date: Wed, 03 Sep 2008 01:05:09 +0200
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.




Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #20 received at 867-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>
Cc: 867-done <at> debbugs.gnu.org
Subject: Re: 23.0.60; isearch string not quoted in M-s h r
Date: Tue, 02 Sep 2008 20:05:35 -0400
"Lennart Borgman (gmail)" <lennart.borgman <at> 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.




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 01 Oct 2008 14:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 259 days ago.

Previous Next


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