GNU bug report logs -
#22118
23.2; Hitting ^W in a search selects the wrong word.
Previous Next
Reported by: jms <at> codersco.com
Date: Tue, 8 Dec 2015 18:56:02 UTC
Severity: minor
Tags: fixed, patch
Found in version 23.2
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> 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.
This bug report was last modified 4 years and 281 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.