From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#36803: 27.0.50; Update mode-line of every window when compilation ends Date: Wed, 24 Jul 2019 23:22:11 +0200 Message-ID: <877e87i0vw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="79554"; mail-complaints-to="usenet@blaine.gmane.org" To: 36803@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 24 23:23:15 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 1hqOj7-000KQC-TD for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jul 2019 23:23:10 +0200 Original-Received: from localhost ([::1]:54616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqOj6-0002OW-FV for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jul 2019 17:23:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60571) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqOj2-0002OG-Ih for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 17:23:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqOj0-0007QE-Rw for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 17:23:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hqOj0-0007QA-Nc for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 17:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hqOj0-0006pO-IL for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 17:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jul 2019 21:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36803 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156400334526149 (code B ref -1); Wed, 24 Jul 2019 21:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jul 2019 21:22:25 +0000 Original-Received: from localhost ([127.0.0.1]:38132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqOiP-0006ng-7a for submit@debbugs.gnu.org; Wed, 24 Jul 2019 17:22:25 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:36747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqOiL-0006nT-77 for submit@debbugs.gnu.org; Wed, 24 Jul 2019 17:22:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60376) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqOiJ-0002GI-Gj for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 17:22:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqOiH-000796-RZ for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 17:22:19 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:42476) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hqOiH-00078x-J2 for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2019 17:22:17 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id x1so33470092wrr.9 for ; Wed, 24 Jul 2019 14:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=bxwoIvWuK47Jy+yHiW3HsU1a0+Wp4t8fEIWN9DuAV7c=; b=alNxhrrzL8MKSfhG9V0r1ygTh7kiN21tBahXIvC+kYnrCHOZDXb69wcdvhVTYgIsju 7jM6CEA5fGwU/i1kjzEma7IpCd4IiN+M8tqIM7kK5n/y0kCtmz6Q7DHndFpJE0tqvIDQ oHP7UIi66Kk0e+5ykRIEttUs/3P9ZaeA7vizRH/1K1Ev0rYUKMFcGnjHgg4/bI5wLsvK MwM5hmczva9gd/S/fR7t5MxB1qPgo+rurHzXGo6xYevxn4wWVGkZWatOkUiMR/ek81T7 wPDCCwkJLFmEtTWDsIC3s+mFf9ckwkmDLewZhxVYRI/yQTJZ78I2qvzUAHF1KM9p+Dlg 1TtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=bxwoIvWuK47Jy+yHiW3HsU1a0+Wp4t8fEIWN9DuAV7c=; b=F3hwPTZ0aBAnqLdW8j1NaVKNoAEtwV42Sck4tjCXOdmxu8FuY7teybIdbli/4SsAtU W8fgvdcg8GK0R1yCnvV3UfkNGX0nUcJVnJqWyfDgi2WBEqJs3tIXukLuRUyQx/EsHJ+o c7m465hljlK9AcH9gWz4T/H+ljSWIKI4haDoBJkpeIppY6euuQNg8zSi1J1FmVQI6pob OacDWzpncga+eEoKS+1nSqVeOqhbttDkYDi9kQFVB49jLKznSuRGP+NKVSdTRP5rp6Ya tnopxxLilkNMPfiKWF1FxrMBIEjkA3eGBBM2tV44zIwFC/gsEXr3F0aeoEf+BWUPIAvN LmuA== X-Gm-Message-State: APjAAAWUAboJzrCL8v/XDNLudkdZW9Z0/NdxIzy309QJUXWXqLxInDfj vh99kelmrpx0mfvNqW5PV2dhNsUg X-Google-Smtp-Source: APXvYqyIun98h3kufNDuhWEmzVGLmNaxaNUjg7EQ3AQDMOant3XmYuA5if34x5FdnZITyhO79Ii4kA== X-Received: by 2002:a5d:498f:: with SMTP id r15mr84484122wrq.353.1564003335344; Wed, 24 Jul 2019 14:22:15 -0700 (PDT) Original-Received: from my-little-tumbleweed (71.142.13.109.rev.sfr.net. [109.13.142.71]) by smtp.gmail.com with ESMTPSA id f70sm56968639wme.22.2019.07.24.14.22.13 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 24 Jul 2019 14:22:14 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:163680 Archived-At: --=-=-= Content-Type: text/plain Hello, The recent changes on the compilation-in-progress indicator[1] made me realize that the indicator lingers in the mode-lines of some windows. To reproduce from emacs -Q: C-x 2 C-x 2 M-x compile RET C-a C-k true RET "[Compiling]" correctly disappears from the current window and the compilation window, but it lingers on the mode-line of the third window. The attached patch trivially fixes the issue; I do not know whether it's appropriate, or maybe too heavyweight. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Update-every-mode-line-when-compilation-ends.patch >From 25bc31d85ffd7e27e00ba73bac47856def9e97ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Le=20Gouguec?= Date: Wed, 24 Jul 2019 22:50:59 +0200 Subject: [PATCH] Update every mode-line when compilation ends Otherwise the "[Compiling]" indicator lingers in some of them. * lisp/progmodes/compile.el (compilation-handle-exit): Refresh every mode-line. --- lisp/progmodes/compile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index f4750c0059..657650b488 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -2214,7 +2214,7 @@ compilation-handle-exit 'compilation-mode-line-exit))) compilation-mode-line-errors)) ;; Force mode line redisplay soon. - (force-mode-line-update) + (force-mode-line-update t) (if (and opoint (< opoint omax)) (goto-char opoint)) (run-hook-with-args 'compilation-finish-functions cur-buffer msg))) -- 2.22.0 --=-=-= Content-Type: text/plain WDYT? [1] Make "Compiling" in the mode line a clickable command http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3479ec7332a474b3400cbc6b681c2a1f5637db94 In GNU Emacs 27.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.9, cairo version 1.16.0) of 2019-07-03 built on my-little-tumbleweed Repository revision: 22760ab357dd8124c856b76a545e562917872d78 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12005000 System Description: openSUSE Tumbleweed Configured using: 'configure --with-xwidgets --with-cairo' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS XWIDGETS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix Major mode: Magit Minor modes in effect: global-magit-file-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t show-paren-mode: t minibuffer-depth-indicate-mode: t icomplete-mode: t global-page-break-lines-mode: t page-break-lines-mode: t electric-pair-mode: t diff-hl-flydiff-mode: t global-diff-hl-mode: t delete-selection-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr magit-patch bug-reference gnus-async qp gnus-ml nndraft nnmh nnfolder utf-7 epa-file gnutls network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader emacsbug sendmail magit-extras flyspell ispell rect thingatpt magit-submodule magit-obsolete magit-popup magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process magit-mode transient git-commit magit-git magit-section magit-utils crm log-edit message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async server dash executable cus-edit wid-edit whitespace eieio-opt speedbar sb-image ezimage dframe shell pcomplete help-fns radix-tree cl-print debug backtrace find-func misearch multi-isearch vc-git files-x pcase rx delight advice eighters-theme cl-extra rg rg-ibuffer rg-result wgrep-rg wgrep s rg-history rg-header rg-compat ibuf-ext ibuffer ibuffer-loaddefs grep compile comint ansi-color ring quail help-mode edmacro kmacro disp-table paren mb-depth icomplete page-break-lines elec-pair diff-hl-flydiff diff diff-hl vc-dir ewoc vc vc-dispatcher diff-mode easy-mmode delsel cus-start cus-load mule-util info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting xwidget-internal cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 285991 35395) (symbols 48 25540 1) (strings 32 82326 4257) (string-bytes 1 2726046) (vectors 16 48859) (vector-slots 8 1366992 49654) (floats 8 259 339) (intervals 56 4124 4946) (buffers 992 32)) --=-=-=--