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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55135 in the body.
You can then email your comments to 55135 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#55135; Package emacs. (Tue, 26 Apr 2022 20:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Howard Melman <hmelman <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 26 Apr 2022 20:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Howard Melman <hmelman <at> gmail.com>
To: GNU Emacs <bug-gnu-emacs <at> gnu.org>
Subject: 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55135; Package emacs. (Wed, 27 Apr 2022 13:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 55135 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Howard Melman <hmelman <at> gmail.com>
Cc: 55135 <at> debbugs.gnu.org
Subject: Re: bug#55135: 28.1; Flymake's mode-line lighter
Date: Wed, 27 Apr 2022 14:59:46 +0200
Howard Melman <hmelman <at> gmail.com> writes:

> I'd just like the hardcoded string "Flymake" in flymake--mode-line-title
> to be changed to a variable I could set. 

This was added to Emacs 29 (as flymake-mode-line-lighter) yesterday, I
think.

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




bug marked as fixed in version 29.1, send any further explanations to 55135 <at> debbugs.gnu.org and Howard Melman <hmelman <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 27 Apr 2022 13:01:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55135; Package emacs. (Wed, 27 Apr 2022 14:12:01 GMT) Full text and rfc822 format available.

Message #13 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Howard Melman <hmelman <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#55135: 28.1; Flymake's mode-line lighter
Date: Wed, 27 Apr 2022 10:11:03 -0400
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> This was added to Emacs 29 (as flymake-mode-line-lighter) yesterday, I
> think.

Ugh, I knew that.  Sorry for the duplicate.

-- 

Howard





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 26 May 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 308 days ago.

Previous Next


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