From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.help Subject: Re: Is there a way to avoid clobbering minibuffer by messages? Date: Fri, 31 Mar 2023 07:45:09 +0000 Message-ID: <58158ae498b2bf0b33f8@heytings.org> References: <3f004ca9-1f71-2c5b-17f1-e154f209e6d3@gmail.com> <83ilei62o6.fsf@gnu.org> <8d94bd37-d657-cf14-c0cb-372cde983ee0@gmail.com> <837cuy5y2m.fsf@gnu.org> <612cf8b3-9dea-a487-893d-241728f71944@gmail.com> <58158ae498edfb9d8921@heytings.org> <58158ae4986f49e1690e@heytings.org> <58158ae49879a773345e@heytings.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="283wAWk6Yb" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9731"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , help-gnu-emacs@gnu.org To: Platon Pronko Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 31 09:45:44 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pi9SC-0002L7-3U for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 31 Mar 2023 09:45:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pi9Ri-00049S-MQ; Fri, 31 Mar 2023 03:45:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pi9Rg-00049F-Ua for help-gnu-emacs@gnu.org; Fri, 31 Mar 2023 03:45:12 -0400 Original-Received: from heytings.org ([95.142.160.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pi9Re-00084a-Vh; Fri, 31 Mar 2023 03:45:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1680248709; bh=r5CqrMtL5+edjWeo1Z0RHve3RYyNmdnzRtkD2jj/hOE=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=4JjrkEYzcGcM9fwUOQlQfDHNsqBNGyZnkc67E7byIIUbFfuZQg6Set00RQtQ5qbNo SE+imj/JlMlfcQZj2uDwODw48IQrUT02Bn0hkYGoUaVkkp8H19KHqAvhyWFVSymf/D jmrIt0o4OFOsfuYzzNzSpI9kCEP5xSR8QBKxiowUWeFCLmKYMAi2OU/cTaSSkqcQ0I N/lopE0FZiuycE47o8zqyR0Z8HQIt2de02Qk8z2PcxLVHFHdCIPWYBtnRLy7hfICPl KDfyik0+JoQKYgsmABanVs/8sBsHdf27jhz/U3AIS3U65MdS+4vC20n857x4eNAH6U jJMmDlxiqA1oA== In-Reply-To: <58158ae49879a773345e@heytings.org> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143176 Archived-At: --283wAWk6Yb Content-Type: text/plain; charset=us-ascii; format=flowed >> I think of modeline as something buffer-specific, so I don't want to >> put global messages there. > > In that case you can try the other file I posted, with which messages > are displayed in a popup buffer. > Here it is again, with a few corrections. Again messages are displayed in a popup buffer only when the minibuffer is active. --283wAWk6Yb Content-Type: text/plain; charset=us-ascii; name=popup-buffer-minibuffer-message.el Content-Transfer-Encoding: base64 Content-ID: <58158ae498e78daf68e6@heytings.org> Content-Disposition: attachment; filename=popup-buffer-minibuffer-message.el KGRlZnZhciBwb3B1cC1idWZmZXItbWluaWJ1ZmZlci1tZXNzYWdlLXdpbmRv dyBuaWwpDQooZGVmdmFyIHBvcHVwLWJ1ZmZlci1taW5pYnVmZmVyLW1lc3Nh Z2UtdGltZXIgbmlsKQ0KKGRlZnVuIHBvcHVwLWJ1ZmZlci1taW5pYnVmZmVy LW1lc3NhZ2UtY2xlYXIgKCkNCiAgKHdoZW4gKG5vdCBub25pbnRlcmFjdGl2 ZSkNCiAgICAod2hlbiAodGltZXJwIG1pbmlidWZmZXItbWVzc2FnZS10aW1l cikNCiAgICAgIChjYW5jZWwtdGltZXIgcG9wdXAtYnVmZmVyLW1pbmlidWZm ZXItbWVzc2FnZS10aW1lcikNCiAgICAgICh3aGVuICh3aW5kb3ctbGl2ZS1w IHBvcHVwLWJ1ZmZlci1taW5pYnVmZmVyLW1lc3NhZ2Utd2luZG93KQ0KCShk ZWxldGUtd2luZG93IHBvcHVwLWJ1ZmZlci1taW5pYnVmZmVyLW1lc3NhZ2Ut d2luZG93KSkpKSkNCihkZWZ1biBwb3B1cC1idWZmZXItbWluaWJ1ZmZlci1t ZXNzYWdlLXNldCAobWVzc2FnZSkNCiAgKGxldCogKChtaW5pYnVmLXdpbmRv dyAoYWN0aXZlLW1pbmlidWZmZXItd2luZG93KSkNCiAgICAgICAgIChtaW5p Yn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