From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philippe Chauvat Newsgroups: gmane.emacs.help Subject: Re: [ shell buffer ] How not to split the current window? Date: Thu, 31 Aug 2017 09:37:39 +0200 Message-ID: <242052cd-7910-39ba-d075-8d11536e84be@laposte.net> References: <12860bcc-c3ae-e9fe-e7f0-cd22cbbe6e98@laposte.net> <87ziagsg2m.fsf@drachen> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1504165109 26343 195.159.176.226 (31 Aug 2017 07:38:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 31 Aug 2017 07:38:29 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Thunderbird/52.2.1 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 31 09:38:25 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnK3E-0005lf-8o for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Aug 2017 09:38:08 +0200 Original-Received: from localhost ([::1]:54330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnK3L-0006Hj-EA for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Aug 2017 03:38:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnK2s-0006HT-FS for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 03:37:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnK2p-0002aI-8H for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 03:37:46 -0400 Original-Received: from smtpoutz28.laposte.net ([194.117.213.103]:42007 helo=smtp.laposte.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dnK2o-0002Zg-Qg for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 03:37:43 -0400 Original-Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout016 (Postfix) with ESMTP id 93C4C119268 for ; Thu, 31 Aug 2017 09:37:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=mail0; t=1504165060; bh=cHPE/LxeXPzExTUVVKBpyaQzf6YM+fgSLnez9KU7nn4=; h=Subject:To:References:From:Date:In-Reply-To; b=CuiTQxXGN4+OgxzQ/7iEk4nF/k2J9xird3Bi2qYWj8J6nslzi2zFzfiu2On+T3SrQ 5I8qQoiEgg2oAl9+LendWmKo+HAG6UrkiYCrXWfuijEADIPfYXWKGG9PItq/edtnX2 AAvTzjwuoExHDcpCfyizFGE2fkWj7afve6xd2fJsPzXiLTwYL8P52R62SlwM4QnoBV b26Rug9dWskshVphkbPUegut5ba3So6vCsSg5NP6NJ9pDVzrcF4ZpeuGktLGUHIZ9P z7HcRykAWEDCgPTJgfSOsokIapVQ7HO/PBKDpWHRxdFeP4q4fBN6M0fVEUdcZ+DkAI o1AoBEgDfgdiQ== Original-Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout016 (Postfix) with ESMTP id 86C57119DAC for ; Thu, 31 Aug 2017 09:37:40 +0200 (CEST) Original-Received: from lpn-prd-vrin001 (lpn-prd-vrin001.prosodie [10.128.63.2]) by lpn-prd-vrout016 (Postfix) with ESMTP id 84435119268 for ; Thu, 31 Aug 2017 09:37:40 +0200 (CEST) Original-Received: from lpn-prd-vrin001 (localhost [127.0.0.1]) by lpn-prd-vrin001 (Postfix) with ESMTP id 74F8C36AE78 for ; Thu, 31 Aug 2017 09:37:40 +0200 (CEST) Original-Received: from [192.168.0.95] (btb14-1-88-173-187-52.fbx.proxad.net [88.173.187.52]) by lpn-prd-vrin001 (Postfix) with ESMTPA id 5253E36AE6A for ; Thu, 31 Aug 2017 09:37:40 +0200 (CEST) In-Reply-To: <87ziagsg2m.fsf@drachen> Content-Language: fr-FR X-VR-SrcIP: 88.173.187.52 X-VR-FullState: 0 X-VR-Score: 0 X-VR-Cause-1: gggruggvucftvghtrhhoucdtuddrfeelledrudejgddufedvucetufdoteggodetrfdotffvucfrrhho X-VR-Cause-2: fhhilhgvmecunfetrffquffvgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefuvfhfhffk X-VR-Cause-3: ffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefrhhhilhhiphhpvgcuvehhrghuvhgrthcuoehp X-VR-Cause-4: tghhrghuvhgrtheslhgrphhoshhtvgdrnhgvtheqnecukfhppeekkedrudejfedrudekjedrhedvnecu X-VR-Cause-5: rfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghloheplgduledvrdduieekrddtrdelhegnpdhi X-VR-Cause-6: nhgvthepkeekrddujeefrddukeejrdehvddpmhgrihhlfhhrohhmpehptghhrghuvhgrtheslhgrphho X-VR-Cause-7: shhtvgdrnhgvthdprhgtphhtthhopehhvghlphdqghhnuhdqvghmrggtshesghhnuhdrohhrgh X-VR-AvState: No X-VR-State: 0 X-VR-State: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 194.117.213.103 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114149 Archived-At: 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 =3D=3D open a shell and make the buffer the only one displaye= d. Or, M-x shell (redefined) =3D 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 =C3=A0 03:04, Michael Heerdegen a =C3=A9crit : > Hi Philippe, >=20 > AFAIU it sounds like you want an entry in `display-buffer-alist', e.g. >=20 > (add-to-list 'display-buffer-alist > '("^\\*shell\\*" . (display-buffer-same-window))) >=20 >=20 > HTH, >=20 > Michael. >=20