From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#31627: 27.0.50; isearch prompt not shown when `inhibit-message` is set to `t` Date: Tue, 29 May 2018 14:17:07 +0900 Message-ID: <874lirxcq4.fsf@gmail.com> References: <87y3g3lscc.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1527570965 4805 195.159.176.226 (29 May 2018 05:16:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 May 2018 05:16:05 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 31627@debbugs.gnu.org To: Christian Schwarzgruber Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 29 07:16:01 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNWzJ-00016a-1e for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 07:16:01 +0200 Original-Received: from localhost ([::1]:58946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNX1Q-00072G-1A for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 01:18:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNX1K-00072A-12 for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:18:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNX1G-0000oy-Qq for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:18:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45091) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNX1G-0000oq-MZ for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fNX1G-0002Bg-9q for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 May 2018 05:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31627 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31627-submit@debbugs.gnu.org id=B31627.15275710458362 (code B ref 31627); Tue, 29 May 2018 05:18:02 +0000 Original-Received: (at 31627) by debbugs.gnu.org; 29 May 2018 05:17:25 +0000 Original-Received: from localhost ([127.0.0.1]:52988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNX0e-0002An-SN for submit@debbugs.gnu.org; Tue, 29 May 2018 01:17:25 -0400 Original-Received: from mail-pg0-f67.google.com ([74.125.83.67]:45129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNX0a-0002AX-Uo for 31627@debbugs.gnu.org; Tue, 29 May 2018 01:17:21 -0400 Original-Received: by mail-pg0-f67.google.com with SMTP id w3-v6so6048803pgv.12 for <31627@debbugs.gnu.org>; Mon, 28 May 2018 22:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=kqL7G0363ZlJ7Inpx/JrI+0ttrxSWZQwGjSZbCIakwU=; b=b5+L3lYm+Ep7ybTuLbD7THQ/yM5URrvEZl/TQTHWetCdGQUeK3Qsh3lwFmKqbgxgs0 MSrNs3JRPtuNOCJd+E2RK0qRHlZAEiE/tgCnHM7opgysM5nrA71KHA1hEoPzbcoXTlab rXUXoQIqJ40vnLDfRvocMd93++dmg5+NCvtCSYrMsq8d4tPYGVpn9ZeuRcY36kR5Iypb hoaxBc4EOlW5F8vYX5kbAJQUJCcHthKcXrz0xrQsWlzDNVBstF2F/pJF/QCooCoPwd1L bnfn89lbde8+d1g+DYFm159zu/eOSa4ozKBYaMjpFQxC/ZJp3TtGqku5ryvLiqJ66oYI mrvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=kqL7G0363ZlJ7Inpx/JrI+0ttrxSWZQwGjSZbCIakwU=; b=HDVOPZU4HZY9604xJa+Wli9GlSvmUQ9guUHBz/z4C3EDd+mLYVD6EwfD0UQENCt/a2 3aeks0RqOHgGkHJ9AOCol77OFm4BGJxg9huKLdutrhmqRjQ+frkOg6Kh2SzxYOi/NA4K B4rBrrelpINleVW/x5eLG1DDiC0rMU2F467EHZ7pgdKFWhq+gGRdvT3Rdo94GuKiRkvi GcNbCKWOrTEdJKAKDsh6zkaQYekdCY/JZWCVrdT5U68QxcmQpBQetplwJ5DfSLGDFoO+ YrJlqFNYyoAK2dwfY2zET06KSyW+AYCk4AohFShvsdOdvCayn5MN0OLMudFpo1gQ90va Xf4g== X-Gm-Message-State: ALKqPwfLapdipMcqnoaerQRCKALIYkmgKsYPuCzS5ZmZ5IoWWHocrdq4 T5pR5fk0sfl2oBrUAK97ObXTBw== X-Google-Smtp-Source: AB8JxZrcE0ZcA7vjpiY7mw22XSi5+P+XcIol7wLIn0O1/o054OmiArqs/etXE9/C/sbshALQgG2sQg== X-Received: by 2002:a63:42c6:: with SMTP id p189-v6mr12725639pga.48.1527571034941; Mon, 28 May 2018 22:17:14 -0700 (PDT) Original-Received: from calancha-pc (228.225.128.101.dy.bbexcite.jp. [101.128.225.228]) by smtp.gmail.com with ESMTPSA id u10-v6sm40104015pgp.32.2018.05.28.22.17.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 May 2018 22:17:14 -0700 (PDT) In-Reply-To: <87y3g3lscc.fsf@gmail.com> (Christian Schwarzgruber's message of "Mon, 28 May 2018 17:20:35 +0200") 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" Xref: news.gmane.org gmane.emacs.bugs:146668 Archived-At: Christian Schwarzgruber writes: > Hello Everybody! > > (setq inhibit-message t) hides isearch prompt. Is this defined behavior > or a bug? Its use is not intended to be set globally by users, because you don't want to suppress all the calls to `message'; `message' is a common way for Emacs to talk with its users, ask them for input or whatever. Maybe something could be added in its docstring to make the point clear. This var is mainly used by package developers in a controlled way: typically by locally let-binding it around an expression. For example, imagine the package `foo' having an user option `foo-verbose' to display/suppress not very important messages: (defcustom foo-verbose t "If nil, suppress some messages" :type 'boolean :group 'foo) (defun foo-set-vars () (message "Setting package variables!") (setq foo-mint 100) (setq foo-star -1)) (defun foo-start () (foo-procastinate-response) (message "Initialisation complete!")) (defun foo-initialize () (let ((inhibit-message (not verbose))) (foo-set-vars) (foo-start))) That would be OK. Another typical use is to suppress garbage messages when writing tests.