From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68158: isearch-wrap-pause 'no or 'no-ding breaks isearch-delete-char Date: Thu, 04 Jan 2024 13:10:31 +0200 Message-ID: <831qaxxsk8.fsf@gnu.org> References: <87sf3jmgo6.fsf@breatheoutbreathe.in> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15749"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68158@debbugs.gnu.org To: Joseph Turner , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 04 12:12:16 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rLLe2-0003q1-8n for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Jan 2024 12:12:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLLdo-0001i0-Vn; Thu, 04 Jan 2024 06:12:01 -0500 Original-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 ) id 1rLLdn-0001gB-8q for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2024 06:11:59 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rLLdn-00018j-0I for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2024 06:11:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rLLdq-0003Yv-99 for bug-gnu-emacs@gnu.org; Thu, 04 Jan 2024 06:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jan 2024 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68158 X-GNU-PR-Package: emacs Original-Received: via spool by 68158-submit@debbugs.gnu.org id=B68158.170436666213576 (code B ref 68158); Thu, 04 Jan 2024 11:12:02 +0000 Original-Received: (at 68158) by debbugs.gnu.org; 4 Jan 2024 11:11:02 +0000 Original-Received: from localhost ([127.0.0.1]:53702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLLcs-0003Wu-50 for submit@debbugs.gnu.org; Thu, 04 Jan 2024 06:11:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLLcm-0003WK-GD for 68158@debbugs.gnu.org; Thu, 04 Jan 2024 06:11:00 -0500 Original-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 ) id 1rLLcc-0007X9-12; Thu, 04 Jan 2024 06:10:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZbaXmzvhcMZIJq2cPuJ5R3IzJ9/RHOTeOrS50/Msn68=; b=qUGJURRX1IB3 9NqiT3DpKB9NNQR24CsRqMmwJmqXvTDGolIQQPu8IUdAEmc7UPHqX9lND+gH5dgK1OKFfVw3sclY4 ZWhBusBGYOdqtVdsqjNsjkglHk3KOtLgtj/7xV5NNxNWQaJqNgsTt5qinC+6onD/HLKF9roTahR9Y dVnZuiE2DpVJWG/BCSvHlJM4tHHA5JfTKlYHeBVjlcdswr+kC5Zci+897yxdgEHNZUHjgmQouVSA9 zhcG9cMjM1HFLu7MwLC2SC4TLCUrcXdmncoE+m79kw3i3bfxNNtpVUtOCZK3yI9jo4WOUAiIPEk4h XkImheTe7kDoXiSz3qANSA==; In-Reply-To: <87sf3jmgo6.fsf@breatheoutbreathe.in> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:277308 Archived-At: > Date: Sat, 30 Dec 2023 14:56:13 -0800 > From: Joseph Turner via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > With emacs -Q, in the buffer which pops open after... > > (progn > (setopt isearch-wrap-pause 'no) > ;; (setopt isearch-wrap-pause 'no-ding) ; this causes the same problem > (with-current-buffer (generate-new-buffer "isearch-wrap-pause-test") > (insert "bar") > (goto-char (point-min)) > (pop-to-buffer (current-buffer)))) > > ...run isearch for "baz" with... > > C-s b a z > > ...then attempt to delete the non-matching "z" character with DEL. > > Expected contents of minibuffer: > > "Isearch: ba" > > Actual contents of minibuffer: > > "Failing overwrapped I-search: baz" > > Pressing DEL a second time actually deletes the "z". > > Thanks for your help!! > > Joseph > > GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, > cairo version 1.16.0) Juri, could you please look into this? It seems to be a regression in Emacs 29.1 due to your changes in commit 7320a812e, to solve bug#56535. I guess we need to distinguish between self-inserting characters and DEL?