From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba 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 10:52:16 -0300 Message-ID: References: <83ziu4hh1r.fsf@gnu.org> <83wpp8hgdy.fsf@gnu.org> <87a8m44md6.fsf@web.de> <83h9gcgmor.fsf@gnu.org> <87pouzzxiy.fsf@web.de> <8337rvhniu.fsf@gnu.org> <87lh5nzwo1.fsf@web.de> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114405b6043b65052dda5b29 X-Trace: ger.gmane.org 1457790807 16125 80.91.229.3 (12 Mar 2016 13:53:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2016 13:53:27 +0000 (UTC) Cc: 22991@debbugs.gnu.org, Kaushal To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 12 14:53: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 1aejyk-0004mH-1G for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Mar 2016 14:53:14 +0100 Original-Received: from localhost ([::1]:60411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aejyg-0000RK-9Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Mar 2016 08:53:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aejyc-0000R1-5A for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 08:53:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aejyY-0006Vz-RU for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 08:53:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aejyY-0006Vj-O8 for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 08:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aejyY-0008F9-Ik for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2016 08:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Mar 2016 13:53: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.145779074331643 (code B ref 22991); Sat, 12 Mar 2016 13:53:02 +0000 Original-Received: (at 22991) by debbugs.gnu.org; 12 Mar 2016 13:52:23 +0000 Original-Received: from localhost ([127.0.0.1]:45850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aejxv-0008EJ-4y for submit@debbugs.gnu.org; Sat, 12 Mar 2016 08:52:23 -0500 Original-Received: from mail-yw0-f177.google.com ([209.85.161.177]:35079) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aejxu-0008E6-7Z for 22991@debbugs.gnu.org; Sat, 12 Mar 2016 08:52:22 -0500 Original-Received: by mail-yw0-f177.google.com with SMTP id g127so121082378ywf.2 for <22991@debbugs.gnu.org>; Sat, 12 Mar 2016 05:52:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc; bh=3yI+tP8vJG9rv2OSb7CohpVdfqJ+suaEdlU4K5UTRXU=; b=m8fTKHEA8t3qyGB8iRvzNzmOW2iKtwPwSNE/CZAM/s0MH3uuK57Zxg0lJDUVWhvnhd CuSW9MVYnhHphPPG99shcTo+axV/ElLbNLjFHQpV0ngxLE4gnlOk6rTElB58c+/J3CIe z2+CMu6RFZWOBgiCi61Vjbw6xScUvucT3xsCpXt8ulffWtnJ+ByaPcGB1m8XnKQLylKW kRpbtZDtCvSYCcy2ShuUVzuncM6lypWR5cGlP3bPOdwo9+OHJOwJG1cNMhc3pctTQQas 6ce7ENNRj2yyu2JcW+5pCSDEoDaG+/KyVky8IHXLaePnRIX/oZmLwrSaaoxcuRSkQLCd YIRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:sender:in-reply-to :references:date:message-id:subject:from:to:cc; bh=3yI+tP8vJG9rv2OSb7CohpVdfqJ+suaEdlU4K5UTRXU=; b=a0B02tV6LWGRL7u3ZBgmi2vR2jEgKKB/TBmOF+dYvFm/oQrbPvHeMki4kkK12VE4en GknGbjRm8PDiASWsbsSw0GoHnlZlxdnLMSKiNncLV1bHc+86e+ICMeqmoXHqmqbPXUF5 3MUoNeYusU7fjWgrtAfW5EpmJG/kx3pO1qApHw8rtP4q9I1Ya+uoafz/3MmAkDuV7gdp 0Mo6lhN3FQRSFUksYfrDpWRg66l+4C84BF3d0BjikXK+pu3PUb4T0WwYZefhZm2/hCRv 1WDGm/Q6qfpG0SdFhPtzsbgzcmU0o0+4sHF+9Pn6brS+k8Qqqx0WXpXhOeIFTeXYgOJa SBUw== X-Gm-Message-State: AD7BkJJD//TqK/awdVz4l6mvs0u+DrxzHGECcYFFQK8Tap2RkfJfiZm7OGdegYSjsylaNeilqYFOHk5Asd6AGg== X-Received: by 10.37.42.87 with SMTP id q84mr7659936ybq.5.1457790736675; Sat, 12 Mar 2016 05:52:16 -0800 (PST) Original-Received: by 10.129.31.5 with HTTP; Sat, 12 Mar 2016 05:52:16 -0800 (PST) Original-Received: by 10.129.31.5 with HTTP; Sat, 12 Mar 2016 05:52:16 -0800 (PST) In-Reply-To: <87lh5nzwo1.fsf@web.de> X-Google-Sender-Auth: rfY7l9VRCpuI10YJNcWpn46sMf4 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:114825 Archived-At: --001a114405b6043b65052dda5b29 Content-Type: text/plain; charset=UTF-8 On 12 Mar 2016 9:51 am, "Michael Heerdegen" wrote: > > Eli Zaretskii writes: > > > I'm not sure I understand how the fact of the binding being local has > > any relevance to what we show in the prompt. > > If the default is different in different buffers, the user more likely > wants to see the mode in the prompt. So, my suggestion is to show the > default in the prompt only when it is not the default default... > > > Michael. I agree with Michael on this. If the current search-mode is different from the global default, then it should be displayed on the prompt. That could happen if the user switched the mode during a search, or if something changed the variable's buffer-local value. I don't want to add a user option just for this. Cheers --001a114405b6043b65052dda5b29 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 12 Mar 2016 9:51 am, "Michael Heerdegen" <michael_heerdegen@web.de> wrote:
>
> Eli Zaretskii <eliz@gnu.org>= writes:
>
> > I'm not sure I understand how the fact of the binding being l= ocal has
> > any relevance to what we show in the prompt.
>
> If the default is different in different buffers, the user more likely=
> wants to see the mode in the prompt.=C2=A0 So, my suggestion is to sho= w the
> default in the prompt only when it is not the default default...
>
>
> Michael.

I agree with Michael on this. If the current search-mode is = different from the global default, then it should be displayed on the promp= t. That could happen if the user switched the mode during a search, or if s= omething changed the variable's buffer-local value.

I don't want to add a user option just for this.

Cheers

--001a114405b6043b65052dda5b29--