help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ shell buffer ] How not to split the current window?


From: Philippe Chauvat
Subject: Re: [ shell buffer ] How not to split the current window?
Date: Thu, 31 Aug 2017 09:37:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Thunderbird/52.2.1

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.
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]