[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Turn compilation-in-progress into a proper minor mode?
From: |
Oleh |
Subject: |
Re: [AUCTeX] Turn compilation-in-progress into a proper minor mode? |
Date: |
Thu, 24 Oct 2013 11:05:53 +0200 |
I wasn't going to mess with it. It's just since AUCTEX is usually the
one that causes "Compilation" to hang in my mode-line indefinitely, I
thought AUCTEX could move to its own `tex-compilation-minor-mode'
instead of pushing to `compilation-in-progress'.
Oleh
On Thu, Oct 24, 2013 at 10:49 AM, David Kastrup <address@hidden> wrote:
> 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