From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 21 06:01:48 2024 Received: (at submit) by debbugs.gnu.org; 21 Nov 2024 11:01:48 +0000 Received: from localhost ([127.0.0.1]:49273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE4wS-0004Hv-Eq for submit@debbugs.gnu.org; Thu, 21 Nov 2024 06:01:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:37640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE4wO-0004Hi-0r for submit@debbugs.gnu.org; Thu, 21 Nov 2024 06:01:43 -0500 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 1tE4wN-0007KO-L8 for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2024 06:01:39 -0500 Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tE4wL-0000eI-Gr for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2024 06:01:39 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (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 4XvFf85CKgz9sxv for ; Thu, 21 Nov 2024 12:01:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whxvd.name; s=MBO0001; t=1732186880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RSPyPaVeQWQtjBsxdkjG54C0zyrQFgyJuU6KBceeBOY=; b=wqIGJT9GZewxWzCo91O35bGQwNG/M3uP1qqUOVwS8fvBEhpg8lP3coH5lTT7kB9wqm5erh fdk3GBSkJDfLpwm5aZVABQmW4sANsG32FRLQk7rt4EbljPCOSR8GC20hvotB+c8UDjJyLZ 0wwydzQby/4kt4cuyNkvrWn/teeUWxI5iiYz6z3FojClQpzNF1HViLwQZRLym8TNYWC2io bg6qw7bppSbN5FW5vLMd30rRdwrUJzrq0ulLaf3n0C99SPQka12CvFE8che50aSLBKxK7a hTLSE+EbaTAVua5VqUDXM5R3e7HtiBd4Wbjbvm+5ae8NgJgCjyjPLdamFA5k8A== Message-ID: <9f44f276-9f09-4a6c-b161-67ebc61dcd4c@whxvd.name> Date: Thu, 21 Nov 2024 12:01:19 +0100 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 30.0.92; `display-tex-shell-buffer' contains `(inhibit-same-window . t)' Content-Language: en-US From: Sebastian Miele Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4XvFf85CKgz9sxv Received-SPF: pass client-ip=2001:67c:2050:0:465::101; envelope-from=iota@whxvd.name; helo=mout-p-101.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) `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. In GNU Emacs 30.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2024-11-21 built on blatt Repository revision: 38e6c9e34c30bed3746ad5344057a3883f60c8be Repository branch: 30/0 System Description: Arch Linux Configured using: 'configure --prefix=/home/w/2/emacs-30 --with-pgtk --with-native-compilation --with-tree-sitter --with-json --with-mailutils --with-imagemagick 'CFLAGS=-march=ivybridge -mtune=ivybridge'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: outline-minor-mode: t global-so-long-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pulse color vc-git diff-mode track-changes easy-mmode vc-dispatcher bug-reference thingatpt xref project format-spec cl-extra sh-script smie treesit executable files-x latexenc tex-mode shell pcomplete help-fns radix-tree cl-print byte-opt debug backtrace help-mode find-func compile text-property-search comint ansi-osc ansi-color ring comp-run bytecomp byte-compile comp-common noutline outline whx-init-quick time-date whx-etc-1--core so-long whx-etc-buffer--core whx-etc-elisp--core whx-elisp--core rx whx-etc-gc--core whx-bind--core whx-boot whx-etc-0--core cus-edit pp cus-start cus-load icons wid-edit whx-etc-native-comp--core whx-etc-litter--core no-littering compat whx-etc-fs-path--core whx-fs-path--core cl-seq whx-string--core whx-log--core whx-0--core whx-let-set--core whx-symbol--core whx-list--core subr-x whx-meta--core whx-pcase--core pcase whx-error--core whx-binary-unit-prefix--core whx-feature--core cl-macs gv cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 153083 15934) (symbols 48 12281 0) (strings 32 39363 2611) (string-bytes 1 1720345) (vectors 16 20848) (vector-slots 8 265303 10192) (floats 8 162 67) (intervals 56 936 0) (buffers 992 18)) From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 21 13:14:35 2024 Received: (at 74457) by debbugs.gnu.org; 21 Nov 2024 18:14:35 +0000 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 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 Received: by mail.gandi.net (Postfix) with ESMTPSA id CB6CFE0003; Thu, 21 Nov 2024 18:14:04 +0000 (UTC) From: Juri Linkov To: Sebastian Miele Subject: Re: bug#74457: 30.0.92; `display-tex-shell-buffer' contains `(inhibit-same-window . t)' In-Reply-To: <9f44f276-9f09-4a6c-b161-67ebc61dcd4c@whxvd.name> (Sebastian Miele's message of "Thu, 21 Nov 2024 12:01:19 +0100") Organization: LINKOV.NET References: <9f44f276-9f09-4a6c-b161-67ebc61dcd4c@whxvd.name> Date: Thu, 21 Nov 2024 20:09:42 +0200 Message-ID: <87a5dsfogp.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74457 Cc: 74457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > `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))) From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 22 00:04:05 2024 Received: (at 74457) by debbugs.gnu.org; 22 Nov 2024 05:04:05 +0000 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 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 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== Message-ID: <932e83a2-96fe-444c-b6d1-d041493ece94@whxvd.name> Date: Fri, 22 Nov 2024 06:03:10 +0100 MIME-Version: 1.0 Subject: Re: bug#74457: 30.0.92; `display-tex-shell-buffer' contains `(inhibit-same-window . t)' To: Juri Linkov References: <9f44f276-9f09-4a6c-b161-67ebc61dcd4c@whxvd.name> <87a5dsfogp.fsf@mail.linkov.net> Content-Language: en-US From: Sebastian Miele In-Reply-To: <87a5dsfogp.fsf@mail.linkov.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4XvjfY0cYrz9stX X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74457 Cc: 74457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 22 02:50:05 2024 Received: (at 74457) by debbugs.gnu.org; 22 Nov 2024 07:50:05 +0000 Received: from localhost ([127.0.0.1]:52897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEOQX-0003Qr-8V for submit@debbugs.gnu.org; Fri, 22 Nov 2024 02:50:05 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:58713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEOQT-0003Pt-NU for 74457@debbugs.gnu.org; Fri, 22 Nov 2024 02:50:02 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 7878E240002; Fri, 22 Nov 2024 07:49:53 +0000 (UTC) From: Juri Linkov To: Sebastian Miele Subject: Re: bug#74457: 30.0.92; `display-tex-shell-buffer' contains `(inhibit-same-window . t)' In-Reply-To: <932e83a2-96fe-444c-b6d1-d041493ece94@whxvd.name> (Sebastian Miele's message of "Fri, 22 Nov 2024 06:03:10 +0100") Organization: LINKOV.NET References: <9f44f276-9f09-4a6c-b161-67ebc61dcd4c@whxvd.name> <87a5dsfogp.fsf@mail.linkov.net> <932e83a2-96fe-444c-b6d1-d041493ece94@whxvd.name> Date: Fri, 22 Nov 2024 09:33:03 +0200 Message-ID: <87a5drpwa0.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74457 Cc: 74457@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >>> `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. Ok, then I propose to update the example in (info "(elisp) Choosing Window") with customization above that uses 'add-to-list', and also demonstrates how to override alist entries like 'inhibit-same-window'. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 22 03:23:33 2024 Received: (at 74457) by debbugs.gnu.org; 22 Nov 2024 08:23:33 +0000 Received: from localhost ([127.0.0.1]:52951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEOwv-0004zW-0K for submit@debbugs.gnu.org; Fri, 22 Nov 2024 03:23:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEOwt-0004zI-2m for 74457@debbugs.gnu.org; Fri, 22 Nov 2024 03:23:31 -0500 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 1tEOwn-0008Od-F3; Fri, 22 Nov 2024 03:23:25 -0500 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=8J6Frv+JTiae1i5TzUwEc471uH6B5N2Ygf7xUDbteXE=; b=qF5RIOwdsmiX lEybyDWnlkr8027JzHuVH4s3JuvmG79PFwJfJRydgI5ojlA5Pks8Cvb3xJRA7pp7zpxEecDhJr/lw 9iPJk3RjOeiMtjp2ytjP3RWCeQvHu0Pnt4hGo1Ep+Pbsyvb7SP1eMMDsD87nSxixVLBeh9pZ0oIIG Mf4DrJVtqtq1iWPF1YP3KBCz7c12cafBIgUxcGrlFpQh//i+1Isovgsg3Z8fKLWPiqf7NiwamPr/5 OX3kd2O6vY2FsxzfQquL8QWa+H98HVYRNPidSwrDe9/1ASdta0lUoHVjYUHYhykTFUQEGuIyrIZsB gYr2Y7xeBDHo7MHlG6qbxA==; Date: Fri, 22 Nov 2024 10:23:22 +0200 Message-Id: <86iksfoex1.fsf@gnu.org> From: Eli Zaretskii To: Juri Linkov In-Reply-To: <87a5drpwa0.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 22 Nov 2024 09:33:03 +0200) Subject: Re: bug#74457: 30.0.92; `display-tex-shell-buffer' contains `(inhibit-same-window . t)' References: <9f44f276-9f09-4a6c-b161-67ebc61dcd4c@whxvd.name> <87a5dsfogp.fsf@mail.linkov.net> <932e83a2-96fe-444c-b6d1-d041493ece94@whxvd.name> <87a5drpwa0.fsf@mail.linkov.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74457 Cc: 74457@debbugs.gnu.org, iota@whxvd.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 74457@debbugs.gnu.org > From: Juri Linkov > Date: Fri, 22 Nov 2024 09:33:03 +0200 > > >>> `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. > > Ok, then I propose to update the example in > (info "(elisp) Choosing Window") > with customization above that uses 'add-to-list', > and also demonstrates how to override alist entries > like 'inhibit-same-window'. Please do that on the emacs-30 branch, and thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 23 13:30:55 2024 Received: (at 74457) by debbugs.gnu.org; 23 Nov 2024 18:30:56 +0000 Received: from localhost ([127.0.0.1]:59087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEuuF-0006GQ-H0 for submit@debbugs.gnu.org; Sat, 23 Nov 2024 13:30:55 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:49447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEuuD-0006G6-Od; Sat, 23 Nov 2024 13:30:54 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id BC83BFF802; Sat, 23 Nov 2024 18:30:46 +0000 (UTC) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#74457: 30.0.92; `display-tex-shell-buffer' contains `(inhibit-same-window . t)' In-Reply-To: <86iksfoex1.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 Nov 2024 10:23:22 +0200") Organization: LINKOV.NET References: <9f44f276-9f09-4a6c-b161-67ebc61dcd4c@whxvd.name> <87a5dsfogp.fsf@mail.linkov.net> <932e83a2-96fe-444c-b6d1-d041493ece94@whxvd.name> <87a5drpwa0.fsf@mail.linkov.net> <86iksfoex1.fsf@gnu.org> Date: Sat, 23 Nov 2024 20:30:05 +0200 Message-ID: <87y119pzv6.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74457 Cc: 74457@debbugs.gnu.org, iota@whxvd.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) close 74457 30.0.60 thanks >> >> (add-to-list 'display-buffer-alist >> >> '((category . tex-shell) >> >> (display-buffer-same-window) >> >> (inhibit-same-window . nil))) >> > >> > Thank you. That works. >> >> Ok, then I propose to update the example in >> (info "(elisp) Choosing Window") >> with customization above that uses 'add-to-list', >> and also demonstrates how to override alist entries >> like 'inhibit-same-window'. > > Please do that on the emacs-30 branch, and thanks. So now example is updated in emacs-30. From unknown Sun Jun 22 03:56:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 22 Dec 2024 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator