From: Philippe Chauvat <pchauvat@laposte.net>
To: help-gnu-emacs@gnu.org
Subject: Re: [ shell buffer ] How not to split the current window?
Date: Thu, 31 Aug 2017 09:37:39 +0200 [thread overview]
Message-ID: <242052cd-7910-39ba-d075-8d11536e84be@laposte.net> (raw)
In-Reply-To: <87ziagsg2m.fsf@drachen>
Hello all,
Thanks a lot for the answers you already sent. Actually, looking at
them, I would say, I'd like to have something like:
- M-x shell == open a shell and make the buffer the only one displayed.
Or,
M-x shell (redefined) = M-x shell (current version splitting the buffer)
+ C-x 1 (making the shell buffer the only one displayed).
Cheers
Philippe
Le 31/08/2017 à 03:04, Michael Heerdegen a écrit :
> Hi Philippe,
>
> AFAIU it sounds like you want an entry in `display-buffer-alist', e.g.
>
> (add-to-list 'display-buffer-alist
> '("^\\*shell\\*" . (display-buffer-same-window)))
>
>
> HTH,
>
> Michael.
>
next prev parent reply other threads:[~2017-08-31 7:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 9:24 [ shell buffer ] How not to split the current window? Philippe Chauvat
2017-08-31 1:04 ` Michael Heerdegen
2017-08-31 7:37 ` Philippe Chauvat [this message]
2017-08-31 10:41 ` Michael Heerdegen
2017-08-31 12:36 ` Philippe Chauvat
[not found] <mailman.14045.1504100225.21957.help-gnu-emacs@gnu.org>
2017-08-30 14:07 ` HASM
2017-08-30 19:38 ` Oleg Pykhalov
[not found] ` <mailman.14066.1504121908.21957.help-gnu-emacs@gnu.org>
2017-08-30 23:23 ` notbob
2017-08-31 0:00 ` John Mastro
[not found] ` <mailman.14080.1504137681.21957.help-gnu-emacs@gnu.org>
2017-08-31 0:04 ` notbob
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=242052cd-7910-39ba-d075-8d11536e84be@laposte.net \
--to=pchauvat@laposte.net \
--cc=help-gnu-emacs@gnu.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.