From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: goncholden via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53776: Modeline indicator when using define-minor-mode Date: Sun, 06 Feb 2022 17:12:27 +0000 Message-ID: References: <87v8xun5ss.fsf@rub.de> <2qvgePp1-X8z9KUXXka3Sv4Cy2yj9mgatR8NS8E2VIe1ijRsHK9FNYTgnDVa-5_B1eeSofCm97AnsdYunXTn41Yixq5Ecg_rD35upiG3oec=@protonmail.com> <87r18in49c.fsf@rub.de> <87iltsmzn9.fsf@web.de> Reply-To: goncholden Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15276"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53776@debbugs.gnu.org, Stephen Berman To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 06 18:14:13 2022 Return-path: Envelope-to: geb-bug-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 1nGl76-0003qD-Pp for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 18:14:12 +0100 Original-Received: from localhost ([::1]:59374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGl74-0005GB-V0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 12:14:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGl5y-0005BG-Pr for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 12:13:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGl5y-0003Kx-Gn for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 12:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGl5y-0005da-Cj for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 12:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: goncholden Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Feb 2022 17:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53776 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 53776-submit@debbugs.gnu.org id=B53776.164416756021641 (code B ref 53776); Sun, 06 Feb 2022 17:13:02 +0000 Original-Received: (at 53776) by debbugs.gnu.org; 6 Feb 2022 17:12:40 +0000 Original-Received: from localhost ([127.0.0.1]:39751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGl5b-0005cy-Od for submit@debbugs.gnu.org; Sun, 06 Feb 2022 12:12:40 -0500 Original-Received: from mail-40138.protonmail.ch ([185.70.40.138]:46328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGl5Y-0005cU-Ls for 53776@debbugs.gnu.org; Sun, 06 Feb 2022 12:12:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1644167550; bh=ywTK72S8c2kF6UXUvc9AhQDuZbhADUHddrpHMi/c4Eg=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=FgFE2+HnFAj8p2Ki7ngZEzsq09hysn4PVPMAym48OO+ln4MqMtAQ0hyo7U75DYXPr TOaQdLeQjeS21vfoORWO6m80s10dBfoQ6Brwk3deoMz/gJB57bHh/sakaGFnSoEztl 4X3JC2PmcLzFZUbPx9r2OjqGqbpSBcLcV2YuhdTR++FeUPZsCcWonv0Y6tQSN2W7mm ARQq0tMKa7wUmsQtZ/3yq1L+Y18x26Fh8bc+WelbJuVtpsSIqAEYFnif581JszS4a7 7cb3Nf9ojxTRh9XD7cLJc56qUlMGILhYv0hG4R+Gl8+hMRvUaRnEy/5dHZcAGwpJCm mDuE3UA5LCBIg== In-Reply-To: <87iltsmzn9.fsf@web.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , goncholden Xref: news.gmane.io gmane.emacs.bugs:226163 Archived-At: ------- Original Message ------- On Sunday, February 6th, 2022 at 3:39 AM, Michael Heerdegen wrote: > Stephen Berman stephen.berman@gmx.net writes: > > > > Because one can easily add minor-modes that exceed the mode-line > > > mini-buffer, > > > is there > > > the capability of making a hierarchical modeline indicator. > > > e.g. > > > Emacs-Lisp > > > company > > > Outl > > > Gon -> rich > > > -> gudin > > > -> cholden > > > > That would appear to require a multiline mode line, which is not > > possible with the current implementation. > > Maybe goncholden wants to visualize alternative "submodes". That's > possible: the :lighter can be any modeline construct so you can do > anything here the modeline supports, e.g. using :eval. See the > definition of `emacs-lock-mode' for an example. It is quite easy to have many minor-modes, and would be good to see them ca= tegorised, perhaps in some kind of menu. Been directed to minions, but would be great= if emacs has such functionality built-in. I am ending with too many minor-modes bei= ng activated. > > An alternative, which might be easier to implement (for someone who > > knows how, not me), would be to make the mode line horizontally > > scrollable. But maybe that's not so easy, since it seems so obviously > > useful, yet hasn't been implemented. > > It's not hard to achieve, no. But it replaces something that is too > crowded to be useful with something scrollable that is too crowded to be > useful. I tried it once and was very disappointed - a modeline you need > to scroll to see everything is worse than using a help command like C-h > m. > > There are better alternatives: The more you use Emacs, the more the > minor modes you use don't change any more. Better choose one of the > available ways to make the mode indicator less longish in appearance. > > Michael.