From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 16:37:06 2011 Received: (at submit) by debbugs.gnu.org; 16 May 2011 20:37:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QM4XK-0000Iw-Dm for submit@debbugs.gnu.org; Mon, 16 May 2011 16:37:06 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QM4XH-0000H4-BE for submit@debbugs.gnu.org; Mon, 16 May 2011 16:37:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QM4XB-0002VZ-IJ for submit@debbugs.gnu.org; Mon, 16 May 2011 16:36:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:59503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QM4XB-0002VV-Gk for submit@debbugs.gnu.org; Mon, 16 May 2011 16:36:57 -0400 Received: from eggs.gnu.org ([140.186.70.92]:50094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QM4XA-0000O5-L3 for bug-gnu-emacs@gnu.org; Mon, 16 May 2011 16:36:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QM4X9-0002VE-6l for bug-gnu-emacs@gnu.org; Mon, 16 May 2011 16:36:56 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:35383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QM4X9-0002V8-1W for bug-gnu-emacs@gnu.org; Mon, 16 May 2011 16:36:55 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p4GKaqrW021279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 16 May 2011 20:36:54 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p4GKapBO005702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 16 May 2011 20:36:52 GMT Received: from abhmt010.oracle.com (abhmt010.oracle.com [141.146.116.19]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p4GKakAm004806 for ; Mon, 16 May 2011 15:36:46 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 16 May 2011 13:36:46 -0700 From: "Drew Adams" To: Subject: 24.0.50; wrong isearch highlighting for mismatch Date: Mon, 16 May 2011 13:36:50 -0700 Message-ID: <066C4D0D5E9344B6AA56A2F57400BE27@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcwUCPujFYntkJ/zQh+U+M9+3EjD2g== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4DD18AE6.0022:SCFMA922111,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) In this case the mismatch highlighting is inaccurate: emacs -Q C-x b *scratch* C-s ZZZZ The entire search string is highlighted as a mismatch, which is correct. M-e M-a e So the edited search string is eZZZZ. C-s The entire search string, `eZZZZ' is highlighted, even though there are matches for the `e'. Not sure there is an easy fix for this one. And it's not very important. But worth logging for future reference, at least. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-05-10 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/build/include' From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 17:59:46 2011 Received: (at 8679) by debbugs.gnu.org; 16 May 2011 21:59:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QM5pJ-00027b-5p for submit@debbugs.gnu.org; Mon, 16 May 2011 17:59:45 -0400 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QM5pH-00027N-Be for 8679@debbugs.gnu.org; Mon, 16 May 2011 17:59:44 -0400 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 83A8E6E805A; Mon, 16 May 2011 14:59:37 -0700 (PDT) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 4AD4D451C0C6; Mon, 16 May 2011 14:59:36 -0700 (PDT) From: Juri Linkov To: "Drew Adams" Subject: Re: bug#8679: 24.0.50; wrong isearch highlighting for mismatch Organization: JURTA References: <066C4D0D5E9344B6AA56A2F57400BE27@us.oracle.com> Date: Tue, 17 May 2011 01:57:45 +0400 In-Reply-To: <066C4D0D5E9344B6AA56A2F57400BE27@us.oracle.com> (Drew Adams's message of "Mon, 16 May 2011 13:36:50 -0700") Message-ID: <874o4u48dg.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8679 Cc: 8679@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > Not sure there is an easy fix for this one. And it's not very > important. But worth logging for future reference, at least. Currently it has exactly the same behavior as you asked in http://thread.gmane.org/gmane.emacs.devel/74539/focus=74614 From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 18:13:27 2011 Received: (at 8679) by debbugs.gnu.org; 16 May 2011 22:13:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QM62Z-0002PY-NW for submit@debbugs.gnu.org; Mon, 16 May 2011 18:13:27 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QM62Y-0002PL-21 for 8679@debbugs.gnu.org; Mon, 16 May 2011 18:13:26 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p4GMDI5s009130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 16 May 2011 22:13:19 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p4GMDHx6011597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 May 2011 22:13:17 GMT Received: from abhmt010.oracle.com (abhmt010.oracle.com [141.146.116.19]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p4GMDB7e018296; Mon, 16 May 2011 17:13:11 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 16 May 2011 15:13:11 -0700 From: "Drew Adams" To: "'Juri Linkov'" References: <066C4D0D5E9344B6AA56A2F57400BE27@us.oracle.com> <874o4u48dg.fsf@mail.jurta.org> Subject: RE: bug#8679: 24.0.50; wrong isearch highlighting for mismatch Date: Mon, 16 May 2011 15:13:16 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcwUFJDpAfXypSGCTcGYsSboh8CucwAAFwrg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 In-Reply-To: <874o4u48dg.fsf@mail.jurta.org> X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4DD1A180.0008:SCFMA922111,ss=1,fgs=0 X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 8679 Cc: 8679@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) > > Not sure there is an easy fix for this one. And it's not very > > important. But worth logging for future reference, at least. > > Currently it has exactly the same behavior as you asked in > http://thread.gmane.org/gmane.emacs.devel/74539/focus=74614 Not as I _asked_, but as I _stated_ was probably "as good as it gets". To which I added, "but I'm open, if someone has a better idea". I said "I don't know how to fix that." Actually, I forgot about that bug thread. ;-) This time I'm saying something similar, but the use case is different. What I said before is still true, but this report is about the behavior after `M-e', so the consideration about a buffer change doesn't really apply. IOW, both observations are relevant, I think. For this use case (same buffer where `M-e' was used), it might be good if after editing the matching part were not highlighted as a mismatch. Again, dunno whether that would be an easy fix - I doubt it, but maybe you have an idea. I have no good idea about this. Do you? From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 01:45:15 2014 Received: (at 8679) by debbugs.gnu.org; 9 Feb 2014 06:45:15 +0000 Received: from localhost ([127.0.0.1]:59093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCO8f-0006Oi-LI for submit@debbugs.gnu.org; Sun, 09 Feb 2014 01:45:14 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:54732) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCO8c-0006KQ-Ik for 8679@debbugs.gnu.org; Sun, 09 Feb 2014 01:45:11 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WCO8N-0007Ib-Ig; Sun, 09 Feb 2014 07:44:55 +0100 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#8679: 24.0.50; wrong isearch highlighting for mismatch References: <066C4D0D5E9344B6AA56A2F57400BE27@us.oracle.com> Date: Sat, 08 Feb 2014 22:43:44 -0800 In-Reply-To: <066C4D0D5E9344B6AA56A2F57400BE27@us.oracle.com> (Drew Adams's message of "Mon, 16 May 2011 13:36:50 -0700") Message-ID: <87r47c7plr.fsf@building.gnus.org> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1WCO8N-0007Ib-Ig X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392533096.18334@y1aJ9ZnBYw++mOSETEaPOw X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 8679 Cc: 8679@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) "Drew Adams" writes: > In this case the mismatch highlighting is inaccurate: > > emacs -Q > > C-x b *scratch* > > C-s ZZZZ > > The entire search string is highlighted as a mismatch, which is correct. > > M-e M-a e > > So the edited search string is eZZZZ. > > C-s > > The entire search string, `eZZZZ' is highlighted, even though there are > matches for the `e'. Seems to work for me. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 01:45:19 2014 Received: (at control) by debbugs.gnu.org; 9 Feb 2014 06:45:19 +0000 Received: from localhost ([127.0.0.1]:59096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCO8k-0006Ud-Nw for submit@debbugs.gnu.org; Sun, 09 Feb 2014 01:45:19 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:54738) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCO8h-0006QW-He for control@debbugs.gnu.org; Sun, 09 Feb 2014 01:45:16 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WCO8S-0007Ii-Ml for control@debbugs.gnu.org; Sun, 09 Feb 2014 07:45:01 +0100 Date: Sat, 08 Feb 2014 22:43:50 -0800 Message-Id: <87ppmw7pll.fsf@building.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #8679 X-MailScanner-ID: 1WCO8S-0007Ii-Ml X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392533102.2518@W5/I3lXai/7hJgfCOMj6cA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) close 8679 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 11 10:23:36 2014 Received: (at 8679) by debbugs.gnu.org; 11 Feb 2014 15:23:36 +0000 Received: from localhost ([127.0.0.1]:47594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDFBQ-0004an-3K for submit@debbugs.gnu.org; Tue, 11 Feb 2014 10:23:36 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:48784) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDFBO-0004aX-4J for 8679@debbugs.gnu.org; Tue, 11 Feb 2014 10:23:34 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1BFNSsa006623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 11 Feb 2014 15:23:28 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1BFNRFp009713 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Feb 2014 15:23:27 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1BFNRPX016251; Tue, 11 Feb 2014 15:23:27 GMT MIME-Version: 1.0 Message-ID: <715a78fd-35fb-41de-b523-5f86484a0369@default> Date: Tue, 11 Feb 2014 07:23:26 -0800 (PST) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#8679: 24.0.50; wrong isearch highlighting for mismatch References: <066C4D0D5E9344B6AA56A2F57400BE27@us.oracle.com> <87r47c7plr.fsf@building.gnus.org> In-Reply-To: <87r47c7plr.fsf@building.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 8679 Cc: 8679@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) > > In this case the mismatch highlighting is inaccurate: > > > > emacs -Q > > C-x b *scratch* > > C-s ZZZZ > > > > The entire search string is highlighted as a mismatch, which is > > correct. > > > > M-e M-a e > > > > So the edited search string is eZZZZ. > > > > C-s > > > > The entire search string, `eZZZZ' is highlighted, even though > > there are matches for the `e'. >=20 > Seems to work for me. Closing. Seems to work for you apparently means little, I'm afraid. Still a bug on Windows, at least. The only difference in the recipe now is that you need not use M-a. The point is that after inserting `e' at the front of the search string, `C-s' still highlights the whole search string, `eZZZZ', instead of highlighting only the mismatch portion, `ZZZZ'. Should be reopened and fixed. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 11 11:23:57 2014 Received: (at 8679) by debbugs.gnu.org; 11 Feb 2014 16:23:57 +0000 Received: from localhost ([127.0.0.1]:47626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDG7o-0006Jm-38 for submit@debbugs.gnu.org; Tue, 11 Feb 2014 11:23:56 -0500 Received: from mtaout24.012.net.il ([80.179.55.180]:46335) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDG7k-0006JV-EP for 8679@debbugs.gnu.org; Tue, 11 Feb 2014 11:23:53 -0500 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0N0U00O00ASH1E00@mtaout24.012.net.il> for 8679@debbugs.gnu.org; Tue, 11 Feb 2014 18:22:50 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0U00K0SAU2BW40@mtaout24.012.net.il>; Tue, 11 Feb 2014 18:22:50 +0200 (IST) Date: Tue, 11 Feb 2014 18:23:34 +0200 From: Eli Zaretskii Subject: Re: bug#8679: 24.0.50; wrong isearch highlighting for mismatch In-reply-to: <715a78fd-35fb-41de-b523-5f86484a0369@default> X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <837g91ty7t.fsf@gnu.org> References: <066C4D0D5E9344B6AA56A2F57400BE27@us.oracle.com> <87r47c7plr.fsf@building.gnus.org> <715a78fd-35fb-41de-b523-5f86484a0369@default> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 8679 Cc: 8679@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Tue, 11 Feb 2014 07:23:26 -0800 (PST) > From: Drew Adams > Cc: 8679@debbugs.gnu.org > > > > In this case the mismatch highlighting is inaccurate: > > > > > > emacs -Q > > > C-x b *scratch* > > > C-s ZZZZ > > > > > > The entire search string is highlighted as a mismatch, which is > > > correct. > > > > > > M-e M-a e > > > > > > So the edited search string is eZZZZ. > > > > > > C-s > > > > > > The entire search string, `eZZZZ' is highlighted, even though > > > there are matches for the `e'. > > > > Seems to work for me. Closing. > > Seems to work for you apparently means little, I'm afraid. > > Still a bug on Windows, at least. The only difference in the > recipe now is that you need not use M-a. The point is that > after inserting `e' at the front of the search string, `C-s' > still highlights the whole search string, `eZZZZ', instead of > highlighting only the mismatch portion, `ZZZZ'. Why is that a bug? What do you get with this simplified recipe? emacs -Q C-s eZZZZ When you type 'e', all the 'e's in the buffer are highlighted, but the 'e' in the echo area is highlighted in pink. As soon as you type the first 'Z', the highlight in the buffer goes away, and the whole "eZ" in the echo area is colored in pink. And that is what I would expect. What you seem to expect happens when the search wraps around, but no such wrap-around happens in your recipe. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 11 11:58:23 2014 Received: (at 8679) by debbugs.gnu.org; 11 Feb 2014 16:58:23 +0000 Received: from localhost ([127.0.0.1]:47696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDGf9-0007Oa-CA for submit@debbugs.gnu.org; Tue, 11 Feb 2014 11:58:23 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:26250) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDGf8-0007OJ-4D for 8679@debbugs.gnu.org; Tue, 11 Feb 2014 11:58:22 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1BGwEkK031402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 11 Feb 2014 16:58:15 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1BGwDSD027678 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Feb 2014 16:58:14 GMT Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1BGwDB8003613; Tue, 11 Feb 2014 16:58:13 GMT MIME-Version: 1.0 Message-ID: <1558a896-e67e-4c05-b87e-82ccd45bfbdd@default> Date: Tue, 11 Feb 2014 08:58:12 -0800 (PST) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#8679: 24.0.50; wrong isearch highlighting for mismatch References: <<066C4D0D5E9344B6AA56A2F57400BE27@us.oracle.com>> <<87r47c7plr.fsf@building.gnus.org>> <<715a78fd-35fb-41de-b523-5f86484a0369@default>> <<837g91ty7t.fsf@gnu.org>> In-Reply-To: <<837g91ty7t.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 8679 Cc: 8679@debbugs.gnu.org, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) > Why is that a bug? What do you get with this simplified recipe? >=20 > emacs -Q > C-s eZZZZ >=20 > When you type 'e', all the 'e's in the buffer are highlighted, but > the 'e' in the echo area is highlighted in pink. It depends where you start the search. If you start with point at eob then what you say is true. If you start the search at bob then the `e' is not pink when you just type `e'. When you then type `ZZZZ', so your search string is now `eZZZZ', the buffer highlighting disappears (there are no matches). The mismatched portion of your search string, which is the `ZZZZ' portion, is highlighted pink, to show that it is a mismatch. This is the correct (intended) behavior. > As soon as you type the first 'Z', the highlight in the buffer goes > away, and the whole "eZ" in the echo area is colored in pink. See above. > And that is what I would expect. It might be all we can reasonably expect; I don't know. Probably Juri can answer that. And yes, in that case this is probably also the answer to the bug fix request: it might not be easy to fix. But the intended behavior of the pink highlighting is to highlight the mismatch portion of the search string. What this means is that there is a bug - the intention is not to highlight also the matched portion. It may not be a bug that we can fix, but it is a bug. > What you seem to expect happens when the search wraps around, but no > such wrap-around happens in your recipe. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 11 15:12:14 2014 Received: (at 8679) by debbugs.gnu.org; 11 Feb 2014 20:12:14 +0000 Received: from localhost ([127.0.0.1]:47872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDJgj-00083J-3s for submit@debbugs.gnu.org; Tue, 11 Feb 2014 15:12:13 -0500 Received: from [69.163.184.122] (port=52303 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDJgg-00083A-Jt for 8679@debbugs.gnu.org; Tue, 11 Feb 2014 15:12:11 -0500 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.184.122]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 8DB1932D742BEA; Tue, 11 Feb 2014 12:12:08 -0800 (PST) From: Juri Linkov To: Drew Adams Subject: Re: bug#8679: 24.0.50; wrong isearch highlighting for mismatch Organization: JURTA References: <066C4D0D5E9344B6AA56A2F57400BE27@us.oracle.com>> <87r47c7plr.fsf@building.gnus.org>> <715a78fd-35fb-41de-b523-5f86484a0369@default>> <837g91ty7t.fsf@gnu.org>> <1558a896-e67e-4c05-b87e-82ccd45bfbdd@default> Date: Tue, 11 Feb 2014 22:11:03 +0200 In-Reply-To: <1558a896-e67e-4c05-b87e-82ccd45bfbdd@default> (Drew Adams's message of "Tue, 11 Feb 2014 08:58:12 -0800 (PST)") Message-ID: <87ppmt9zsv.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > It might be all we can reasonably expect; I don't know. Probably > Juri can answer that. And yes, in that case this is probably > also the answer to the bug fix request: it might not be easy to > fix. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 8679 Cc: 8679@debbugs.gnu.org, Eli Zaretskii , larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > It might be all we can reasonably expect; I don't know. Probably > Juri can answer that. And yes, in that case this is probably > also the answer to the bug fix request: it might not be easy to > fix. [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS > It might be all we can reasonably expect; I don't know. Probably > Juri can answer that. And yes, in that case this is probably > also the answer to the bug fix request: it might not be easy to > fix. No one proposed a better idea since this was discussed last time in bug#14729. From unknown Mon Jun 23 13:11:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 12 Mar 2014 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator