unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55115: 28.1; Add way to customize Flymake mode line text
@ 2022-04-25 21:26 Allen Li
  2022-04-26 10:39 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Allen Li @ 2022-04-25 21:26 UTC (permalink / raw)
  To: 55115

Is it acceptable to add a way to customize the Flymake mode line text?
Mode line space is valuable and I think many users would want to shorten
"Flymake".

Currently it is generated by

flymake-mode-line-format
-> flymake-mode-line-title
-> flymake--mode-line-title

which hardcodes "Flymake".  I would suggest adding an intermediary
variable/user option that could be easily changed.

In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6)
 of 2022-04-20 built on frederik
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Arch Linux





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#55115: 28.1; Add way to customize Flymake mode line text
  2022-04-25 21:26 bug#55115: 28.1; Add way to customize Flymake mode line text Allen Li
@ 2022-04-26 10:39 ` Lars Ingebrigtsen
  2022-04-26 16:34   ` Howard Melman
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-04-26 10:39 UTC (permalink / raw)
  To: Allen Li; +Cc: 55115

Allen Li <darkfeline@felesatra.moe> writes:

> which hardcodes "Flymake".  I would suggest adding an intermediary
> variable/user option that could be easily changed.

I've now added flymake-mode-line-lighter to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#55115: 28.1; Add way to customize Flymake mode line text
  2022-04-26 10:39 ` Lars Ingebrigtsen
@ 2022-04-26 16:34   ` Howard Melman
  0 siblings, 0 replies; 3+ messages in thread
From: Howard Melman @ 2022-04-26 16:34 UTC (permalink / raw)
  To: 55115


Lars Ingebrigtsen <larsi@gnus.org> writes:

> Allen Li <darkfeline@felesatra.moe> writes:
>
>> which hardcodes "Flymake".  I would suggest adding an intermediary
>> variable/user option that could be easily changed.
>
> I've now added flymake-mode-line-lighter to Emacs 29.

I'll just note, bug#30978 "define-minor-mode should define
mode-lighter variable"  would have handled this.  I still
think it's a good idea.

-- 

Howard






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-26 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 21:26 bug#55115: 28.1; Add way to customize Flymake mode line text Allen Li
2022-04-26 10:39 ` Lars Ingebrigtsen
2022-04-26 16:34   ` Howard Melman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).