From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.devel Subject: Is there a way to inhibit message3 from Elisp? Date: Tue, 21 Apr 2015 15:37:39 +0200 Message-ID: <87618psiu4.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429623838 2836 80.91.229.3 (21 Apr 2015 13:43:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2015 13:43:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 21 15:43:43 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YkYSk-000391-C8 for ged-emacs-devel@m.gmane.org; Tue, 21 Apr 2015 15:43:42 +0200 Original-Received: from localhost ([::1]:58592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkYSj-0003PX-FP for ged-emacs-devel@m.gmane.org; Tue, 21 Apr 2015 09:43:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkYSP-0003NA-Vr for emacs-devel@gnu.org; Tue, 21 Apr 2015 09:43:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkYSM-0003ub-6y for emacs-devel@gnu.org; Tue, 21 Apr 2015 09:43:21 -0400 Original-Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:37572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkYSM-0003uK-0l for emacs-devel@gnu.org; Tue, 21 Apr 2015 09:43:18 -0400 Original-Received: by widdi4 with SMTP id di4so22050850wid.0 for ; Tue, 21 Apr 2015 06:43:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=r9RzPCaYXf0njbVKvTU/LiDYH/aq26Yw0KFgHMC93gQ=; b=dy+EOt0m2Jlra50NH/m655Gdx+eWdrJF+A9mYgw24ffVmK4Qr5Sw3Tw9OnBD8vA9wr a4RfZPCcC4dOjkSJodk6KymZVUNIPVK8zXDG4pXYK/jlNEUcD1H/YNbvpBFsTYUTD1Tl eCPV/yspMC+VakxyRrnMfbH8p7aY6AJrnPoHJu2GnLr080A4DEom2KaL+sR+t+mOSyNd e3jN+Try+pDOs7JWcHpcz03c/3RuZ9C52hp3tPs++56atyJnui/tMe+0fBn8dSL7rlAO AKGZvj7+YhEiqJKkGK1ovT6ZLQhTHGnpUNuz7Tvjge/zqC0EE7vQ0Lb+L5e+Xi+sA0fk QwaQ== X-Received: by 10.194.90.172 with SMTP id bx12mr32605507wjb.93.1429623797317; Tue, 21 Apr 2015 06:43:17 -0700 (PDT) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id wr2sm2701739wjb.45.2015.04.21.06.43.16 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 21 Apr 2015 06:43:16 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185748 Archived-At: Hi all, I think this option would be quite useful in general, if it's not yet implemented, which I'm pretty sure it's not. My particular use-case is that I'm doing completion in the minibuffer with ivy.el, calling `shell-command-to-string' in the `post-command-hook'. And when I enable `while-no-input' in my function, my minibuffer contents get rudely interrupted by `call_process_cleanup' saying: > "Waiting for process to die...done" I'm sure that this message is needed and appericated, but I'd like to have an option to suppress it. I think a variable like `inhibit-message' that I could let-bind would be a good solution to my problem. I've seen this question brought up a few times on the stack exchange sites, what people tend to do is to `flet'-override the `message' function. It doesn't apply in this case, but the solution to this problem would solve the other ones too. Oleh