GNU bug report logs - #27252
clicking the word Compiling in the mode line

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 5 Jun 2017 12:53:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 27.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 27252 in the body.
You can then email your comments to 27252 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#27252; Package emacs. (Mon, 05 Jun 2017 12:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 05 Jun 2017 12:53:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: clicking the word Compiling in the mode line
Date: Mon, 05 Jun 2017 20:52:19 +0800
When some other window is compiling, clicking "Compiling" seen in the
mode line should take us to that window.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27252; Package emacs. (Sun, 21 Jul 2019 18:16:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 27252 <at> debbugs.gnu.org
Subject: Re: bug#27252: clicking the word Compiling in the mode line
Date: Sun, 21 Jul 2019 20:15:24 +0200
積丹尼 Dan Jacobson <jidanni <at> 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?

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27252; Package emacs. (Sun, 21 Jul 2019 19:56:02 GMT) Full text and rfc822 format available.

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

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 27252 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#27252: clicking the word Compiling in the mode line
Date: Sun, 21 Jul 2019 20:55:36 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> 積丹尼 Dan Jacobson <jidanni <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27252; Package emacs. (Mon, 22 Jul 2019 12:27:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 27252 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#27252: clicking the word Compiling in the mode line
Date: Mon, 22 Jul 2019 14:26:27 +0200
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:

>> 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?

That's a buffer-local variable, and the "Compiling" is shown in all mode
lines, so that wouldn't work, I think?

Perhaps `global-mode-string' is a good place to put this?

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27252; Package emacs. (Tue, 23 Jul 2019 17:52:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>,
 27252 <at> debbugs.gnu.org
Subject: Re: bug#27252: clicking the word Compiling in the mode line
Date: Tue, 23 Jul 2019 19:51:21 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> "Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
>
>>> 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?
>
> That's a buffer-local variable, and the "Compiling" is shown in all mode
> lines, so that wouldn't work, I think?
>
> Perhaps `global-mode-string' is a good place to put this?

I put it in mode-line-modes, because that's what erc-track did.

And I made it "[Compiling] ", because that's also what erc-track does,
but feel free to bikeshed the look of the ... lighter.

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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 23 Jul 2019 17:52:03 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 27252 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 23 Jul 2019 17:52:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Aug 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 242 days ago.

Previous Next


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