From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeff Norden Newsgroups: gmane.emacs.bugs Subject: bug#63956: 29.0.91; tex-mode display problem in emacs-29 Date: Fri, 9 Jun 2023 11:30:13 -0500 Message-ID: References: <83h6ri2u2i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10822"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63956@debbugs.gnu.org To: Eli Zaretskii , Sam Steingold Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 09 18:31:32 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 1q7f1P-0002ck-Rd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Jun 2023 18:31:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7f15-0005Pe-3I; Fri, 09 Jun 2023 12:31:11 -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 1q7f0w-0005Ic-Nw for bug-gnu-emacs@gnu.org; Fri, 09 Jun 2023 12:31:05 -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 1q7f0w-00044t-D2 for bug-gnu-emacs@gnu.org; Fri, 09 Jun 2023 12:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7f0v-0001Bt-Oa for bug-gnu-emacs@gnu.org; Fri, 09 Jun 2023 12:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jeff Norden Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Jun 2023 16:31:01 +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.16863282484558 (code B ref 63956); Fri, 09 Jun 2023 16:31:01 +0000 Original-Received: (at 63956) by debbugs.gnu.org; 9 Jun 2023 16:30:48 +0000 Original-Received: from localhost ([127.0.0.1]:60228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7f0h-0001BS-Sz for submit@debbugs.gnu.org; Fri, 09 Jun 2023 12:30:48 -0400 Original-Received: from mail-pl1-f175.google.com ([209.85.214.175]:55439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7f0f-0001BG-JL for 63956@debbugs.gnu.org; Fri, 09 Jun 2023 12:30:46 -0400 Original-Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1b00ecabdf2so9568015ad.2 for <63956@debbugs.gnu.org>; Fri, 09 Jun 2023 09:30:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686328239; x=1688920239; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2tlTKWgVHIiDh3F1lgEHRE2BrKnbqVtrkfU2VXmdcUY=; b=Ip8a8mQ/mNMt0PDy/B7+/LT3HwX3m/y+LEXZSwjUOTYYrUYU7PBzsYnNGps05ouqUn GongxMotUcZypBkthk/uYavGI4/w8qGFtQt+/T8qNnsZ18HPc3eg+mtpKyh+lT0Ft24Q /Li8/JEb7+6bEVV/ZOU5NhFcTnTxjJ+jnOW4Fv9mdJjd7iD6t4iAZun77vljICFblc4S moipnzfPuESJEbgG6l6h+GCu7SCB1dEXADYGjba/YGImidfThpZiqp3BfJKzqCTbn6kl l6AutUzU/N3iVY66NoOmIxddCpTBP91P4AcV39dv513AJBWEMHAO0dPP4B26+SzMsaHV 16MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686328239; x=1688920239; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2tlTKWgVHIiDh3F1lgEHRE2BrKnbqVtrkfU2VXmdcUY=; b=dgU9bhfIr3chvvRhoDRG7Pit5Cam4cecJQbyJWYbqweC4vPG/MYGuhEdibRc+vTnOi kgFrjl718Z5dvsDNJu+ERv3bZpW6aEPlOTs9PNoo+XbadYiCTuCIeyoBj5+x4G62yUXL Qgp/tw8VKtnbMBu7nnUJ52XqeEOQhMGwqxKDraeZMgThyNh6qVSjUuWNBLLYjzLBFNHe s1msazFoLuEbmNvaLWRENwVKGDnEq2gKQsTlHVUBSoOrZ3rAh9/02DP8u1TC+w0WG4On 9I7PD2OKYxQp057g5MesyU/8Modet9TMOQ8CPTtPGmCegPj09VM4E5n1XfQYnHsjtxff 68Xg== X-Gm-Message-State: AC+VfDwEkReHE1znrDCyHau7MNbKJ4xLF3Xmv+uT1w4gR/iPJ6/wqbLD SkAGejwpXxY6h9FmLOgf2VxcY84qtJw8qz0813wrshExNdI= X-Google-Smtp-Source: ACHHUZ530Q8lcxwlFXT4AhMNPEXxmMTwW+i9wLxswbc/qSYDUMCtzz9admKZ806IsIrLUzSn8wcL9ahM4KHkqY+X41Q= X-Received: by 2002:a17:902:dacc:b0:1af:c1a7:3bb5 with SMTP id q12-20020a170902dacc00b001afc1a73bb5mr1924384plx.4.1686328239573; Fri, 09 Jun 2023 09:30:39 -0700 (PDT) In-Reply-To: <83h6ri2u2i.fsf@gnu.org> 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:263177 Archived-At: On Thu, Jun 8, Eli Zaretskii wrote: > From: Eli Zaretskii > To: Sam Steingold > Cc: 63956 debbugs.gnu.org > Subject: Re: bug#63956: 29.0.91; tex-mode display problem in emacs-29 > Date: Thu, 08 Jun 2023 21:34:09 +0300 > ... > > > 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? At first I thought there was a misunderstanding about the intended behavior, but then I realized that Sam is saying that his tex-shell window *doesn't* replace the editing window. I can also verify that it does replace the editing window, using "emacs -Q" with either 29.0.91 or emacs-30 built from the current git source. Since the default display action is replace-window, this makes sense. Sam: can you try it again after making sure that your display-comint-buffer-action has the default value (which should be '(display-buffer-same-window (inhibit-same-window))'? If I'm understanding things correctly, the point of this new variable is to make it easier to modify the way normal *shell* type buffers open, while leaving the traditional same-window behavior as the default. --- My own tex-mode use is very heavily customized (via eval-after-load), so I think I need to look a bit at the default behavior before I make any specific suggestions about changing tex-mode.el. I'll try to do that this weekend. -Jeff