unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: jms@codersco.com
To: 22118@debbugs.gnu.org
Subject: bug#22118: 23.2; Hitting ^W in a search selects the wrong word.
Date: Tue, 08 Dec 2015 18:54:47 +0100	[thread overview]
Message-ID: <d1ughllk.fsf@wiske.dubbele.com> (raw)


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





             reply	other threads:[~2015-12-08 17:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 17:54 jms [this message]
     [not found] ` <mailman.1705.1449600970.31583.bug-gnu-emacs@gnu.org>
2015-12-10  9:25   ` bug#22118: 23.2; Hitting ^W in a search selects the wrong word 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

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1ughllk.fsf@wiske.dubbele.com \
    --to=jms@codersco.com \
    --cc=22118@debbugs.gnu.org \
    /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 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).