From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36803: 27.0.50; Update mode-line of every window when compilation ends Date: Sat, 27 Jul 2019 09:57:50 +0300 Message-ID: <83blxgm0b5.fsf@gnu.org> References: <877e87i0vw.fsf@gmail.com> <87imrqcuws.fsf@mouse.gnus.org> <83ef2enosr.fsf@gnu.org> <83r26dmcx3.fsf@gnu.org> <83imron88m.fsf@gnu.org> <83h878mzjc.fsf@gnu.org> <83ef2cmwji.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="141179"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36803@debbugs.gnu.org, monnier@iro.umontreal.ca, kevin.legouguec@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 27 08:59:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrGfb-000HSO-Cg for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2019 08:59:07 +0200 Original-Received: from localhost ([::1]:44406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrGfa-0000YH-8c for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2019 02:59:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35855) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrGfX-0000XT-F7 for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 02:59:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrGfV-0001aB-Qu for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 02:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34735) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrGfV-0001a1-OE for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 02:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hrGfV-0001KD-KG for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 02:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2019 06:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36803 X-GNU-PR-Package: emacs Original-Received: via spool by 36803-submit@debbugs.gnu.org id=B36803.15642106825015 (code B ref 36803); Sat, 27 Jul 2019 06:59:01 +0000 Original-Received: (at 36803) by debbugs.gnu.org; 27 Jul 2019 06:58:02 +0000 Original-Received: from localhost ([127.0.0.1]:43556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrGeY-0001Ip-IK for submit@debbugs.gnu.org; Sat, 27 Jul 2019 02:58:02 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrGeW-0001IJ-NN for 36803@debbugs.gnu.org; Sat, 27 Jul 2019 02:58:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hrGeR-0000ta-An; Sat, 27 Jul 2019 02:57:55 -0400 Original-Received: from [176.228.60.248] (port=3517 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hrGeP-00060Z-QJ; Sat, 27 Jul 2019 02:57:54 -0400 In-reply-to: (message from Lars Ingebrigtsen on Fri, 26 Jul 2019 21:35:14 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173323 > From: Lars Ingebrigtsen > Cc: Stefan Monnier , 36803@debbugs.gnu.org, > kevin.legouguec@gmail.com > Date: Fri, 26 Jul 2019 21:35:14 +0200 > > Eli Zaretskii writes: > > > If the call to force-mode-line-update is the solution you suggest, > > then I think it is not a good solution. We cannot rely in a call to > > force-mode-line-update, because there's the default sentinel, and > > because it's unreasonable to request each sentinel written in Lisp to > > make that call. If every sentinel must do that, then the core should > > do that for them. > > Well, when I was looking at where to move the "Compiling" > sort-of-lighter (from out of minor-mode-alist where it didn't belong), I > was looking for other modes that display things in mode lines in all > buffers -- and there doesn't seem to be many. I'm not talking about just any change to the mode line. I'm talking specifically about the process status indicator there. The process status change is detected by the C code, so that's where we should make sure the mode line gets updated regarding the process status.