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: Sun, 11 Jun 2023 09:22:41 +0300 Message-ID: <837csazff2.fsf@gnu.org> References: <83h6ri2u2i.fsf@gnu.org> <87ttvhkfw7.fsf@gnu.org> <8335313ise.fsf@gnu.org> <87o7lojthj.fsf@gnu.org> <837csb2731.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21308"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63956-done@debbugs.gnu.org, monnier@iro.umontreal.ca To: sds@gnu.org, norden.jeff@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 11 08:23:24 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 1q8ETz-0005J0-C3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Jun 2023 08:23:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q8ETg-00078E-LW; Sun, 11 Jun 2023 02:23:04 -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 1q8ETe-000760-Jn for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2023 02:23:02 -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 1q8ETe-0001tx-97 for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2023 02:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q8ETe-00067N-47 for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2023 02:23:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Jun 2023 06:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 63956 X-GNU-PR-Package: emacs Mail-Followup-To: 63956@debbugs.gnu.org, eliz@gnu.org, norden.jeff@gmail.com Original-Received: via spool by 63956-done@debbugs.gnu.org id=D63956.168646456123473 (code D ref 63956); Sun, 11 Jun 2023 06:23:01 +0000 Original-Received: (at 63956-done) by debbugs.gnu.org; 11 Jun 2023 06:22:41 +0000 Original-Received: from localhost ([127.0.0.1]:36592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8ETI-00066W-U4 for submit@debbugs.gnu.org; Sun, 11 Jun 2023 02:22:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8ETF-00066I-R1 for 63956-done@debbugs.gnu.org; Sun, 11 Jun 2023 02:22:39 -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 1q8ET8-0001nM-Ay; Sun, 11 Jun 2023 02:22:31 -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=oECbr4Jgwk68lCt3PrzPaweWyC0Q4uXexAjBb138tXs=; b=iR6Geq8oAw7o J+EZ1CkPxiFYLZDmBrDDQcihjTdMlcu4KGDmST/0o3+1Q2RnsL3mYCD3PJKFNDSKiZcpIH7GwBvRd QeKQ6e1ThN47o8CybXuLZFbY8N1TAJ2kVRjt0ZirDR8jeo5dbqB4uN6gZDkyAB4BsynMPeyi2xx5J uz+JV6q87U7BYJkSPU/OeJpoUhAc8mj7CN0RrYKt3vmm94YadS3ktLe/4xo0gaAb38U7akDe66V1a yJvAM0K3FDRw+XCKf6zSOmbPrmF05S7HuEJ4UPwWkT5i+LItzYRIWfA0NVRPVN1MBSk4y2v6qX04q Eu9KozTHijst1lR+wLWfNg==; 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 1q8ET7-00041D-IA; Sun, 11 Jun 2023 02:22:29 -0400 In-Reply-To: <837csb2731.fsf@gnu.org> (message from Eli Zaretskii on Sat, 10 Jun 2023 08:56:50 +0300) 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:263241 Archived-At: > Cc: 63956@debbugs.gnu.org, Stefan Monnier > Date: Sat, 10 Jun 2023 08:56:50 +0300 > From: Eli Zaretskii > > > Maybe `display-comint-buffer-action' should default to > > `display-buffer-in-previous-window'? > > That works for me, but I think it's too late to change the default > now, 1.5 years after the defcustom was introduced. (It could be a > good idea for master, perhaps.) So at this point, on the release > branch, I'd like to fix only the specific problems we see, without > risking any unrelated breakage. To understand how best to solve this, > I need you two (and anyone else who uses tex-mode) to look at the > other uses of this defcustom in tex-mode, and tell me whether any of > them also need fixing. As I wrote in my original message: > > > Jeff, would you please look at the 3 places in tex-mode where > > display-comint-buffer-action was added to calls to pop-to-buffer and > > display-buffer, and tell in which ones showing the buffer in the same > > window by default makes sense? I don't myself use tex-mode, so it is > > hard for me to tell. We could then discuss whether to remove the > > argument in some of the cases or make a tex-mode-specific user option > > to let users control that. For example, in the specific case of > > tex-display-shell it sounds like just dropping the argument would be > > TRT, since all of its callers want to show the shell buffer, but not > > in the selected window. What about the other two cases where this > > argument was added? > > Would you two please help me understand how best to fix this > regression by providing the above information? TIA. No further comments, so I've now added a new defcustom, called display-tex-shell-buffer-action, and made its default value be display-buffer-in-previous-window. With that, I'm closing this bug.