GNU bug report logs - #55135
28.1; Flymake's mode-line lighter

Previous Next

Package: emacs;

Reported by: Howard Melman <hmelman <at> gmail.com>

Date: Tue, 26 Apr 2022 20:47:02 UTC

Severity: normal

Found in version 28.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Howard Melman <hmelman <at> gmail.com>
To: 55135 <at> debbugs.gnu.org
Subject: bug#55135: 28.1; Flymake's mode-line lighter
Date: Tue, 26 Apr 2022 16:46:16 -0400
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




This bug report was last modified 3 years and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.