[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46469: 27.1; `isearch-del-char' should move point further back
From: |
Juri Linkov |
Subject: |
bug#46469: 27.1; `isearch-del-char' should move point further back |
Date: |
Sat, 13 Feb 2021 20:31:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> Suppose my buffer contains the text "x1yx2" right after point, and that
> `isearch-del-char' is bound to DEL in Isearch mode. If I type
>
> C-s y DEL x1
>
> then I would expect the search to succeed: the cursor would first go
> after "y", then return to the starting point of search after pressing
> DEL – this is how `isearch-delete-char' behaves, anyway.
>
> Instead, the cursor remains after "y" after pressing DEL, and the search
> fails with the cursor after the second "x". I have attached a patch to
> fix this.
Sorry, the reason for the current behavior is explained in the comments.
Anyway isearch-fallback in your patch does nothing. Maybe you intended
to use isearch-pop-state, but this what isearch-delete-char already does.
> I have also attached a second trivial patch for an unrelated, very tiny
> bug.
Thanks, this fix is now pushed to master.
- bug#46469: 27.1; `isearch-del-char' should move point further back, (continued)
- bug#46469: [External] : bug#46469: 27.1; `isearch-del-char' should move point further back, Drew Adams, 2021/02/13
- bug#46469: [External] : bug#46469: 27.1; `isearch-del-char' should move point further back, Eli Zaretskii, 2021/02/13
- bug#46469: [External] : bug#46469: 27.1; `isearch-del-char' should move point further back, Augusto Stoffel, 2021/02/14
- bug#46469: [External] : bug#46469: 27.1; `isearch-del-char' should move point further back, Eli Zaretskii, 2021/02/14
- bug#46469: [External] : bug#46469: 27.1; `isearch-del-char' should move point further back, Juri Linkov, 2021/02/14
- bug#46469: [External] : bug#46469: 27.1; `isearch-del-char' should move point further back, Augusto Stoffel, 2021/02/15
- bug#46469: [External] : bug#46469: 27.1; `isearch-del-char' should move point further back, Eli Zaretskii, 2021/02/15
bug#46469: 27.1; `isearch-del-char' should move point further back,
Juri Linkov <=