From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63956: 29.0.91; tex-mode display problem in emacs-29 Date: Thu, 08 Jun 2023 21:34:09 +0300 Message-ID: <8335313ise.fsf@gnu.org> References: <83h6ri2u2i.fsf@gnu.org> <87ttvhkfw7.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23076"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63956@debbugs.gnu.org To: sds@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 08 20:35:31 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q7KTq-0005qM-GN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jun 2023 20:35:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7KTZ-0004p9-DU; Thu, 08 Jun 2023 14:35:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7KTP-0004nx-2V for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 14:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7KTO-0007Yj-OW for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 14:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7KTO-00023o-75 for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2023 14:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jun 2023 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63956 X-GNU-PR-Package: emacs Original-Received: via spool by 63956-submit@debbugs.gnu.org id=B63956.16862492937902 (code B ref 63956); Thu, 08 Jun 2023 18:35:02 +0000 Original-Received: (at 63956) by debbugs.gnu.org; 8 Jun 2023 18:34:53 +0000 Original-Received: from localhost ([127.0.0.1]:57534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7KTF-00023N-0b for submit@debbugs.gnu.org; Thu, 08 Jun 2023 14:34:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7KTB-000238-2j for 63956@debbugs.gnu.org; Thu, 08 Jun 2023 14:34:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7KT3-0007V6-SU; Thu, 08 Jun 2023 14:34:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=XO/c2eciV+LDbX0pQ+i1aoArvXW8+yPWGfcOCay5UdU=; b=aqpXu4OZDMFA ray3Kwd3VkZHJh0qgM+k/9akWX/WJhNL0pQu0IEHehPoaMNq0n4TOFHGrRDyG3aU0Qc9rzC1btJnO AnH60y1/xsNoDmOcG34vjY4JBnflWkdKw/YUIYBBmZjSVIJmcwgXYcMRrJEbsEpOUNPv5TCzwmTnr AZnFydAxqF5Wz6s3mnvW1IfxiZdenWYChCgli4bDKGxoHhTdYeC/73xBDnqxdEqYEU7iX2r4+wa/3 2QiryDHGYr6b5AjWt96eSAWsgtrgnq9ZVT9nC5pSU3FuGyBszNDZVT0Gff2mhlNLUpBQYMVBt41g+ IEnkku1j86MRK0VtF0uxXQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7KSR-0007Hw-11; Thu, 08 Jun 2023 14:34:25 -0400 In-Reply-To: <87ttvhkfw7.fsf@gnu.org> (message from Sam Steingold on Thu, 08 Jun 2023 13:44:40 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263137 Archived-At: > From: Sam Steingold > Date: Thu, 08 Jun 2023 13:44:40 -0400 > Posted-To: gmane.emacs.bugs > > > Adding Sam, who made these changes in tex-mode.el. > > Eli, you sent your message to the amazon.com address. Why? Because that's what appears in Git: commit 18b680cfd177e877991be2bd70ead628bbdc0aa0 Author: Sam Steingold AuthorDate: Tue Dec 28 17:27:41 2021 -0500 Commit: Sam Steingold CommitDate: Tue Dec 28 17:28:49 2021 -0500 Fix bug#52467 by adding a new custom variable 'display-comint-buffer-action' * lisp/window.el (display-comint-buffer-action): New `defcustom`, defaults to 'display-buffer-same-window' for backward compatibility. * lisp/cmuscheme.el (run-scheme, switch-to-scheme): Pass 'display-comint-buffer-action' to 'pop-to-buffer' instead of using 'pop-to-buffer-same-window'. * lisp/eshell/eshell.el (eshell): Likewise. * lisp/shell.el (shell): Likewise. * lisp/org/ol-eshell.el (org-eshell-open): Likewise. * lisp/progmodes/inf-lisp.el (inferior-lisp): Likewise. * lisp/progmodes/project.el (project-shell, project-eshell): Likewise. * lisp/textmodes/tex-mode.el (tex-display-shell, tex-compile-default) (tex-recenter-output-buffer): Pass 'display-comint-buffer-action' to 'pop-to-buffer'. > The commit is tagged with my correct gnu.org address. It isn't see above. > Please only use sds@gnu.org for all communications. Sorry, I cannot afford proofreading every address I copy from the Git logs. I simply don't have that kind of time. > > Sam, any comments? > > I do not use `tex-buffer', but C-c C-f (which runs the command > `tex-file') does exactly what it should - creates a new window showing > `*tex-shell*'. Moreover, I just tried C-c C-b (which runs the command > `tex-buffer') and it created a new `*tex-shell*' window too (or re-used > an existing one) without replacing the window that shows my LaTeX. > > When I made the change, I was trying to fix > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52467 (re-use the existing > `*tex-shell*' window) and I think I did. > > Jeff, could you please reproduce the issue in `emacs -Q`? I tried "M-x tex-buffer RET" in "emacs -Q", and I see what Jeff reports. Are you sure you don't have any customizations that get in the way? Or maybe post the exact sequence of commands you tried?