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:02:56 +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="Ab4B1GZm92" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6263"; 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:03:40 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 1phyUl-0001Mr-0z for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Mar 2023 22:03:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phyUC-000718-Pn; Thu, 30 Mar 2023 16:03:04 -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 1phyUA-00070z-7w for help-gnu-emacs@gnu.org; Thu, 30 Mar 2023 16:03:02 -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 1phyU7-0002zl-7T; Thu, 30 Mar 2023 16:03:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1680206576; bh=iADuufE0mxNbQp7coAyIyvPXA9WRblgzC4Z8660YEys=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=ojXR6d4UnIx/7aCmNYRyzgjt6RQ3z6dxpxKok3QrbNS94BZohTRPpIzKK/vmzRKX4 rpqmrtkd6391c8IgFc5njRsNaz+ls6EZPsScdoVmyU/PMLIjZ97RWEArIO8NXbUeto xpdclraXNwVjemH1FvhjZUU3LVzvLbC4HhBFOjsJcg733eMLJGnT38ftJSL1s2Ew8h wag7/qwEKfzsoPcN00ZefnKg68I5U1WYHri8c0Fwgf0MrPGxHs0ttK517YFuzBxbqa qItziU8QZKqIUHtcxgHmwAJhNlEtJtK+cUlsuBjR84FC4A/s9iH7PNtbncoKpbIDEF WWOJ81Dx+aSKQ== In-Reply-To: Content-ID: 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:143167 Archived-At: --Ab4B1GZm92 Content-Type: text/plain; charset=us-ascii; format=flowed Content-ID: >>> 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. --Ab4B1GZm92 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 dyBuaWwpDQooZGVmdW4gcG9wdXAtYnVmZmVyLW1pbmlidWZmZXItbWVzc2Fn ZS1jbGVhciAoKQ0KICAod2hlbiAobm90IG5vbmludGVyYWN0aXZlKQ0KICAg ICh3aGVuICh0aW1lcnAgbWluaWJ1ZmZlci1tZXNzYWdlLXRpbWVyKQ0KICAg ICAgKGNhbmNlbC10aW1lciBwb3B1cC1idWZmZXItbWluaWJ1ZmZlci1tZXNz YWdlLXRpbWVyKQ0KICAgICAgKHdoZW4gKGxpdmUtd2luZG93LXAgcG9wdXAt YnVmZmVyLW1pbmlidWZmZXItbWVzc2FnZS13aW5kb3cpDQoJKGRlbGV0ZS13 aW5kb3cgcG9wdXAtYnVmZmVyLW1pbmlidWZmZXItbWVzc2FnZS13aW5kb3cp KSkpKQ0KKGRlZnVuIHBvcHVwLWJ1ZmZlci1taW5pYnVmZmVyLW1lc3NhZ2Ut c2V0IChtZXNzYWdlKQ0KICAobGV0KiAoKG1pbmlidWYtd2luZG93IChhY3Rp dmUtbWluaWJ1ZmZlci13aW5kb3cpKQ0KICAgICAgICAgKG1pbmlidWYtZnJh bWUgKGFuZCAod2luZG93LWxpdmUtcCBtaW5pYnVmLXdpbmRvdykNCiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgKHdpbmRvdy1mcmFtZSBtaW5pYnVm LXdpbmRvdykpKSkNCiAgICAod2hlbiAoYW5kIChub3Qgbm9uaW50ZXJhY3Rp dmUpDQogICAgICAgICAgICAgICAod2luZG93LWxpdmUtcCBtaW5pYnVmLXdp bmRvdykNCiAgICAgICAgICAgICAgIChvciAoZXEgKHdpbmRvdy1mcmFtZSkg bWluaWJ1Zi1mcmFtZSkNCiAgICAgICAgICAgICAgICAgICAoZXEgKGZyYW1l LXBhcmFtZXRlciBtaW5pYnVmLWZyYW1lICdtaW5pYnVmZmVyKSAnb25seSkp KQ0KICAgICAgKHByb2duDQogICAgICAgICh3aGVuIChudW1iZXJwIG1pbmli dWZmZXItbWVzc2FnZS1jbGVhci10aW1lb3V0KQ0KICAgICAgICAgIChzZXRx IHBvcHVwLWJ1ZmZlci1taW5pYnVmZmVyLW1lc3NhZ2UtdGltZXINCiAgICAg ICAgICAgICAgICAocnVuLXdpdGgtdGltZXIgbWluaWJ1ZmZlci1tZXNzYWdl LWNsZWFyLXRpbWVvdXQgbmlsDQogICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICMncG9wdXAtYnVmZmVyLW1pbmlidWZmZXItbWVzc2FnZS1jbGVh cikpKQ0KCShsZXQgKChidWZmZXIgKGdldC1idWZmZXItY3JlYXRlICIgKlBv cHVwIEVjaG8gQXJlYSoiKSkpDQoJICAodW5sZXNzICh3aW5kb3ctbGl2ZS1w IHBvcHVwLWJ1ZmZlci1taW5pYnVmZmVyLW1lc3NhZ2Utd2luZG93KQ0KCSAg ICAoc2V0cSBwb3B1cC1idWZmZXItbWluaWJ1ZmZlci1tZXNzYWdlLXdpbmRv dw0KCQkgIChkaXNwbGF5LWJ1ZmZlcg0KCQkgICBidWZmZXINCgkJICAgJyhk aXNwbGF5LWJ1ZmZlci1pbi1zaWRlLXdpbmRvdw0KCQkgICAgIChzaWRlIC4g Ym90dG9tKQ0KCQkgICAgICh3aW5kb3ctaGVpZ2h0IC4gMSkpKSkpDQoJICAo d2l0aC1jdXJyZW50LWJ1ZmZlciBidWZmZXINCgkgICAgKHNldHEtbG9jYWwg bW9kZS1saW5lLWZvcm1hdCBuaWwgY3Vyc29yLXR5cGUgbmlsKQ0KCSAgICAo ZXJhc2UtYnVmZmVyKQ0KCSAgICAoaW5zZXJ0IG1lc3NhZ2UpKSkNCgl0KSkp KQ0KKHNldHEgY2xlYXItbWVzc2FnZS1mdW5jdGlvbiAjJ3BvcHVwLWJ1ZmZl ci1taW5pYnVmZmVyLW1lc3NhZ2UtY2xlYXIpDQooc2V0cSBzZXQtbWVzc2Fn ZS1mdW5jdGlvbiAjJ3BvcHVwLWJ1ZmZlci1taW5pYnVmZmVyLW1lc3NhZ2Ut c2V0KQ0K --Ab4B1GZm92--