bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27252: clicking the word Compiling in the mode line


From: Basil L. Contovounesios
Subject: bug#27252: clicking the word Compiling in the mode line
Date: Sun, 21 Jul 2019 20:55:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> 積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
>
>> When some other window is compiling, clicking "Compiling" seen in the
>> mode line should take us to that window.
>
> That sounds useful.
>
> Hm.  Unfortunately, compile.el (ab)uses the minor-mode-alist for this
> stuff, so we only get the minor mode menu up instead of being able to
> put actions on these elements?
>
> (or (assq 'compilation-in-progress minor-mode-alist)
>     (setq minor-mode-alist (cons '(compilation-in-progress " Compiling")
>                                minor-mode-alist)))
>
> I'm not sure what the right way to fix this would be...  perhaps stop
> pretending it's a minor mode?  But where would be put the lighter then?

Would mode-line-process work?

-- 
Basil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]