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: [External] : Re: Is there a way to avoid clobbering minibuffer by messages? Date: Thu, 30 Mar 2023 20:06:04 +0000 Message-ID: References: <3f004ca9-1f71-2c5b-17f1-e154f209e6d3@gmail.com> <83ilei62o6.fsf@gnu.org> <8d94bd37-d657-cf14-c0cb-372cde983ee0@gmail.com> <837cuy5y2m.fsf@gnu.org> <83fs9m42pc.fsf@gnu.org> <83a5zu3z7a.fsf@gnu.org> <834jq23xc3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="cru9iiu5wi" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21923"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 30 22:06:26 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 1phyXS-0005VJ-1S for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Mar 2023 22:06:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phyXF-00083s-Pk; Thu, 30 Mar 2023 16:06:13 -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 1phyXB-00083j-5T for help-gnu-emacs@gnu.org; Thu, 30 Mar 2023 16:06:09 -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 1phyX9-0003gG-4e; Thu, 30 Mar 2023 16:06:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1680206765; bh=2abt5iuEdIhYhS0y2vhZN1IPxpkABGG2eMfld1Q1pdk=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=CbgsipxWTDDvoldGvXXwBVC1Eq+xIMcRJSkY7qVjnY9TU2DjCK2HSRlnlN+x8N4VK 8OhjRs5BlUu1l3BQtFt8qs8/nHHUfyLubVLnm7wmn3PADYeSaQZ92W7iGgrT6UrwKf WGuv83Fa7cKZwQA3S4zY+WnFKtkLdviVDvtSOeC0nBBLGV/uH28KqZEGw+nRqOMuJB BcU0s6Bv5zF7ttOT8A0Hlrgl/0LqvAB+zZrwqQkbhDmKUG3h4PZYe7gvCyXRMPOLFb bFuesekPSkApOUN4cS+nd6zxOFYd/l0nW6vcHSTX7flxx5TxKzj+M90aiTn6z70xOx kyGq7NTjsNhBw== In-Reply-To: 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:143168 Archived-At: --cru9iiu5wi Content-Type: text/plain; charset=us-ascii; format=flowed >>>> It's not perhaps the solution that would suit everyone, but I'd bet >>>> some users will prefer that to the way they are currently displayed. >>>> A third option would indeed be a kind of pop-up buffer. And there >>>> are probably other options. >>> >>> Popup buffer and popup frame (perhaps a child frame?) are IMO the only >>> viable alternatives that are worth having in Emacs. >> >> A popup frame is not an option for terminal users. A popup buffer >> could be an option, but if I had to choose between the two, I think I >> would choose the mode-line one, which is IMO less disturbing. > > And here is (a first draft of) the code for a popup buffer. > Two typos corrected. --cru9iiu5wi Content-Type: text/plain; charset=us-ascii; name=popup-buffer-minibuffer-message.el Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: attachment; filename=popup-buffer-minibuffer-message.el KGRlZnZhciBwb3B1cC1idWZmZXItbWluaWJ1ZmZlci1tZXNzYWdlLXdpbmRv dyBuaWwpDQooZGVmdmFyIHBvcHVwLWJ1ZmZlci1taW5pYnVmZmVyLW1lc3Nh Z2UtdGltZXIgbmlsKQ0KKGRlZnVuIHBvcHVwLWJ1ZmZlci1taW5pYnVmZmVy LW1lc3NhZ2UtY2xlYXIgKCkNCiAgKHdoZW4gKG5vdCBub25pbnRlcmFjdGl2 ZSkNCiAgICAod2hlbiAodGltZXJwIG1pbmlidWZmZXItbWVzc2FnZS10aW1l cikNCiAgICAgIChjYW5jZWwtdGltZXIgcG9wdXAtYnVmZmVyLW1pbmlidWZm ZXItbWVzc2FnZS10aW1lcikNCiAgICAgICh3aGVuICh3aW5kb3ctbGl2ZS1w IHBvcHVwLWJ1ZmZlci1taW5pYnVmZmVyLW1lc3NhZ2Utd2luZG93KQ0KCShk ZWxldGUtd2luZG93IHBvcHVwLWJ1ZmZlci1taW5pYnVmZmVyLW1lc3NhZ2Ut d2luZG93KSkpKSkNCihkZWZ1biBwb3B1cC1idWZmZXItbWluaWJ1ZmZlci1t ZXNzYWdlLXNldCAobWVzc2FnZSkNCiAgKGxldCogKChtaW5pYnVmLXdpbmRv dy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