From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#74457: 30.0.92; `display-tex-shell-buffer' contains `(inhibit-same-window . t)' Date: Thu, 21 Nov 2024 20:09:42 +0200 Organization: LINKOV.NET Message-ID: <87a5dsfogp.fsf@mail.linkov.net> References: <9f44f276-9f09-4a6c-b161-67ebc61dcd4c@whxvd.name> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25955"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: 74457@debbugs.gnu.org To: Sebastian Miele Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 21 19:15:42 2024 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 1tEBiQ-0006b6-Qc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Nov 2024 19:15:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEBhp-0002Rq-J1; Thu, 21 Nov 2024 13:15:05 -0500 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 1tEBhn-0002Qy-Pw for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2024 13:15:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEBhn-0005Qj-Ee for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2024 13:15:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=TEPl8N1WuXBbl4riFjIdPAXNwoo4eki8HM4+f6yYHd0=; b=KsHKcdtZpTeRoRblXn/MP9r4WZtKKq0sXcJBnf0JBeyHrdu7v99JSkK7HDZm2Akm+Zr738r5ZDzRnpmWWoNIBoywKnmFaSQOOkJgzYv7DlVzjCTEt/57ReB++G8LkWwzbtoQbIrGx7OA2S3PnTnAW/gmAGyGMMetkp4lNgXWa+QqYhburNQKRnkKWga0VMlB2erZZDaAHmMUDMHWFlfgNOsP78Scf/lwvZncBupk2lH26IVCWdjYfv8TNajc8r08ZA9HIXl5je06aR7AwAqQx4er8u8VGjcVpcffIgipV3a0vfpk0kINm/qW1fOTbSigh2GozHCAOxMk/IQYBK8d5w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEBhn-0007jA-7w for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2024 13:15:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Nov 2024 18:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74457 X-GNU-PR-Package: emacs Original-Received: via spool by 74457-submit@debbugs.gnu.org id=B74457.173221287529636 (code B ref 74457); Thu, 21 Nov 2024 18:15:03 +0000 Original-Received: (at 74457) by debbugs.gnu.org; 21 Nov 2024 18:14:35 +0000 Original-Received: from localhost ([127.0.0.1]:51628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEBhL-0007hw-06 for submit@debbugs.gnu.org; Thu, 21 Nov 2024 13:14:35 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:60129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEBhI-0007hc-Qu for 74457@debbugs.gnu.org; Thu, 21 Nov 2024 13:14:33 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id CB6CFE0003; Thu, 21 Nov 2024 18:14:04 +0000 (UTC) In-Reply-To: <9f44f276-9f09-4a6c-b161-67ebc61dcd4c@whxvd.name> (Sebastian Miele's message of "Thu, 21 Nov 2024 12:01:19 +0100") X-GND-Sasl: juri@linkov.net 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:295738 Archived-At: > `display-tex-shell-buffer' (defined in `window') is marked obsolete with > the message "use a `(category . tex-shell)' condition in > `display-buffer-alist'." > > The default value of `display-tex-shell-buffer' contains > `(inhibit-same-window . t)'. I feel that doing > > (add-to-list 'display-buffer-alist > (cons t (cons #'display-buffer-same-window nil))) > > should have the desired effect of displaying a TeX shell buffer in the > same window (when compiling TeX files in latex-mode), without having to > alter the value of the obsolete variable `display-tex-shell-buffer'. > But `(inhibit-same-window . t)' in the default value prevents that from > happening. Instead another frame is popped up or reused. You can override `inhibit-same-window' by the corresponding category: (add-to-list 'display-buffer-alist '((category . tex-shell) (display-buffer-same-window) (inhibit-same-window . nil)))