From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sebastian Miele Newsgroups: gmane.emacs.bugs Subject: bug#74457: 30.0.92; `display-tex-shell-buffer' contains `(inhibit-same-window . t)' Date: Fri, 22 Nov 2024 06:03:10 +0100 Message-ID: <932e83a2-96fe-444c-b6d1-d041493ece94@whxvd.name> References: <9f44f276-9f09-4a6c-b161-67ebc61dcd4c@whxvd.name> <87a5dsfogp.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4823"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74457@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 22 06:05:26 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 1tELrC-00019W-Bd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Nov 2024 06:05:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tELr1-00011d-4C; Fri, 22 Nov 2024 00:05:15 -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 1tELqo-0000lK-Jh for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 00:05: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 1tELqo-0007pP-AX for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 00:05:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=SjiSpjVZ7T1swXlAMpUdP7IpHUgA1pc8l4GZWZ96NVM=; b=RziThUYyPLnFCGMjbCeDgen+xX0Ut5I+KxzM7YIQ9SV5oOoltYhwafrbSCaI6q99bPfTMGoqFaAJCAhJ7eWefn8cHTjh8ahRNnOHsFTHSjJhVFNnGJmt2tT9NApwErl4Xi98jDsFrYUKdk8Sxu+tz7VY/pP7yenu3/FsdNcNzMXYm2VvL2HGLyz5DBZYZjhbfR0DYEqpD1QEk1XoRmGReP/6QLd1E7Lo6UiCCxzJHhvwucw00DEVxrTNuFhMczlllMxMIbCHB+RgEtWwemH7DRyI0XsCANL/AjgSbU6UD2cNCqSquq58JyWWokILlyKTkqh7GW6W+CIprn95V8n+oQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tELqn-00041L-TU for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 00:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sebastian Miele Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Nov 2024 05:05:01 +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.173225184515374 (code B ref 74457); Fri, 22 Nov 2024 05:05:01 +0000 Original-Received: (at 74457) by debbugs.gnu.org; 22 Nov 2024 05:04:05 +0000 Original-Received: from localhost ([127.0.0.1]:52657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tELps-0003zt-Vg for submit@debbugs.gnu.org; Fri, 22 Nov 2024 00:04:05 -0500 Original-Received: from mout-p-101.mailbox.org ([80.241.56.151]:41140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tELpp-0003zO-96 for 74457@debbugs.gnu.org; Fri, 22 Nov 2024 00:04:02 -0500 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4XvjfY0cYrz9stX; Fri, 22 Nov 2024 06:03:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whxvd.name; s=MBO0001; t=1732251803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SjiSpjVZ7T1swXlAMpUdP7IpHUgA1pc8l4GZWZ96NVM=; b=ioMvmEpAwr/giPXZ5U8dCtut4Q6R6dSn6skDXu9aecm8w/rFFYVcggVVMfQ0lr4/v29e8G XEXISSbxQfcONNquAiCHzK7aHfnqCNKhZFSmgUXE9FO5PVQ9znFjLIxjKHPt0rT4woehTN ijyamQVIvjc4mii2xvlDU7A3hSZXKyGtAGVxsOTVY2f0KMjW47BOhb0LhXC+ldkDTkqLm/ fu1lqFB79tSmb+iwdoRdOy8IX0RLJMa6u+V+aOoLyfxyW498CPoAg8BFKbo+GM09M7H0pk pwDdo8mETNOlKQ/tMqTfsI9WbF/eqp7u2Jkd1yKwZ4+kQDfe6KVB7zGEo54YWA== Content-Language: en-US In-Reply-To: <87a5dsfogp.fsf@mail.linkov.net> X-Rspamd-Queue-Id: 4XvjfY0cYrz9stX 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:295766 Archived-At: Am 2024-11-21 um 19:09 schrieb Juri Linkov: >> `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))) Thank you. That works.