From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Uberti via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53189: 29.0.50; Avoid window split in project-shell Date: Tue, 11 Jan 2022 16:56:25 +0100 Message-ID: Reply-To: Manuel Uberti 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="34075"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 To: 53189@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 11 16:57:31 2022 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 1n7JWc-0008dK-M3 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Jan 2022 16:57:30 +0100 Original-Received: from localhost ([::1]:47350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7JWb-0000as-5C for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Jan 2022 10:57:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7JWB-0000aJ-2a for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2022 10:57:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7JWA-0003fh-NA for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2022 10:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7JWA-00022S-Jm for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2022 10:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Uberti Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Jan 2022 15:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53189 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16419166017804 (code B ref -1); Tue, 11 Jan 2022 15:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Jan 2022 15:56:41 +0000 Original-Received: from localhost ([127.0.0.1]:55336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7JVo-00021l-Vv for submit@debbugs.gnu.org; Tue, 11 Jan 2022 10:56:41 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:48546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7JVn-00021c-1V for submit@debbugs.gnu.org; Tue, 11 Jan 2022 10:56:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7JVm-0008Ss-Q5 for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2022 10:56:38 -0500 Original-Received: from confino.investici.org ([212.103.72.250]:64467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7JVj-0003Yu-9v for bug-gnu-emacs@gnu.org; Tue, 11 Jan 2022 10:56:38 -0500 Original-Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4JYFfz3sh5z10tZ for ; Tue, 11 Jan 2022 15:56:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1641916587; bh=oZhVyDQJRW5Y8LlO7WlGoGSCKQN4P45joGJ+g83zIvs=; h=To:Subject:From:Date:From; b=S7/TTqZtkfQXs1Y1akVGSZvyqn51Adlnv1MKrG40BGBFeBmpKN4M9szqz6HWJvfL9 xJn7S0CXXFIeoCEBTLoYZ7YskzVm9ICePakyMPUgY7sQZpG80myhaaZ+BX9hn4ROL/ O5nQMR5YNhD247sEEr4R7spWrXzg73nOj9GyDG6k= Original-Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4JYFfz17zcz10sp for ; Tue, 11 Jan 2022 15:56:27 +0000 (UTC) Content-Language: en-GB Received-SPF: pass client-ip=212.103.72.250; envelope-from=manuel.uberti@inventati.org; helo=confino.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:223942 Archived-At: In order to avoid splitting the current window when I open a shell-mode buffer with `project-shell' I have this in my init.el: (setq-default display-buffer-alist '((".+shell*" (display-buffer-same-window) (reusable-frames . nil)))) The first time I use `C-x p s` I am getting the behaviour I want. But if I do this: - `C-x p s` - `C-x b RET` - `C-x p s` The current window is split and the shell-mode buffer appears on the side. How can I avoid the window splitting? In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.18, cairo version 1.16.0) of 2022-01-11 built on hathaway Repository revision: ecea3f2c8322ca43cbde9976fa6e658100cc2b99 Repository branch: master System Description: Ubuntu 20.04 LTS Configured using: 'configure --with-harfbuzz --with-native-compilation --with-pgtk --with-xinput2' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB Important settings: value of $LC_MESSAGES: en_GB.UTF-8 value of $LC_MONETARY: it_IT.UTF-8 value of $LC_NUMERIC: it_IT.UTF-8 value of $LC_TIME: it_IT.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pp cl-print cl-extra time-date pulse color jka-compr help-fns radix-tree help-mode find-func xref misearch multi-isearch shell pcomplete comint ansi-color ring thingatpt vc-mtn vc-hg vc-git diff-mode easy-mmode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc cl-loaddefs cl-lib vc-dispatcher project seq gv subr-x byte-opt bytecomp byte-compile cconv iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win 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 cl-generic 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 simple abbrev obarray cl-preloaded nadvice button 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 move-toolbar gtk x-toolkit pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 83345 8434) (symbols 48 8175 1) (strings 32 26707 2619) (string-bytes 1 871504) (vectors 16 16203) (vector-slots 8 278464 10156) (floats 8 129 54) (intervals 56 809 0) (buffers 992 14)) -- Manuel Uberti www.manueluberti.eu