From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja Newsgroups: gmane.emacs.devel Subject: Re: Keep global-mode-string on its own "modeline"? Date: Sun, 30 Oct 2022 11:47:29 +0600 Message-ID: <87y1sxsw0e.fsf@disroot.org> References: <87czabzmuk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19096"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Thuna , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 30 13:17:28 2022 Return-path: Envelope-to: ged-emacs-devel@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 1op7Fo-0004oY-6o for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Oct 2022 13:17:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1op7FK-0008Nb-L1; Sun, 30 Oct 2022 08:16:58 -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 1op7FI-0008HX-Sr for emacs-devel@gnu.org; Sun, 30 Oct 2022 08:16:56 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1op7FG-00067V-PB for emacs-devel@gnu.org; Sun, 30 Oct 2022 08:16:56 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0C2E141043; Sun, 30 Oct 2022 13:16:51 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AHTEBY0yHQ56; Sun, 30 Oct 2022 13:16:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1667132209; bh=VDwcEqldRVHg8RY/Xfvntj7w3AxU/x99c+Vi/7aDx8o=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=UgXQScouAPD9ghgdkvuQzfJw41ZY7w+acUcYzKXUX2vE/QYJ8340dgBGnOKSB6umB ECpGZ2AYiko+kwo4QaAu70LyRSyeAL1LPlNhtjJavHhXwSS2LB3+WhFNaxxa85LEAd rz+IUyZzqoV/JM/5K4g7Mn79U3/6132fyPsywDvYI0Y6M2G0D9hbXJWomvaVJehEZK Oo8ZQQft+I7OaSMsGhxjy+Y+kfr+lPjsIi/qSIIkjza/joHWPKD525ODavdjf9Fbij aPAyCwBFZJ09g+1xfn5WMnmcvJVZHARjWaY84ditNiWF/DbpPdDqO1YekS8/px7HnZ 72xDCdk01TZpA== In-Reply-To: (Stefan Monnier's message of "Sat, 29 Oct 2022 11:20:27 -0400") Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298808 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Monnier writes: >> There is no good reason for `global-mode-string' to be displayed in >> every single window's modeline separately, it takes a lot of space, and >> it usually ends up not completely showing when the window is split more >> than once. > > Indeed, we moved it to the end of the mode-line because it ended up > hiding more important info :-) > > As to where to put it, it's kind of tricky since Emacs doesn't have much > single place where to put such a thing. > https://elpa.gnu.org/packages/minibuffer-line.html is an attempt to use > the echo area for that. > > It has many shortcomings, IIRC, and would probably benefit from some > love, but you might want to try it out, both to discover its limits and > to see whether it hypothetically could be a good approach if we could > fix some of its shortcomings. > > > Stefan > > Yeah, minibuffer-line has indeed many shortcomings, so I ended up writing up my own echo area status line package, Minibar[1], (I need a status bar because I use EXWM and the external status bar don't suit for me) and I moved many things from my mode line to that status bar, and I'm pretty happy last six month with it. Footnotes: [1] https://codeberg.org/akib/emacs-minibar (not in any archive) =2D-=20 Akib Azmain Turja Find me on Mastodon at @akib@hostux.social, and on Codeberg (user "akib"). This message is signed by me with my GnuPG key. Its fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmNeD/EACgkQVTX89U2I YWvdyg//Q+cDgZoFdRdQgX9q6DBEgUwjq31NZYE76oO93phHVJahq3UuPQJ5KblS fLs65lK3OYVfElMTPiUUMm8uY3nws/vOv6dpPFVqndkc+C4Q3bwokWBPf+iTJfyv ZtSOeBrk8JFobS3RfLzpqHq4uPHTZQPbJxsSsf+8fvD2GqCxibT6IzYbRrGdaKJT 2LusF9qu2Vo+xXhGrFgBXUP4O8la60Ev1pFMAYuLW1UDxqrtz/wpyTlEgH7WS8J3 MAXtVZZNvq2/1AvuPbEq7ujOM1PtxLX07CNUsMJpneQScpRnlmv7iIYjtX4EaXs1 vFm2gJAh0+NOq9+VT/OcMqegjZsSS70//YrPw5G2/mHNp/QimRUhnx8SPZsrCYv9 o4GNUJPdp+/6M1aY3LIZVQ4Qey0ASTTnHuQI5wddmmwJhyPr5izDglqYshAQuQaD tY0srz7akl3PA3cRu+nO5OGb/JORZCxA9+L72/Tr7kLMiygByP/KOoo0LVcecrhb DNBeFbCD0+H8O7/sLsC1EitjnYGC/exMaG0vsnceIFDY1o6mgM/77DzDVHKVQs9c FuQjlfA2skJHJu8fX13qqXVmudMyaD0A698KqKiDqntBcrDAnhz1WwTFCX+5k8jf 3middWYB1OzDM+ef66NYANulP8ZCm4Ux73YIWiwYSIDPsV7MXD4= =zV7q -----END PGP SIGNATURE----- --=-=-=--