From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#46469: 27.1; `isearch-del-char' should move point further back Date: Sat, 13 Feb 2021 10:53:44 +0100 Message-ID: <87eehkxphz.fsf@gmail.com> References: <87zh09xggr.fsf@gmail.com> <83v9axdpkm.fsf@gnu.org> <87mtw9xckr.fsf@gmail.com> <83r1lke9dc.fsf@gnu.org> <87im6wxw11.fsf@gmail.com> <838s7se42b.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20864"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: 46469@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 13 10:54:10 2021 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 1lArcv-0005LN-UE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 10:54:09 +0100 Original-Received: from localhost ([::1]:49000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lArcu-0002IG-Qb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 04:54:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lArco-0002Hr-Ac for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 04:54:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lArco-0005hF-2s for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 04:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lArcn-0005Hd-W3 for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 04:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Feb 2021 09:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46469 X-GNU-PR-Package: emacs Original-Received: via spool by 46469-submit@debbugs.gnu.org id=B46469.161321003820299 (code B ref 46469); Sat, 13 Feb 2021 09:54:01 +0000 Original-Received: (at 46469) by debbugs.gnu.org; 13 Feb 2021 09:53:58 +0000 Original-Received: from localhost ([127.0.0.1]:33569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lArcj-0005HL-VK for submit@debbugs.gnu.org; Sat, 13 Feb 2021 04:53:58 -0500 Original-Received: from mail-ej1-f46.google.com ([209.85.218.46]:41270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lArce-0005H4-H4 for 46469@debbugs.gnu.org; Sat, 13 Feb 2021 04:53:56 -0500 Original-Received: by mail-ej1-f46.google.com with SMTP id f14so3357310ejc.8 for <46469@debbugs.gnu.org>; Sat, 13 Feb 2021 01:53:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=KLaEVk29IAxe92GUGLCAlMj7Wp/dOuKeELN/wUz0jlE=; b=HPMs8kUdgbXao1WrDJBDqImV+r1mUrRihD6ROX56+VZSEzaO/nVPy5HU4t5c2P00Ti dXiP6AXLr5y9+Bd/JGk7fNK4rNOAlNbLirB6Le0gnF2GMYg9weD6/vII37dPCb+ozgxB jP4WsxSbF0JESAXUY7Apx0PESnuWlX/uONv8ToKIDguNbxb0BclaD9cSaZSVVtgpmF3A /T8EW6L3kjGgDK5o+FZT0ztuoWepytBKKH0AFcz+Nh70XRFSlFu/CjcOdZAC3eGMEqTE oPWFw76mkHFs7PVaLL51vpCpN3I8g7S5pnhH9pu/AnbrXSixMqTRlVOn3r73qWrrgbzn hAvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=KLaEVk29IAxe92GUGLCAlMj7Wp/dOuKeELN/wUz0jlE=; b=IMB5cCkHAhxGviZQbrwcZyd/qx5g9VwirhZV9yx61A36+HPLspkE1cWTTISQD8rzzh r6pQIR7vBpgWJPN1XKbgd/PoEV1fWkB3ow+bAKLHyombXYfJu1ne0F2D9JjX682HcEld hS/4lHAjT2fVFgtrUUhvG65ATgfnUSGs4IpNpylZ2YK/Vrmhwb5O9S+Wn9Lj3pb3jZEe D2isytqo/YBztKPO1mtc1xRtPU99t8r8AeIBefNjrJDN8QGh80JfAFg3kr6n6G6Vohoe 9BHc8o8RfgRLEzDcBL+PBia1G5uSY//9BWgYapBi56+qj3jzwAQg/hs2g96rb0ZsLYMs 3s1g== X-Gm-Message-State: AOAM532NbV46B7tfYcAjCSYO9ODvqQg2pXcDGD35YR0iTqPwL+b3Sbj6 +4buBO1ZcMQAW1VctpWzK2rcwhPLwkE= X-Google-Smtp-Source: ABdhPJxexnq2vgjN3c/x0nnnliSX2+sQ2mVqVLd1YPkreCxZsjvqfGSHJTXO/i1tCNJpCjemn3y6Og== X-Received: by 2002:a17:906:8690:: with SMTP id g16mr6773047ejx.113.1613210026276; Sat, 13 Feb 2021 01:53:46 -0800 (PST) Original-Received: from ars3 ([2a02:908:2211:8540::16e5]) by smtp.gmail.com with ESMTPSA id v20sm7015186edt.3.2021.02.13.01.53.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Feb 2021 01:53:45 -0800 (PST) In-Reply-To: <838s7se42b.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Feb 2021 10:59:24 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:199908 Archived-At: On Sat, 13 Feb 2021 at 10:59, Eli Zaretskii wrote: > If we are talking about personal preferences, then I suggest to make > your desired behavior an opt-in one by introducing a defcustom. We > cannot change the behavior of isearch-del-char unconditionally if the > existing behavior is not a bug, but just something some users may not > like. In this case, the distinction between being buggy or just weird and not very useful is a bit blurry. Let me note, however (assuming here that DEL is bound to =E2=80=98isearch-del-char=E2=80=99): 1) The patched `isearch-del-char' serves the purpose of undoing something you typed by mistake. The result of =E2=80=98C-s y DEL x=E2=80= =99 is equivalent to the result of =E2=80=98C-s x=E2=80=99. Just like, in normal = editing, typing =E2=80=98x DEL y=E2=80=99 is equivalent to typing =E2=80=98y=E2=80= =99. 2) The current `isearch-del-char' serves a different purpose altogether. =E2=80=98C-s y DEL x=E2=80=99 is equivalent to =E2=80=98C-s y RET C-s x=E2= =80=99, i.e., you are searching for an =E2=80=98x=E2=80=99 occurring after an =E2=80=98y=E2=80=99. As to this being just a personal preference: I'm sure you'll find people attached to the current behavior if you poll the mailing list, but let me note that, in other sensible search UIs, DEL works like the patched =E2=80=98isearch-del-char=E2=80=99. I've just tested Swiper, gedit and zil= e. They're all like the patched version. I see no reason for a defcustom here.