From: Howard Melman <hmelman@gmail.com>
To: 55135@debbugs.gnu.org
Subject: bug#55135: 28.1; Flymake's mode-line lighter
Date: Tue, 26 Apr 2022 16:46:16 -0400 [thread overview]
Message-ID: <F4414DC6-E5E2-409C-855C-8A27F9BA6792@gmail.com> (raw)
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
next reply other threads:[~2022-04-26 20:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-26 20:46 Howard Melman [this message]
2022-04-27 12:59 ` bug#55135: 28.1; Flymake's mode-line lighter Lars Ingebrigtsen
2022-04-27 14:11 ` Howard Melman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F4414DC6-E5E2-409C-855C-8A27F9BA6792@gmail.com \
--to=hmelman@gmail.com \
--cc=55135@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.