From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Christian Schwarzgruber 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 07:37:37 +0200 Message-ID: <87efhvowda.fsf@gmail.com> References: <87y3g3lscc.fsf@gmail.com> <874lirxcq4.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1527572170 16487 195.159.176.226 (29 May 2018 05:36:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 May 2018 05:36:10 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 26.1 Cc: 31627@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 29 07:36:05 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 1fNXIj-0004C0-KN for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 07:36:05 +0200 Original-Received: from localhost ([::1]:58977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNXKp-00007y-Kv for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 01:38:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNXKh-00007t-TL for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:38:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNXKc-0004Jp-Qk for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:38:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNXKc-0004J8-Lk for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fNXKc-0002iX-3N for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 01:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christian Schwarzgruber Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 May 2018 05:38: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.152757227010426 (code B ref 31627); Tue, 29 May 2018 05:38:02 +0000 Original-Received: (at 31627) by debbugs.gnu.org; 29 May 2018 05:37:50 +0000 Original-Received: from localhost ([127.0.0.1]:52994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNXKQ-0002i6-KG for submit@debbugs.gnu.org; Tue, 29 May 2018 01:37:50 -0400 Original-Received: from mail-wm0-f66.google.com ([74.125.82.66]:52049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNXKO-0002hr-Ge for 31627@debbugs.gnu.org; Tue, 29 May 2018 01:37:48 -0400 Original-Received: by mail-wm0-f66.google.com with SMTP id r15-v6so9312092wmc.1 for <31627@debbugs.gnu.org>; Mon, 28 May 2018 22:37:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=k7Um0d8RL9cE+xsuWJvq1eLHIGcRQdKGSHBBee1l5gI=; b=O0WJuH4vYmkgIEw+Lv2NFcCnjOtP2FY/iXDG3JBzH/iP8L769bHmX5GHcr+RbLsjSg S9aBp90zrgM8+0FbVR4JANj2EtDH6FdspBfrisF4Lc98TECzkis4FSRDhcC6LRzH0AFH OYgb7kZvxBiZDBrv4FYGkyeSQjPnelN0WOiwp+foEHqHJMKjBuIoy1P/JWVwSbxbmRND LyYPD6sCJ96nKOKEqQQSgpJKue5DHjljWx1iekxN8sAgFuDH+lMEKD2p36XItjPkOWx4 Robb+xKC2fH1Vp9/aJbKeXnbLa21lLREM4K/hYHFcvlm0sBS9BUTbWq6+7csMd0+EQ6g H/9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=k7Um0d8RL9cE+xsuWJvq1eLHIGcRQdKGSHBBee1l5gI=; b=Phs8+AWREmxMcQ+3Ar3qSmIWAJx32hclDlNOExxnj5ZnXhoH1l9wkDq4cC+AoOAnKa TDpzm9QGwzLx/ol2YqV/iYD7Tq589GygHMoF1QJn+GSJ6wnA1RsOmDb2KKqjArwdq7qo v0OD7pyIsJF4gQe4PPUu3/Qci4+Xm5iMRC9AG2ICRzjFYupChmB/DNNFKIfmD0P34quI HVTFHz1DuPRXuPw2Te5stXFTF1l585CaioXfX9Qz+x9E4SYDe/8MNkmyN6Rv5ly+rjR6 xc3DKVHtzGtvGcA7AT1VV8yuV3GYlkI2X07+1ceVG8rw/rWekX5XCarlc7j9HCIyIqPL s+UA== X-Gm-Message-State: ALKqPwfXeMGx0/SOHOEAC6Gu+slyWkXW4q/0hz0y857biG3YQrhMAJgM pcoaf6IvW2RmmzDlgaXOOwAoHA== X-Google-Smtp-Source: ADUXVKK1VRvNnU3ieyYI1Vl6HO9wGBlNzMdPCnph4FKjhiCQJM/72mT/Y9soSe4C0V0KO06gQCMv+Q== X-Received: by 2002:a1c:8409:: with SMTP id g9-v6mr3340959wmd.90.1527572262614; Mon, 28 May 2018 22:37:42 -0700 (PDT) Original-Received: from lap-02 (84-114-215-247.cable.dynamic.surfer.at. [84.114.215.247]) by smtp.gmail.com with ESMTPSA id a8-v6sm21044847wrc.18.2018.05.28.22.37.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 May 2018 22:37:41 -0700 (PDT) In-reply-to: <874lirxcq4.fsf@gmail.com> 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:146669 Archived-At: Thank you for clarification! With that "docstring" things are now clear to me. -Christian Tino Calancha writes: > 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.