unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22118: 23.2; Hitting ^W in a search selects the wrong word.
@ 2015-12-08 17:54 jms
       [not found] ` <mailman.1705.1449600970.31583.bug-gnu-emacs@gnu.org>
  0 siblings, 1 reply; 11+ messages in thread
From: jms @ 2015-12-08 17:54 UTC (permalink / raw)
  To: 22118


To reproduce this bug create a file that ends in the last 7 lines in
this message (it will work if you open this message in emacs).

Put the cursor at the first ''aap'' (line 2) hit ^S^W^W (''aap_noot'' at
line 2, now is highlighted). Hit ^S^S^S (Failing the I-search since the last
''aap_noot'' (at line 6) has been reached, call this 'last-occurrence' state).

Now hit ^W^W^W^W . Somewhere the state of 'last-occurrence' and add more
to the search string conflict, because it adds ''_aap'' for every ^W and
the edit window is not being updated.

Note that if you are not in 'last-occurrence' state, there is no
problem, even at the last line. This bug only manifests itself if ^S has
been hit until it shows "Failing the I-search" in the minibuffer.

Regards,

Jan-Mark

1 miesmiesmies
2 aap_noot_mies
3 miesmiesmies
4 aap_noot_does
5 miesmiesmies
6 aap_noot_aap
7 miesmiesmies





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-10-11  3:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).