Juri Linkov <juri@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Juri Linkov <juri@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 77121) by debbugs.gnu.org; 22 Mar 2025 19:19:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 15:19:39 2025 Received: from localhost ([127.0.0.1]:45501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw4Nf-0006wc-IT for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 15:19:39 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:41243) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tw4Nd-0006vw-1K; Sat, 22 Mar 2025 15:19:37 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 9CAD9442AB; Sat, 22 Mar 2025 19:19:25 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Sora Takai <SoraTakai@HIDDEN> Subject: Re: bug#77121: [PATCH] Make isearch highlight overlays non-sticky (non-advance) at both ends In-Reply-To: <7aY9rDS-VTgPSYO84bGpOluxOG824BtsXW3B-gZgHtpZg8_aaXClYhJf6HDN5NTdpBQ5I842Zz-t54daA-odEDftph5EtouczrtnFzUy68I=@protonmail.com> Organization: LINKOV.NET References: <pmxJ4ssAOaO2tE5tOw1FDrX55gdu0o8P4o-xT80qmara01m4lr_EokTCFByknGmD4prOA_jBuzF-xp45uzlGF0osw5gd9wkxHLMT9kz7-zw=@protonmail.com> <c9jsADYLViaqjxZi9CuieG0oo019fU7c0efM4wYFtsHbA4Ejc3OurPnlBIfSxNH_6h0Qk8jPmHrIS2Ch1CVGYSNWDENRZjPzd4gW9kLJ7bo=@protonmail.com> <86y0wznawj.fsf@HIDDEN> <87sen6kek4.fsf@HIDDEN> <7aY9rDS-VTgPSYO84bGpOluxOG824BtsXW3B-gZgHtpZg8_aaXClYhJf6HDN5NTdpBQ5I842Zz-t54daA-odEDftph5EtouczrtnFzUy68I=@protonmail.com> Date: Sat, 22 Mar 2025 21:17:50 +0200 Message-ID: <87a59c27tt.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduheegjeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeffgeetfeevlefhleejfeeuheeiudeitdffhfdutdekfeffgffhveehteegueekheenucfkphepledurdduvdelrddutdehrdduudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutdehrdduudejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepgedprhgtphhtthhopegtohhnthhrohhlseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepjeejuddvudesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopefuohhrrgfvrghkrghisehprhhothhonhhmrghilhdrtghomh X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 77121 Cc: Eli Zaretskii <eliz@HIDDEN>, 77121 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) forcemerge 77120 77121 close 77121 31.0.50 thanks > These are the steps to reproduce it: Thanks for the detailed instructions. Now I see that this is a known problem. I encounter it frequently, but didn't see a way to fix this because often I need to add new text in the middle the overlay. But it would be nice to fix it at least for front positions. > 10. with this patch, you won't get the same lazy highlight color > inherited on " rocks." string; without it, you'll get the same > highlight color. Actually, the color is not inherited at the rear position even without your patch. So your patch fixes only the front position. >>> Sorry, here is an updated patch. I think this is enough since it is for the most part lazy-highlights with (setq >>> isearch-lazy-highlight t) and (setq lazy-highlight-cleanup nil) that matter for editing. Thanks for the patch. Now it's pushed to master.
bug-gnu-emacs@HIDDEN
:bug#77121
; Package emacs
.
Full text available.Received: (at 77121) by debbugs.gnu.org; 21 Mar 2025 14:26:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 10:26:42 2025 Received: from localhost ([127.0.0.1]:38530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvdKb-0003LV-LE for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 10:26:42 -0400 Received: from mail-43166.protonmail.ch ([185.70.43.166]:31867) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <SoraTakai@HIDDEN>) id 1tvYjB-0006O1-GG for 77121 <at> debbugs.gnu.org; Fri, 21 Mar 2025 05:31:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1742549499; x=1742808699; bh=1unDnnLdHfjC11BRDkeO5FPFd7F5k4hQDVSIhrRhz8c=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=g1Hcjo2Jomy1xs8ca4XxoPUASG9saqzoDimNGbeJNMDmzI7eHfnEtbhfbUtLX3Lkw vldEJvNIEzgOzbwh12FW2mKh30PrvB+zq3ECMnm7LrOkVDfgHGmT0VGQpD8+kJyB/n vLdbCwlaRn6WYwtu+RESAWat1FNy8Se1ggiiyQTsC86lt+OJQFIb+Qp8k6p5M2pIal vxlFw0KcRiF1prChFvlkm5yThRZWIQ93MeNTg/bKnahcGEIiM06XVgtLFoXdBgut59 WIXwjYSHGwUEAH+j+ddR1uvhGRFjGHM/sDKoLs7LCHMM+ETYB8PNbmHqkrnq/0NXNQ iHiQczgO4O+hA== Date: Fri, 21 Mar 2025 09:31:34 +0000 To: Juri Linkov <juri@HIDDEN> From: Sora Takai <SoraTakai@HIDDEN> Subject: Re: bug#77121: [PATCH] Make isearch highlight overlays non-sticky (non-advance) at both ends Message-ID: <7aY9rDS-VTgPSYO84bGpOluxOG824BtsXW3B-gZgHtpZg8_aaXClYhJf6HDN5NTdpBQ5I842Zz-t54daA-odEDftph5EtouczrtnFzUy68I=@protonmail.com> In-Reply-To: <87sen6kek4.fsf@HIDDEN> References: <pmxJ4ssAOaO2tE5tOw1FDrX55gdu0o8P4o-xT80qmara01m4lr_EokTCFByknGmD4prOA_jBuzF-xp45uzlGF0osw5gd9wkxHLMT9kz7-zw=@protonmail.com> <c9jsADYLViaqjxZi9CuieG0oo019fU7c0efM4wYFtsHbA4Ejc3OurPnlBIfSxNH_6h0Qk8jPmHrIS2Ch1CVGYSNWDENRZjPzd4gW9kLJ7bo=@protonmail.com> <86y0wznawj.fsf@HIDDEN> <87sen6kek4.fsf@HIDDEN> Feedback-ID: 137806433:user:proton X-Pm-Message-ID: 193662be63f4e6a9c412f9df47ea1387293705c5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 77121 X-Mailman-Approved-At: Fri, 21 Mar 2025 10:26:40 -0400 Cc: Eli Zaretskii <eliz@HIDDEN>, 77121 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.3 (/) Thanks for taking a look, Juri. These are the steps to reproduce it: 1. Evaluate ;; Enable lazy-highlight (setq isearch-lazy-highlight t) 2. Evaluate ;; Keep lay-highlights even after isearch finishes (setq lazy-highlight-cleanup nil) 3. On some writable buffer, evaluate (progn (insert "emacs") (beginning-of-buffer)) 4. M-x isearch-forward RET emacs RET 5. Evaluate `(backward-word)` (M-b) 6. Type "GNU " 7. With this patch, you won't get the same lazy highlight color inherited o= n "GNU " string ('non-sticky' behavior); without it, you will inherit the s= ame highlight color on additional "GNU " string ('sticky' behavior). 8. Now the opposite end: evaluate `(beginning-of-buffer)` and do (4) again. 9. Type " rocks." 10. with this patch, you won't get the same lazy highlight color inherited = on " rocks." string; without it, you'll get the same highlight color. On Friday, March 21st, 2025 at 4:50 PM, Juri Linkov <juri@HIDDEN> wrote= : > > > > here is a simple patch to make isearch highlights non-sticky at bot= h ends (i.e. no front and rear > > > > advance on overlays), thereby making them more intuitive and less b= othersome for further editing. > > > > Currently, every isearch overlay, including lazy highlights, inheri= ts isearch highlight color when you > > > > type characters at front and rear positions. By applying this patch= , users will no longer get that color > > > > stickiness when editing around isearch highlights, which makes them= more 'self-contained'. > > >=20 > > > Sorry, here is an updated patch. I think this is enough since it is f= or the most part lazy-highlights with (setq > > > isearch-lazy-highlight t) and (setq lazy-highlight-cleanup nil) that = matter for editing. > >=20 > > Thanks. > >=20 > > Juri, any comments or suggestions? >=20 >=20 > It would be nice to have a step-by-step recipe for this case > since I don't understand how to reproduce this problem.
bug-gnu-emacs@HIDDEN
:bug#77121
; Package emacs
.
Full text available.Received: (at 77121) by debbugs.gnu.org; 21 Mar 2025 07:56:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 03:56:09 2025 Received: from localhost ([127.0.0.1]:34662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvXEf-0001Su-Dw for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 03:56:09 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:47335) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tvXEY-0001Ri-W9 for 77121 <at> debbugs.gnu.org; Fri, 21 Mar 2025 03:56:06 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id F2FCA44384; Fri, 21 Mar 2025 07:55:55 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#77121: [PATCH] Make isearch highlight overlays non-sticky (non-advance) at both ends In-Reply-To: <86y0wznawj.fsf@HIDDEN> Organization: LINKOV.NET References: <pmxJ4ssAOaO2tE5tOw1FDrX55gdu0o8P4o-xT80qmara01m4lr_EokTCFByknGmD4prOA_jBuzF-xp45uzlGF0osw5gd9wkxHLMT9kz7-zw=@protonmail.com> <c9jsADYLViaqjxZi9CuieG0oo019fU7c0efM4wYFtsHbA4Ejc3OurPnlBIfSxNH_6h0Qk8jPmHrIS2Ch1CVGYSNWDENRZjPzd4gW9kLJ7bo=@protonmail.com> <86y0wznawj.fsf@HIDDEN> Date: Fri, 21 Mar 2025 09:50:35 +0200 Message-ID: <87sen6kek4.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduhedtheegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepieffteejgeehffejuedtiefhudekgeejteekiefgveeuheetvdefgeekkeevkedunecukfhppeeluddruddvledruddthedruddujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledruddthedruddujedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepjeejuddvudesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopefuohhrrgfvrghkrghisehprhhothhonhhmrghilhdrtghomhdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 77121 Cc: 77121 <at> debbugs.gnu.org, Sora Takai <SoraTakai@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >>> here is a simple patch to make isearch highlights non-sticky at both ends (i.e. no front and rear >>> advance on overlays), thereby making them more intuitive and less bothersome for further editing. >>> Currently, every isearch overlay, including lazy highlights, inherits isearch highlight color when you >>> type characters at front and rear positions. By applying this patch, users will no longer get that color >>> stickiness when editing around isearch highlights, which makes them more 'self-contained'. >> >> Sorry, here is an updated patch. I think this is enough since it is for the most part lazy-highlights with (setq >> isearch-lazy-highlight t) and (setq lazy-highlight-cleanup nil) that matter for editing. > > Thanks. > > Juri, any comments or suggestions? It would be nice to have a step-by-step recipe for this case since I don't understand how to reproduce this problem.
bug-gnu-emacs@HIDDEN
:bug#77121
; Package emacs
.
Full text available.Received: (at 77121) by debbugs.gnu.org; 20 Mar 2025 12:29:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 20 08:29:13 2025 Received: from localhost ([127.0.0.1]:55993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvF1N-0003Oq-56 for submit <at> debbugs.gnu.org; Thu, 20 Mar 2025 08:29:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59348) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tvF1K-0003Oc-JE for 77121 <at> debbugs.gnu.org; Thu, 20 Mar 2025 08:29:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tvF1E-00010D-IX; Thu, 20 Mar 2025 08:29:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=t6BTkb8pCghPi2MPR9XJ9FKaaK9izxPp8Xe3UxlYGVs=; b=ZHKMG06EWnBBl+vXScSS 0XxuCg5wlOSZEUCODfhwbnUX5wULhU+ZOfB6NSkazxPFTFhjwquhHwfgItFj0wZcUuqzmh/C/fl5w ebD9fah1X4Y+e363k/IOx67BFTl5HxxvYGgrbo9wfoFvZugSudwyxLXhkeU/t4NR2D1b3WawBQL9f PoulDIxHfm2Q0rf7xq8+sw/I6IlVxO4vuhFz1EttmKKdcMbo7+u6OtASp1CBdauAkhm94A6h+6s2v aPWzVlV3AMCyUcL9IzwsFN98Al8nOQ8DOboJPeoYYBTaXYSUFHd0t/LDU3Vm2o8Ra9cHEjsan6/Fe Itv+vel9zip9RQ==; Date: Thu, 20 Mar 2025 14:29:00 +0200 Message-Id: <86y0wznawj.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Sora Takai <SoraTakai@HIDDEN>, Juri Linkov <juri@HIDDEN> In-Reply-To: <c9jsADYLViaqjxZi9CuieG0oo019fU7c0efM4wYFtsHbA4Ejc3OurPnlBIfSxNH_6h0Qk8jPmHrIS2Ch1CVGYSNWDENRZjPzd4gW9kLJ7bo=@protonmail.com> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#77121: [PATCH] Make isearch highlight overlays non-sticky (non-advance) at both ends References: <pmxJ4ssAOaO2tE5tOw1FDrX55gdu0o8P4o-xT80qmara01m4lr_EokTCFByknGmD4prOA_jBuzF-xp45uzlGF0osw5gd9wkxHLMT9kz7-zw=@protonmail.com> <c9jsADYLViaqjxZi9CuieG0oo019fU7c0efM4wYFtsHbA4Ejc3OurPnlBIfSxNH_6h0Qk8jPmHrIS2Ch1CVGYSNWDENRZjPzd4gW9kLJ7bo=@protonmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77121 Cc: 77121 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Wed, 19 Mar 2025 14:57:31 +0000 > From: Sora Takai via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > Sorry, here is an updated patch. I think this is enough since it is for the most part lazy-highlights with (setq > isearch-lazy-highlight t) and (setq lazy-highlight-cleanup nil) that matter for editing. > > On Wednesday, March 19th, 2025 at 11:10 PM, Sora Takai <SoraTakai@HIDDEN> wrote: > > Tags: patch > > Hi, > > here is a simple patch to make isearch highlights non-sticky at both ends (i.e. no front and rear > advance on overlays), thereby making them more intuitive and less bothersome for further editing. > Currently, every isearch overlay, including lazy highlights, inherits isearch highlight color when you > type characters at front and rear positions. By applying this patch, users will no longer get that color > stickiness when editing around isearch highlights, which makes them more 'self-contained'. > > (This is the first time I am submitting a patch to this community - apologies in advance if I am not > following the conventions in some way.) Thanks. Juri, any comments or suggestions?
bug-gnu-emacs@HIDDEN
:bug#77121
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 19 Mar 2025 16:55:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 19 12:55:35 2025 Received: from localhost ([127.0.0.1]:52843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuwha-0005Kw-J5 for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 12:55:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49176) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <SoraTakai@HIDDEN>) id 1tuusM-0002av-L1 for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 10:58:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <SoraTakai@HIDDEN>) id 1tuurj-0000Fl-Lz for bug-gnu-emacs@HIDDEN; Wed, 19 Mar 2025 10:57:58 -0400 Received: from mail-0301.mail-europe.com ([188.165.51.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <SoraTakai@HIDDEN>) id 1tuura-0006yp-NG for bug-gnu-emacs@HIDDEN; Wed, 19 Mar 2025 10:57:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1742396257; x=1742655457; bh=Dt4XH7XnIS7xBGVSYqFDKC/XdpyKvSfo5p/aXIIOtv8=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=goeK09tPnXX7E/OSo9Y8DkjCt91ErhJpzHcW1iCCnWXqnfKc/QY4mXvrRZvYj9tWu eqRWh8RiYR/M8NaHVpw5MaVSx8zMXmBvS9jasXUXYaVlu5NDAPWDtGev5C24uFuNA8 0qw5JTC8nwyyR/E56l1KjmJl4fFJxpVuupiLu0Y+587hrkr6V2rjVLDj76/P2ZCbP2 FK4wfqpdYXMRYUOMle9ltKMUcZjOEou/z4iJ3OsMTW1tniPLcu+7umZkngUY8EmhXZ TwmkWjra0/KPFy9nOnyWq95gM95LJqAb0JNIn9oGEWmM1crNpUZKcNIgoRoqsGVwWm 92FOBem210+Yg== Date: Wed, 19 Mar 2025 14:57:31 +0000 To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN> From: Sora Takai <SoraTakai@HIDDEN> Subject: Re: [PATCH] Make isearch highlight overlays non-sticky (non-advance) at both ends Message-ID: <c9jsADYLViaqjxZi9CuieG0oo019fU7c0efM4wYFtsHbA4Ejc3OurPnlBIfSxNH_6h0Qk8jPmHrIS2Ch1CVGYSNWDENRZjPzd4gW9kLJ7bo=@protonmail.com> In-Reply-To: <pmxJ4ssAOaO2tE5tOw1FDrX55gdu0o8P4o-xT80qmara01m4lr_EokTCFByknGmD4prOA_jBuzF-xp45uzlGF0osw5gd9wkxHLMT9kz7-zw=@protonmail.com> References: <pmxJ4ssAOaO2tE5tOw1FDrX55gdu0o8P4o-xT80qmara01m4lr_EokTCFByknGmD4prOA_jBuzF-xp45uzlGF0osw5gd9wkxHLMT9kz7-zw=@protonmail.com> Feedback-ID: 137806433:user:proton X-Pm-Message-ID: 78a45158771733ad372710c496eee41ea6059557 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1=_JWclWzBxv5r3Hkb3OjSV9bJnYUZw0OEqrmM6wYA8" Received-SPF: pass client-ip=188.165.51.139; envelope-from=SoraTakai@HIDDEN; helo=mail-0301.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 19 Mar 2025 12:55:32 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --b1=_JWclWzBxv5r3Hkb3OjSV9bJnYUZw0OEqrmM6wYA8 Content-Type: multipart/alternative; boundary="b2=_JWclWzBxv5r3Hkb3OjSV9bJnYUZw0OEqrmM6wYA8" --b2=_JWclWzBxv5r3Hkb3OjSV9bJnYUZw0OEqrmM6wYA8 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 U29ycnksIGhlcmUgaXMgYW4gdXBkYXRlZCBwYXRjaC4gSSB0aGluayB0aGlzIGlzIGVub3VnaCBz aW5jZSBpdCBpcyBmb3IgdGhlIG1vc3QgcGFydCBsYXp5LWhpZ2hsaWdodHMgd2l0aCAoc2V0cSBp c2VhcmNoLWxhenktaGlnaGxpZ2h0IHQp4oCLIGFuZCAoc2V0cSBsYXp5LWhpZ2hsaWdodC1jbGVh bnVwIG5pbCnigIsgdGhhdCBtYXR0ZXIgZm9yIGVkaXRpbmcuCgpPbiBXZWRuZXNkYXksIE1hcmNo IDE5dGgsIDIwMjUgYXQgMTE6MTAgUE0sIFNvcmEgVGFrYWkgPFNvcmFUYWthaUBwcm90b25tYWls LmNvbT4gd3JvdGU6Cgo+IFRhZ3M6IHBhdGNoCj4KPiBIaSwKPgo+IGhlcmUgaXMgYSBzaW1wbGUg cGF0Y2ggdG8gbWFrZSBpc2VhcmNoIGhpZ2hsaWdodHMgbm9uLXN0aWNreSBhdCBib3RoIGVuZHMg KGkuZS4gbm8gZnJvbnQgYW5kIHJlYXIgYWR2YW5jZSBvbiBvdmVybGF5cyks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A8 Content-Type: application/octet-stream; name=0001-Make-isearch-lazy-highlights-non-sticky-at-both-ends.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-Make-isearch-lazy-highlights-non-sticky-at-both-ends.patch RnJvbSBhNTU5ZGIwYzNlNzJlZDY3ZGJkYmViNGYzYWQyYjc2MmMyNmNmMWJmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTb3JhIFRha2FpIDxTb3JhVGFrYWlAcHJvdG9ubWFpbC5jb20+ CkRhdGU6IFdlZCwgMTkgTWFyIDIwMjUgMjM6NTA6MzggKzA5MDAKU3ViamVjdDogW1BBVENIXSBN YWtlIGlzZWFyY2ggbGF6eS1oaWdobGlnaHRzIG5vbi1zdGlja3kgYXQgYm90aCBlbmRzCgotLS0K IGxpc3AvaXNlYXJjaC5lbCB8IDIgKy0KIDEgZmlsZSBjaGFuZ2VkLCAxIGluc2VydGlvbigrKSwg MSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2xpc3AvaXNlYXJjaC5lbCBiL2xpc3AvaXNlYXJj aC5lbAppbmRleCAzMWFkOTZkNGE3OC4uZmE2Nzg3NDA4MTAgMTAwNjQ0Ci0tLSBhL2xpc3AvaXNl YXJjaC5lbAorKysgYi9saXNwL2lzZWFyY2guZWwKQEAgLTQyNjUsNyArNDI2NSw3IEBAIGlzZWFy Y2gtbGF6eS1oaWdobGlnaHQtbWF0Y2gKICAgICAgICAgICAgICAgICAgICAoYW5kIChlcSBpc2Vh cmNoLWxhenktaGlnaGxpZ2h0LWludmlzaWJsZSAnb3BlbikKICAgICAgICAgICAgICAgICAgICAg ICAgICdjYW4tYmUtb3BlbmVkKSkpCiAgICAgICAgICAgICAgIChmdW5jYWxsIGlzZWFyY2gtZmls dGVyLXByZWRpY2F0ZSBtYiBtZSkpKQotICAgIChsZXQgKChvdiAobWFrZS1vdmVybGF5IG1iIG1l KSkpCisgICAgKGxldCAoKG92IChtYWtlLW92ZXJsYXkgbWIgbWUgbmlsIHQgbmlsKSkpCiAgICAg ICAocHVzaCBvdiBpc2VhcmNoLWxhenktaGlnaGxpZ2h0LW92ZXJsYXlzKQogICAgICAgOzsgMTAw MCBpcyBoaWdoZXIgdGhhbiBlZGlmZidzIDEwMCssCiAgICAgICA7OyBidXQgbG93ZXIgdGhhbiBp c2VhcmNoIG1haW4gb3ZlcmxheSdzIDEwMDEKLS0gCjIuNDguMQoK --b1=_JWclWzBxv5r3Hkb3OjSV9bJnYUZw0OEqrmM6wYA8--
Sora Takai <SoraTakai@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#77121
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.