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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Kelly Dean <kellydeanch@HIDDEN>; dated Sun, 25 Nov 2012 02:04:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 12987 <at> debbugs.gnu.org:


Received: (at 12987) by debbugs.gnu.org; 25 Nov 2012 09:54:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 25 04:54:33 2012
Received: from localhost ([127.0.0.1]:37491 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TcYv2-0001Q4-9V
	for submit <at> debbugs.gnu.org; Sun, 25 Nov 2012 04:54:32 -0500
Received: from ps18281.dreamhost.com ([69.163.218.105]:45983
	helo=ps18281.dreamhostps.com)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <juri@HIDDEN>) id 1TcYuy-0001Pk-1L
	for 12987 <at> debbugs.gnu.org; Sun, 25 Nov 2012 04:54:28 -0500
Received: from localhost (ps18281.dreamhostps.com [69.163.218.105])
	by ps18281.dreamhostps.com (Postfix) with ESMTP id 1C7C2451E18A;
	Sun, 25 Nov 2012 01:52:49 -0800 (PST)
From: Juri Linkov <juri@HIDDEN>
To: Kelly Dean <kellydeanch@HIDDEN>
Subject: Re: bug#12987: Mode switching during isearch isn't user friendly
Organization: JURTA
References: <1353808890.37406.YahooMailClassic@HIDDEN>
Date: Sun, 25 Nov 2012 11:38:30 +0200
In-Reply-To: <1353808890.37406.YahooMailClassic@HIDDEN>
	(Kelly Dean's message of "Sat, 24 Nov 2012 18:01:30 -0800 (PST)")
Message-ID: <877gpa813l.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.8 (/)
X-Debbugs-Envelope-To: 12987
Cc: 12987 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: 0.8 (/)

> 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@HIDDEN:
bug#12987; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Nov 2012 02:03:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 24 21:03:12 2012
Received: from localhost ([127.0.0.1]:37177 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TcRYt-0005e8-CQ
	for submit <at> debbugs.gnu.org; Sat, 24 Nov 2012 21:03:12 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37819)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <kellydeanch@HIDDEN>) id 1TcRYq-0005e1-OP
	for submit <at> debbugs.gnu.org; Sat, 24 Nov 2012 21:03:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1TcRXJ-0003oX-9R
	for submit <at> debbugs.gnu.org; Sat, 24 Nov 2012 21:01:34 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI, RCVD_IN_XBL,
	T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:35465)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1TcRXJ-0003oT-6L
	for submit <at> debbugs.gnu.org; Sat, 24 Nov 2012 21:01:33 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55849)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1TcRXI-0006j8-Eo
	for bug-gnu-emacs@HIDDEN; Sat, 24 Nov 2012 21:01:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1TcRXH-0003oJ-Mb
	for bug-gnu-emacs@HIDDEN; Sat, 24 Nov 2012 21:01:32 -0500
Received: from nm4-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.129]:47347)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1TcRXH-0003oF-Fa
	for bug-gnu-emacs@HIDDEN; Sat, 24 Nov 2012 21:01:31 -0500
Received: from [98.139.212.152] by nm4.bullet.mail.bf1.yahoo.com with NNFMP;
	25 Nov 2012 02:01:31 -0000
Received: from [98.139.212.240] by tm9.bullet.mail.bf1.yahoo.com with NNFMP;
	25 Nov 2012 02:01:31 -0000
Received: from [127.0.0.1] by omp1049.mail.bf1.yahoo.com with NNFMP;
	25 Nov 2012 02:01:31 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 4173.19128.bm@HIDDEN
Received: (qmail 40539 invoked by uid 60001); 25 Nov 2012 02:01:30 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024;
	t=1353808890; bh=bQ7WPI7bFfr7k1GVAr6shVlWBjED0m0pigGUkZZ/gvo=;
	h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type;
	b=RcN/txwJ7BHq6TRbqt4IIgPBZ9wjl6opzVv6buG9uU1q2/7YLy9xkSUiSub0oR4LjWsvKI07tVQa7AOxj7H2fDgXowLJqr74HFGfDzhnTmQErFcMGkV0hhZlhgG7ik5i/punCO4B76fenrqC2Bkr8fFDDHpYcTLXNG5baV1eQSg=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type;
	b=mK6j2v8NOyPtEZKPxYfTzVJQN8VwtcrBm9Wp/smjswrRZvOfYrcjOpGyAbCiM9+ZnBQCX/7fb9Ze2nFs246B5HbZpLJyGyLy6kLZ+3LGQh1TZMpKIvNbivTkZEDg9AGZtJ1WqOL5IbC9dsChLbN5dpV6QbsNg7vsFmgAqLax470=;
X-YMail-OSG: dd4drn4VM1mipPNUsYTHt9FrlKJITx6iDy.vWcKySLNfSRK
	zxdhD6.4ISu6wuZxEyhVy_Q9VP.SuQ9lFgeRu87v.5V00jRQtGAlLwNXCdwN
	GwFG3CzVwdb1V3ILF9i0IgnSblURo8PXafH.yRMAPBQj2UWHmBdn8VD.JxrW
	w7KRd8.uJyWh_Iz7RbcgT._sccYMcqy2o4fxr__5Owxq2UPkO7SfOQjS8zQ.
	U8W6m7rBdk63qpguDP64zbPGxvtx1CHPlY4oY9lHRxbFTTkZ6572z58OvP9G
	Jxs7fOZ3rHOFgydkreBDECIT2ZNHUaXtktAmKFRF1dESMmlauCY_u5kuK2B1
	LCBFTDocIrJ3Bs6gV_vas7Ld6DQGmEQqZdybMAZDI4.4elhK7dWjgTCtaelm
	.TO5A9DnUDJj81rurbG48YWFBJQAwPeFudlDs3yJWVCg-
Received: from [165.254.32.192] by web141105.mail.bf1.yahoo.com via HTTP;
	Sat, 24 Nov 2012 18:01:30 PST
X-Rocket-MIMEInfo: 001.001,
	VGhpcyBpcyBhIFVJIGltcHJvdmVtZW50IHN1Z2dlc3Rpb24sIG5vdCBhIGJ1ZyByZXBvcnQuClVzaW5nIDI0LjIsIHR5cGU6Cm9udG8gdG8KVGhlbiBkbzoKQy1hIEMtcyB0bwpJdCBoaWdobGlnaHRzIHRoZSBmaXJzdCBvY2N1cnJlbmNlIG9mICJ0byIgYXMgdGhlIGN1cnJlbnQgbWF0Y2gsIGFuZCB0aGUgc2Vjb25kIGFzIHRoZSBuZXh0IG1hdGNoLgpUaGVuIGRvOiBNLXMgdwpJdCBjb250aW51ZXMgdG8gaGlnaGxpZ2h0IHRoZSBmaXJzdCBvY2N1cnJlbmNlIG9mICJ0byIsIGV2ZW4gdGhvdWdoIHRoYXQgb2MBMAEBAQE-
X-Mailer: YahooMailClassic/15.0.8 YahooMailWebService/0.8.123.460
Message-ID: <1353808890.37406.YahooMailClassic@HIDDEN>
Date: Sat, 24 Nov 2012 18:01:30 -0800 (PST)
From: Kelly Dean <kellydeanch@HIDDEN>
Subject: Mode switching during isearch isn't user friendly
To: bug-gnu-emacs@HIDDEN
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.2 (----)

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.





Acknowledgement sent to Kelly Dean <kellydeanch@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#12987; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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