From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 04 07:25:53 2019 Received: (at submit) by debbugs.gnu.org; 4 Nov 2019 12:25:53 +0000 Received: from localhost ([127.0.0.1]:35948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRbQe-0007VS-Pj for submit@debbugs.gnu.org; Mon, 04 Nov 2019 07:25:53 -0500 Received: from lists.gnu.org ([209.51.188.17]:45565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRbQc-0007VK-VO for submit@debbugs.gnu.org; Mon, 04 Nov 2019 07:25:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42013) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRbQb-0007oE-Qv for bug-auctex@gnu.org; Mon, 04 Nov 2019 07:25:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_MED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRbQa-0003aF-LV for bug-auctex@gnu.org; Mon, 04 Nov 2019 07:25:49 -0500 Received: from dl.lingfil.uu.se ([130.238.78.148]:55066 helo=numerus.lingfil.uu.se) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iRbQa-0003XX-Eg for bug-auctex@gnu.org; Mon, 04 Nov 2019 07:25:48 -0500 Received: from localhost (localhost [127.0.0.1]) by numerus.lingfil.uu.se (Postfix) with ESMTP id 71908A1E6003; Mon, 4 Nov 2019 13:25:43 +0100 (CET) X-Virus-Scanned: amavisd-new at lingfil.uu.se Received: from numerus.lingfil.uu.se ([127.0.0.1]) by localhost (numerus.lingfil.uu.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IMcb2wDlk2MO; Mon, 4 Nov 2019 13:25:42 +0100 (CET) Received: from haplologi.lingfil.uu.se (haplologi.lingfil.uu.se [130.238.78.138]) by numerus.lingfil.uu.se (Postfix) with ESMTP id 33110A1E6002; Mon, 4 Nov 2019 13:25:42 +0100 (CET) Received: from haplologi.lingfil.uu.se (starback@localhost [127.0.0.1]) by haplologi.lingfil.uu.se (8.14.7/8.14.7) with ESMTP id xA4CPgoP030300; Mon, 4 Nov 2019 13:25:42 +0100 Received: (from starback@localhost) by haplologi.lingfil.uu.se (8.14.7/8.14.7/Submit) id xA4CPfNr030298; Mon, 4 Nov 2019 13:25:41 +0100 X-Authentication-Warning: haplologi.lingfil.uu.se: starback set sender to starback@stp.lingfil.uu.se using -f From: starback@stp.lingfil.uu.se (Per =?iso-8859-1?Q?Starb=E4ck?=) To: bug-auctex@gnu.org Subject: 12.2; Error triangle doesn't appear at once Date: Mon, 04 Nov 2019 13:25:41 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 130.238.78.148 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Emacs : GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.26) of 2018-05-31 Package: 12.2 This happens to me all the time. I've excluded my own emacs initializations in the example but then need to load tex-site explicitly. I do: $ emacs -q --no-site-file -l tex-site /tmp/foo.tex where /tmp/foo.tex contains ------------------------------ \documentclass{article} \begin{document} \error \end{document} ------------------------------ Then C-c C-c RET to run LaTeX which yields an error. Now the "error triangle" in the toolbar doesn't appear (that is the "Next Error" button). I expect it to appear. If I switch buffer and then switch back again it will appear, for example with M-x C-g to switch to the minibuffer and back. Also just clicking with the mouse in the foo.tex buffer will make the error triangle appear. The emacs is self-compiled 26.1 running under GNU/Linux, Centos Centos 7.7. It's running under X with Gnome. (This is not new behaviour in 12.2. I recently updated to 12.2 partly to see if this was changed before reporting it.) From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 03:00:31 2019 Received: (at 38058) by debbugs.gnu.org; 6 Dec 2019 08:00:31 +0000 Received: from localhost ([127.0.0.1]:45555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1id8XP-0006R4-11 for submit@debbugs.gnu.org; Fri, 06 Dec 2019 03:00:31 -0500 Received: from smtp1.inetd.co.jp ([210.129.88.11]:57730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1id8XM-0006Qm-IU for 38058@debbugs.gnu.org; Fri, 06 Dec 2019 03:00:29 -0500 Received: from localhost (210-20-192-190.rev.home.ne.jp [210.20.192.190]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id A82D996; Fri, 6 Dec 2019 17:00:25 +0900 (JST) From: Ikumi Keita To: starback@stp.lingfil.uu.se (Per =?UTF-8?Q?Starb=C3=A4ck?=) Subject: Re: bug#38058: 12.2; Error triangle doesn't appear at once In-reply-to: References: Comments: In-reply-to starback@stp.lingfil.uu.se (Per =?UTF-8?Q?Starb=C3=A4ck?=) message dated "Mon, 04 Nov 2019 13:25:41 +0100." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Fri, 06 Dec 2019 17:00:25 +0900 Message-ID: <84405.1575619225@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38058 Cc: 38058@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Per, sorry for very late response. >>>>> starback@stp.lingfil.uu.se (Per Starb=E4ck) writes: > This happens to me all the time. I've excluded my own emacs > initializations in the example but then need to load tex-site > explicitly. I do: > $ emacs -q --no-site-file -l tex-site /tmp/foo.tex > where /tmp/foo.tex contains > ------------------------------ > \documentclass{article} > \begin{document} > \error > \end{document} > ------------------------------ > Then C-c C-c RET to run LaTeX which yields an error. Now the "error > triangle" in the toolbar doesn't appear (that is the "Next Error" > button). I expect it to appear. Thanks for your report. The following change addresses the problem which you described, on my side. Could you see whether it works for you as well? Regards, Ikumi Keita diff --git a/tex-buf.el b/tex-buf.el index 9aaa585c..37047b27 100644 --- a/tex-buf.el +++ b/tex-buf.el @@ -1134,7 +1134,7 @@ Return the new process." (setq compilation-in-progress (cons process compilation-in-progress)) process) (setq mode-line-process ": run") - (set-buffer-modified-p (buffer-modified-p)) + (force-mode-line-update) (sit-for 0) ; redisplay (call-process TeX-shell nil buffer nil TeX-shell-command-option command)))) @@ -1444,7 +1444,7 @@ reasons. Use `TeX-run-function' instead." (apply TeX-sentinel-function nil name nil) =20 ;; Force mode line redisplay soon - (set-buffer-modified-p (buffer-modified-p))))) + (force-mode-line-update)))) =20 (defun TeX-command-sentinel (process msg) "Process TeX command output buffer after the process dies." @@ -1480,10 +1480,15 @@ reasons. Use `TeX-run-function' instead." ;; If buffer and mode line will show that the process ;; is dead, we can delete it now. Otherwise it ;; will stay around until M-x list-processes. - (delete-process process) + (delete-process process)) + + ;; Force mode line redisplay soon + ;; Do this in the command buffer so that "Next Error" item + ;; will appear in the menu bar just after compilation. + ;; (bug#38058) + (with-current-buffer TeX-command-buffer + (force-mode-line-update))))) =20 - ;; Force mode line redisplay soon - (set-buffer-modified-p (buffer-modified-p)))))) (setq compilation-in-progress (delq process compilation-in-progress))) =20 =20 @@ -1944,7 +1949,7 @@ command." "Format the mode line for a buffer containing output from PROCESS." (setq mode-line-process (concat ": " (symbol-name (process-status process)))) - (set-buffer-modified-p (buffer-modified-p))) + (force-mode-line-update)) =20 (defun TeX-command-filter (process string) "Filter to process normal output." @@ -1963,7 +1968,7 @@ command." "Format the mode line for a buffer containing TeX output from PROCESS." (setq mode-line-process (concat " " TeX-current-page ": " (symbol-name (process-status process)))) - (set-buffer-modified-p (buffer-modified-p))) + (force-mode-line-update)) =20 (defun TeX-format-filter (process string) "Filter to process TeX output." From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 03:09:12 2019 Received: (at 38058) by debbugs.gnu.org; 6 Dec 2019 08:09:12 +0000 Received: from localhost ([127.0.0.1]:45561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1id8fo-0006r4-6L for submit@debbugs.gnu.org; Fri, 06 Dec 2019 03:09:12 -0500 Received: from lt.lingfil.uu.se ([130.238.78.148]:59788 helo=numerus.lingfil.uu.se) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1id8fm-0006qm-1N for 38058@debbugs.gnu.org; Fri, 06 Dec 2019 03:09:10 -0500 Received: from localhost (localhost [127.0.0.1]) by numerus.lingfil.uu.se (Postfix) with ESMTP id D94B8A22F008; Fri, 6 Dec 2019 09:09:05 +0100 (CET) X-Virus-Scanned: amavisd-new at lingfil.uu.se X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-9999 required=6.2 tests=[ALL_TRUSTED=-1, MISSING_FROM=1] autolearn=no autolearn_force=no Received: from numerus.lingfil.uu.se ([127.0.0.1]) by localhost (numerus.lingfil.uu.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FTn_e6oDtG33; Fri, 6 Dec 2019 09:09:05 +0100 (CET) Received: from numerus.lingfil.uu.se (localhost [127.0.0.1]) by numerus.lingfil.uu.se (Postfix) with ESMTP id 66B98A22F006; Fri, 6 Dec 2019 09:09:05 +0100 (CET) Received: (from starback@localhost) by numerus.lingfil.uu.se (8.14.7/8.14.7/Submit) id xB6894jB007329; Fri, 6 Dec 2019 09:09:04 +0100 From: starback@stp.lingfil.uu.se (Per =?iso-8859-1?Q?Starb=E4ck?=) To: Ikumi Keita Subject: Re: bug#38058: 12.2; Error triangle doesn't appear at once References: <84405.1575619225@localhost> Date: Fri, 06 Dec 2019 09:09:04 +0100 In-Reply-To: <84405.1575619225@localhost> (Ikumi Keita's message of "Fri, 06 Dec 2019 17:00:25 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38058 Cc: 38058@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Thanks for your report. The following change addresses the problem > which you described, on my side. Could you see whether it works for you > as well? Thanks! Yes, it does! From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 03:33:20 2019 Received: (at 38058) by debbugs.gnu.org; 6 Dec 2019 08:33:20 +0000 Received: from localhost ([127.0.0.1]:45568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1id93A-0007st-Ak for submit@debbugs.gnu.org; Fri, 06 Dec 2019 03:33:20 -0500 Received: from smtp1.inetd.co.jp ([210.129.88.11]:58970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1id939-0007sl-0Q for 38058@debbugs.gnu.org; Fri, 06 Dec 2019 03:33:19 -0500 Received: from localhost (210-20-192-190.rev.home.ne.jp [210.20.192.190]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 51C3788; Fri, 6 Dec 2019 17:33:17 +0900 (JST) From: Ikumi Keita To: starback@stp.lingfil.uu.se (Per =?iso-8859-1?Q?Starb=E4ck?=) Subject: Re: bug#38058: 12.2; Error triangle doesn't appear at once In-reply-to: References: <84405.1575619225@localhost> Comments: In-reply-to starback@stp.lingfil.uu.se (Per =?iso-8859-1?Q?Starb=E4ck?=) message dated "Fri, 06 Dec 2019 09:09:04 +0100." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Fri, 06 Dec 2019 17:33:17 +0900 Message-ID: <84723.1575621197@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38058 Cc: 38058@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> starback@stp.lingfil.uu.se (Per Starb=E4ck) writes: >> Thanks for your report. The following change addresses the problem >> which you described, on my side. Could you see whether it works for you >> as well? > Thanks! Yes, it does! Thanks for confirmation, I'll commit it to the git repository later. Regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 10:05:19 2019 Received: (at control) by debbugs.gnu.org; 6 Dec 2019 15:05:19 +0000 Received: from localhost ([127.0.0.1]:46876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idFAV-0000LF-GF for submit@debbugs.gnu.org; Fri, 06 Dec 2019 10:05:19 -0500 Received: from smtp1.inetd.co.jp ([210.129.88.11]:34650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idFAS-0000Kw-LY for control@debbugs.gnu.org; Fri, 06 Dec 2019 10:05:17 -0500 Received: from localhost (210-20-192-190.rev.home.ne.jp [210.20.192.190]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id E92DC74 for ; Sat, 7 Dec 2019 00:05:13 +0900 (JST) To: control@debbugs.gnu.org From: Ikumi Keita Subject: control message for bug #38058 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1320.1575644713.1@localhost> Date: Sat, 07 Dec 2019 00:05:13 +0900 Message-ID: <1321.1575644713@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 38058 fixed close 38058 quit From unknown Thu Sep 11 09:18:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 04 Jan 2020 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator