[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Turn compilation-in-progress into a proper minor mode?
From: |
David Kastrup |
Subject: |
Re: [AUCTeX] Turn compilation-in-progress into a proper minor mode? |
Date: |
Thu, 24 Oct 2013 10:49:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Oleh <address@hidden> writes:
> Hi all,
>
> Current behavior is out of date:
>
> (length minor-mode-alist)
> => 68
> (count-if-not (lambda (x) (functionp (car x)))
> minor-mode-alist)
> => 7
>
> And compilation-in-progress is one of them. The point is that if it's
> not a function, it's impossible to turn it off with M-x or with mouse
> from the modeline. Only with (setq compilation-in-progress).
>
> I could write up a patch to make the change. I just wanted to ask if
> there's a reason that things are this way and the change can't be
> made.
compilation-in-progress is defined in Emacs (in
lisp/progmodes/compile.el), so AUCTeX has no business messing with its
definition. Any changes need to be contributed to Emacs upstream.
--
David Kastrup