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

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 21 Jul 2019 20:15:24 +0200

積丹尼 Dan Jacobson <[email-masked]> 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?

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