* bug#55135: 28.1; Flymake's mode-line lighter
@ 2022-04-26 20:46 Howard Melman
2022-04-27 12:59 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Howard Melman @ 2022-04-26 20:46 UTC (permalink / raw)
To: 55135
I'd like to change the lighter of Flymake so that instead of "Flymake"
it says "🪰" (a fly emoji).
I thought this would be easy, then saw flymake-mode-line-format and then
flymake-mode-line-title and thought I could just change that. Then I saw
it defaults to (:eval (flymake--mode-line-title)) and it's involved with its
keymaps and help etc. Then I read Bug #33740 so I'm sorry if this
causes anyone flashbacks. :)
I'd just like the hardcoded string "Flymake" in flymake--mode-line-title
to be changed to a variable I could set. I'm fine with everything else
flymake puts in the mode line. I just want it shorter
(defun flymake--mode-line-title ()
`(:propertize
"Flymake" <---- make this variable
With a variable, other people could change it to "FM" if they don't
like using emoji :) As it stands now I've copied the defun of
flymake--mode-line-title into my init to change the string.
Howard
In GNU Emacs 28.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))
of 2022-04-04 built on builder10-14.lan
Windowing system distributor 'Apple', version 10.3.2022
System Description: macOS 11.6.5
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-27 14:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-26 20:46 bug#55135: 28.1; Flymake's mode-line lighter Howard Melman
2022-04-27 12:59 ` Lars Ingebrigtsen
2022-04-27 14:11 ` Howard Melman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.