GNU bug report logs - #12987
Mode switching during isearch isn't user friendly

Previous Next

Package: emacs;

Reported by: Kelly Dean <kellydeanch <at> yahoo.com>

Date: Sun, 25 Nov 2012 02:04:01 UTC

Severity: minor

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12987 in the body.
You can then email your comments to 12987 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12987; Package emacs. (Sun, 25 Nov 2012 02:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kelly Dean <kellydeanch <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 25 Nov 2012 02:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kelly Dean <kellydeanch <at> yahoo.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Mode switching during isearch isn't user friendly
Date: Sat, 24 Nov 2012 18:01:30 -0800 (PST)
This is a UI improvement suggestion, not a bug report.
Using 24.2, type:
onto to
Then do:
C-a C-s to
It highlights the first occurrence of "to" as the current match, and the second as the next match.
Then do: M-s w
It continues to highlight the first occurrence of "to", even though that occurrence no longer matches. It should remove the highlight immediately. Pressing C-s again will remove the highlight, which is not user-friendly; pressing C-s should never cause highlights to be removed.
This same problem applies to case-sensitivity mode (M-c) too.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12987; Package emacs. (Sun, 25 Nov 2012 09:55:03 GMT) Full text and rfc822 format available.

Message #8 received at 12987 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Kelly Dean <kellydeanch <at> yahoo.com>
Cc: 12987 <at> debbugs.gnu.org
Subject: Re: bug#12987: Mode switching during isearch isn't user friendly
Date: Sun, 25 Nov 2012 11:38:30 +0200
> This is a UI improvement suggestion, not a bug report.
> Using 24.2, type:
> onto to
> Then do:
> C-a C-s to
> It highlights the first occurrence of "to" as the current match,
> and the second as the next match.
> Then do: M-s w
> It continues to highlight the first occurrence of "to", even though that
> occurrence no longer matches. It should remove the highlight
> immediately. Pressing C-s again will remove the highlight, which is not
> user-friendly; pressing C-s should never cause highlights to be removed.
> This same problem applies to case-sensitivity mode (M-c) too.

A pending search doesn't jump to the next match.  It displays the
text "pending" in the prompt inviting you to type `C-s' or `C-r'
or more togging commands.

A failed search doesn't remove highlighting too.  E.g. when you type
`C-s tofoo' then the first occurrence of "to" is still highlighted.

If you want `M-s w' to jump to the next match, you can create a new
command like `isearch-toggle-word' where the line

  (setq isearch-success t isearch-adjusted t)

is replaced with

  (isearch-search) (isearch-push-state)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12987; Package emacs. (Tue, 01 Jun 2021 06:36:01 GMT) Full text and rfc822 format available.

Message #11 received at 12987 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: 12987 <at> debbugs.gnu.org, Kelly Dean <kellydeanch <at> yahoo.com>
Subject: Re: bug#12987: Mode switching during isearch isn't user friendly
Date: Tue, 01 Jun 2021 08:35:41 +0200
Juri Linkov <juri <at> jurta.org> writes:

> If you want `M-s w' to jump to the next match, you can create a new
> command like `isearch-toggle-word' where the line
>
>   (setq isearch-success t isearch-adjusted t)
>
> is replaced with
>
>   (isearch-search) (isearch-push-state)

So if I read this correctly, there isn't anything here that we should
change, and I'm closing this bug report.  If this is mistaken, please
respond to the debbugs address, and we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 12987 <at> debbugs.gnu.org and Kelly Dean <kellydeanch <at> yahoo.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 01 Jun 2021 06:36:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Jun 2021 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.