From unknown Sat Jun 14 18:56:03 2025 X-Loop: don@donarmstrong.com Subject: bug#867: 23.0.60; isearch string not quoted in M-s h r Reply-To: "Lennart Borgman (gmail)" , 867@debbugs.gnu.org Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 02 Sep 2008 19:05:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 867 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122038186318625 (code B ref -1); Tue, 02 Sep 2008 19:05:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.4 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Sep 2008 18:57:43 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m82Ive2k018619 for ; Tue, 2 Sep 2008 11:57:41 -0700 Received: from mx10.gnu.org ([199.232.76.166]:57655) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Kab2o-0007pp-OA for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 14:56:02 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Kab4K-0004nU-9F for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 14:57:39 -0400 Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:39698) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kab4J-0004n2-NE for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 14:57:36 -0400 Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:60089 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Kab4H-0007PL-6E for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 20:57:34 +0200 Message-ID: <48BD8C9A.5040707@gmail.com> Date: Tue, 02 Sep 2008 20:57:30 +0200 From: "Lennart Borgman (gmail)" 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 MIME-Version: 1.0 To: emacs-pretest-bug@gnu.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080902-0, 2008-09-02), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1Kab4H-0007PL-6E. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Kab4H-0007PL-6E 88ee75bb879ccfa3ddcb0ab4b0474b6b X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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' From unknown Sat Jun 14 18:56:03 2025 X-Loop: don@donarmstrong.com Subject: bug#867: 23.0.60; isearch string not quoted in M-s h r Reply-To: Chong Yidong , 867@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 02 Sep 2008 23:00:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 867 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 867-submit@emacsbugs.donarmstrong.com id=B867.12203959472072 (code B ref 867); Tue, 02 Sep 2008 23:00:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 867) by emacsbugs.donarmstrong.com; 2 Sep 2008 22:52:27 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m82MqOX2002066 for <867@emacsbugs.donarmstrong.com>; Tue, 2 Sep 2008 15:52:25 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id C810257E339; Tue, 2 Sep 2008 18:54:46 -0400 (EDT) To: "Lennart Borgman \(gmail\)" Cc: 867@debbugs.gnu.org From: Chong Yidong Date: Tue, 02 Sep 2008 18:54:46 -0400 Message-ID: <87sksiqhu1.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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? From unknown Sat Jun 14 18:56:03 2025 X-Loop: don@donarmstrong.com Subject: bug#867: 23.0.60; isearch string not quoted in M-s h r Reply-To: "Lennart Borgman (gmail)" , 867@debbugs.gnu.org Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 02 Sep 2008 23:10:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 867 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 867-submit@emacsbugs.donarmstrong.com id=B867.12203967227182 (code B ref 867); Tue, 02 Sep 2008 23:10:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 867) by emacsbugs.donarmstrong.com; 2 Sep 2008 23:05:22 +0000 Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m82N5IBG007102 for <867@emacsbugs.donarmstrong.com>; Tue, 2 Sep 2008 16:05:19 -0700 Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:61269 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Kaew0-0001TV-5b; Wed, 03 Sep 2008 01:05:16 +0200 Message-ID: <48BDC6A5.6090300@gmail.com> Date: Wed, 03 Sep 2008 01:05:09 +0200 From: "Lennart Borgman (gmail)" 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 MIME-Version: 1.0 To: Chong Yidong CC: 867@debbugs.gnu.org References: <87sksiqhu1.fsf@cyd.mit.edu> In-Reply-To: <87sksiqhu1.fsf@cyd.mit.edu> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080902-0, 2008-09-02), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1Kaew0-0001TV-5b. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Kaew0-0001TV-5b c6e0de3b04975713f8efe3514c5ded55 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. From unknown Sat Jun 14 18:56:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Lennart Borgman (gmail)" Subject: bug#867 closed by Chong Yidong (Re: 23.0.60; isearch string not quoted in M-s h r) Message-ID: References: <877i9u14c0.fsf@cyd.mit.edu> <48BD8C9A.5040707@gmail.com> X-Emacs-PR-Message: they-closed 867 X-Emacs-PR-Package: emacs Reply-To: 867@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1220400606-28885-1" This is a multi-part message in MIME format... ------------=_1220400606-28885-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #867: 23.0.60; isearch string not quoted in M-s h r It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 867: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D867 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1220400606-28885-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Tue Sep 2 17:03:15 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,BAYES_00,GMAIL autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 867-done) by emacsbugs.donarmstrong.com; 3 Sep 2008 00:03:16 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8303Cqj026263 for <867-done@emacsbugs.donarmstrong.com>; Tue, 2 Sep 2008 17:03:14 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 87BC257E339; Tue, 2 Sep 2008 20:05:35 -0400 (EDT) To: "Lennart Borgman \(gmail\)" Cc: 867-done@debbugs.gnu.org Subject: Re: 23.0.60; isearch string not quoted in M-s h r References: <87sksiqhu1.fsf@cyd.mit.edu> <48BDC6A5.6090300@gmail.com> From: Chong Yidong Date: Tue, 02 Sep 2008 20:05:35 -0400 In-Reply-To: <48BDC6A5.6090300@gmail.com> (Lennart Borgman's message of "Wed\, 03 Sep 2008 01\:05\:09 +0200") Message-ID: <877i9u14c0.fsf@cyd.mit.edu> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii "Lennart Borgman (gmail)" 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. ------------=_1220400606-28885-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From lennart.borgman@gmail.com Tue Sep 2 11:57:43 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.4 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Sep 2008 18:57:43 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m82Ive2k018619 for ; Tue, 2 Sep 2008 11:57:41 -0700 Received: from mx10.gnu.org ([199.232.76.166]:57655) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Kab2o-0007pp-OA for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 14:56:02 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Kab4K-0004nU-9F for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 14:57:39 -0400 Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:39698) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kab4J-0004n2-NE for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 14:57:36 -0400 Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:60089 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Kab4H-0007PL-6E for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 20:57:34 +0200 Message-ID: <48BD8C9A.5040707@gmail.com> Date: Tue, 02 Sep 2008 20:57:30 +0200 From: "Lennart Borgman (gmail)" 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 MIME-Version: 1.0 To: emacs-pretest-bug@gnu.org Subject: 23.0.60; isearch string not quoted in M-s h r X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080902-0, 2008-09-02), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1Kab4H-0007PL-6E. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Kab4H-0007PL-6E 88ee75bb879ccfa3ddcb0ab4b0474b6b X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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' ------------=_1220400606-28885-1--