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 08:32:42 +0100 Message-ID: <87im6wxw11.fsf@gmail.com> References: <87zh09xggr.fsf@gmail.com> <83v9axdpkm.fsf@gnu.org> <87mtw9xckr.fsf@gmail.com> <83r1lke9dc.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="1818"; 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 08:33:18 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 1lApQc-0000Nb-PK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 08:33:18 +0100 Original-Received: from localhost ([::1]:45330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lApQb-0001IM-Rw for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 02:33:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lApQM-0001IF-UC for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 02:33:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lApQM-0003Fd-Mr for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 02:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lApQM-0001mA-HY for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 02:33: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 07:33:02 +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.16132015746810 (code B ref 46469); Sat, 13 Feb 2021 07:33:02 +0000 Original-Received: (at 46469) by debbugs.gnu.org; 13 Feb 2021 07:32:54 +0000 Original-Received: from localhost ([127.0.0.1]:33468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lApQE-0001ll-A8 for submit@debbugs.gnu.org; Sat, 13 Feb 2021 02:32:54 -0500 Original-Received: from mail-ed1-f50.google.com ([209.85.208.50]:32912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lApQB-0001lX-E4 for 46469@debbugs.gnu.org; Sat, 13 Feb 2021 02:32:53 -0500 Original-Received: by mail-ed1-f50.google.com with SMTP id c6so2458487ede.0 for <46469@debbugs.gnu.org>; Fri, 12 Feb 2021 23:32:51 -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=lzEKVBab14uC6EclgZ6DJ3DTqKffGd8AYv0oNwU3/dY=; b=PIcvYNKhk+FpVhFke1swphKm4iroceRxQVd2cac2bOCxmbLwC5GN6BuMPvHyEGY20P 1YKvDL6vvLc3TYwxH7xY+HKSZ3/EM9zUwnMrM2SjNToKzNUfsAffejMh1s/FnFUJ3iJ3 uEK9YwZtlNaVEW6ILp3GPxSB5vyYpk00DiMe2Cxg+cnkZem0fEj6KMFBHkiC7ET66qqN gNFeqTd1ECsDoIPWy15cyyZz+cVTn+yWjy/LuSNk580WsaKbX1M52CCOZTeTNlowoAM8 oz5IndEMPXNFJk0I5VSY47hR0eoOGX4RorIPkXFrkGtnQoo78VPEAxLWsga/4Unjo0bM KBQQ== 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=lzEKVBab14uC6EclgZ6DJ3DTqKffGd8AYv0oNwU3/dY=; b=EUIM5IGyRb4dFgg1BH6tfQd4istGNoxJUSl7VkdU592qWhjzajrZiro4LHTYi/f3kx yTG6zOGv3IVet4WQKkunP6ZWjSYYcN/GOHNhFU5obmzhHpK7rtW7r75IXo9jex7jlXq2 ROFVnQXJ548yCKA2F/Iv5FR1dY0eDXnc8kqyEiPaLzTTk9FOykZkRGjv6bvIvYf0zuKT a8TNsUUu4TKpK7CgubhfdJEs1+JVzIYXjx10HqtDoQiaL9MH4jiP7TRaeXJ9zFcfGNBW 8uOR5SbqvmHrlHMHP0ASP/GGxnU7NtT3bzdT/lsE/JvVcAWbJWX5gMI/glbDG0bKzX6h swMg== X-Gm-Message-State: AOAM531PoEZwug0PRfAOW4C6ptfWWswcCkioGcAz2oFidqL1nxEPU3Zq ROGUQd5CdWBp8iQlSOd5rG/PqDUsnOg= X-Google-Smtp-Source: ABdhPJyE2GQZ636Tzrb93Mt1X62ttam0q08CINH//6mJBEtK84FuuEoauX1AksNQ5/Hbs/d9zQ8hdw== X-Received: by 2002:aa7:db16:: with SMTP id t22mr6681728eds.301.1613201565202; Fri, 12 Feb 2021 23:32:45 -0800 (PST) Original-Received: from ars3 ([2a02:908:2211:8540::16e5]) by smtp.gmail.com with ESMTPSA id s14sm7415201ejf.47.2021.02.12.23.32.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 23:32:43 -0800 (PST) In-Reply-To: <83r1lke9dc.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Feb 2021 09:04:47 +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:199898 Archived-At: On Sat, 13 Feb 2021 at 09:04, Eli Zaretskii wrote: > For isearch-del-char, I think what you see is the intended behavior: > that command doesn't undo the effect of the last character you type at > the I-search prompt, it just removes the last character of the search > string. So it isn't supposed to move point back to where the search > started. What you wanted to happen is what isearch-delete-char does. > > OK? No, isearch-delete-char is a misnamed command. It undoes the last isearch command, which is typically inserting a character OR going to the next/previous match. If you type =E2=80=98C-s y C-s DEL=E2=80=99 in em= acs -q, the search string is still y. I frankly think DEL should be isearch-del-char by default. I never got used to isearch-delete-char in many years before finding out about isearch-del-char. But that's besides the point. As to why the patched version of isearch-delete-char is the "expected" or more useful one: this is to a degree a matter of taste, but I can give my reasons if you are still not convinced. Best, Augusto