From: Manuel Uberti via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 53189@debbugs.gnu.org
Subject: bug#53189: 29.0.50; Avoid window split in project-shell
Date: Tue, 11 Jan 2022 16:56:25 +0100 [thread overview]
Message-ID: <bdd69de1-2403-da53-42ca-2c7417b06cbf@inventati.org> (raw)
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
next reply other threads:[~2022-01-11 15:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-11 15:56 Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-01-11 17:07 ` bug#53189: 29.0.50; Avoid window split in project-shell martin rudalics
2022-01-11 18:24 ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-12 7:31 ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-08 13:59 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bdd69de1-2403-da53-42ca-2c7417b06cbf@inventati.org \
--to=bug-gnu-emacs@gnu.org \
--cc=53189@debbugs.gnu.org \
--cc=manuel.uberti@inventati.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.