From: Juri Linkov <juri@linkov.net>
To: Stefan Kangas <stefan@marxist.se>
Cc: Alan Mackenzie <acm@muc.de>,
22118@debbugs.gnu.org, Jan-Mark <jms@codersco.com>
Subject: bug#22118: 23.2; Hitting ^W in a search selects the wrong word.
Date: Thu, 13 Aug 2020 02:58:18 +0300 [thread overview]
Message-ID: <878sejgxwp.fsf@mail.linkov.net> (raw)
In-Reply-To: <CADwFkm=m5NdBJji42Poj0VNgxpd6Z6=Wdijckw=qRD4_2xSmaQ@mail.gmail.com> (Stefan Kangas's message of "Tue, 11 Aug 2020 20:33:41 -0700")
> Is the below patch still relevant?
I don't know. My patch tried to make the behavior in case of error
slightly more useful, but now I see nothing useful in it because
after a failure it makes no sense to type C-w C-w C-w ...
I don't recommend making code in isearch.el more complicated to handle
useless cases. So I won't complain if you'll close this report. :-)
>>> I would say, either update the text window too or disallow using ^W
>>> after a failure.
>>
>> I agree that the current behavior is not ideal. The problem is that
>> it's difficult to make it more intuitive to work with different
>> workflows such as when failing not at the end of the buffer
>> but due to a non-existent string, e.g. typing ‘zzz C-w C-w C-w’.
>> Please try this patch that takes into account such possible scenarios.
>>
>> However, I don't agree this is a bug, I think it just provides a more
>> useful behavior, so perhaps it shouldn't be installed to emacs-25.
next prev parent reply other threads:[~2020-08-12 23:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 17:54 bug#22118: 23.2; Hitting ^W in a search selects the wrong word jms
[not found] ` <mailman.1705.1449600970.31583.bug-gnu-emacs@gnu.org>
2015-12-10 9:25 ` Alan Mackenzie
[not found] ` <56694D83.3080902@codersco.com>
2015-12-10 12:10 ` Alan Mackenzie
2015-12-10 13:07 ` Jan-Mark
2015-12-11 22:54 ` Juri Linkov
2020-08-12 3:33 ` Stefan Kangas
2020-08-12 23:58 ` Juri Linkov [this message]
2020-08-13 1:22 ` Stefan Kangas
2020-08-13 16:53 ` Jan-Mark
2020-08-29 16:48 ` Stefan Kangas
2020-10-11 3:05 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878sejgxwp.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=22118@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=jms@codersco.com \
--cc=stefan@marxist.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.