From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#22991: 25.0.92: C-u C-s does not display "Regexp I-search:" in the echo area Date: Sat, 12 Mar 2016 07:14:28 -0800 (PST) Message-ID: References: < <83ziu4hh1r.fsf@gnu.org> <83wpp8hgdy.fsf@gnu.org>> <<87a8m44md6.fsf@web.de> > <<83h9gcgmor.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1457795727 22195 80.91.229.3 (12 Mar 2016 15:15:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2016 15:15:27 +0000 (UTC) Cc: michael_heerdegen@web.de, 22991@debbugs.gnu.org, bruce.connor.am@gmail.com To: Eli Zaretskii , Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 12 16:15:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aelG3-0001wH-He for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Mar 2016 16:15:11 +0100 Original-Received: from localhost ([::1]:60626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aelG2-0006K2-Nw for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Mar 2016 10:15:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aelFx-0006Hm-QE for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 10:15:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aelFu-0002ux-IR for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 10:15:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aelFu-0002ut-F8 for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 10:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aelFu-0001v9-8b for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 10:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Mar 2016 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22991-submit@debbugs.gnu.org id=B22991.14577956817341 (code B ref 22991); Sat, 12 Mar 2016 15:15:02 +0000 Original-Received: (at 22991) by debbugs.gnu.org; 12 Mar 2016 15:14:41 +0000 Original-Received: from localhost ([127.0.0.1]:46399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aelFZ-0001uL-H5 for submit@debbugs.gnu.org; Sat, 12 Mar 2016 10:14:41 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:44103) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aelFY-0001u8-2Z for 22991@debbugs.gnu.org; Sat, 12 Mar 2016 10:14:40 -0500 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u2CFEX2L016602 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 12 Mar 2016 15:14:33 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u2CFEWh3009459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 12 Mar 2016 15:14:33 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u2CFETrH006906; Sat, 12 Mar 2016 15:14:31 GMT In-Reply-To: <<83h9gcgmor.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114828 Archived-At: > > Sorry, I just remembered that I was one of the people (or the only one?= ) > > who suggested not displaying "Char-fold" prefix. > > > > But considering the example that Michael gave, it makes sense to remove > > that condition from the cond form. I would actually like to see > > "Regexp I-search:" even if I have set that by default. > > > > The result will be a less complex cond statement (will get rid of that > > "oring of ands" case in my last patch) and clarity as to what's the > > current isearch mode. > > > > What do you guys think? Or should we bring this up on emacs-devel? >=20 > First, such a change would be a change in behavior, so it should go to > master, not emacs-25. >=20 > Second, I don't agree with Michael, so if we want to allow such a > different behavior, I will insist on a user option. 1. I agree with Michael in this case. The prompt should faithfully reflect the current search state/mode - until we find a better way to convey that information. In any case, the prompt should not mislead by reflecting a different search behavior from what is current. 2. Whether this or that behavior is turned on by default should not override that rule that the prompt tells you what the state is. 3. To be more clear, perhaps the non-regexp, non-fold search (including not folding whitespace) should also have a prompt that unambiguously indicates this. It is essentially "literal" search. 4. All of that said, I think that we really need to find some _other way than the prompt_ to indicate, completely, the search state. And then the prompt can perhaps just be something like "Isearch" in all cases. The prompt is not adequate for conveying just what the current search state is. 5. This should be discussed on emacs-devel (again). 6. While waiting for a redesign in this regard and a general decision, the prompt should reflect the default state. If it is super important that beginning users not be frightened by a weird prompt by default, at the outset, then we should turn off char-fold search by default - for now.