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 14:36:41 +0200 Message-ID: <86145684-ccbf-7084-71ae-ee7e8abc470d@laposte.net> References: <12860bcc-c3ae-e9fe-e7f0-cd22cbbe6e98@laposte.net> <87ziagsg2m.fsf@drachen> <242052cd-7910-39ba-d075-8d11536e84be@laposte.net> <871sns10l3.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 1504183074 5562 195.159.176.226 (31 Aug 2017 12:37:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 31 Aug 2017 12:37:54 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Thunderbird/52.2.1 Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 31 14:37:49 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 1dnOjC-0000sm-Kb for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Aug 2017 14:37:46 +0200 Original-Received: from localhost ([::1]:55560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnOjG-0003FJ-Eq for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Aug 2017 08:37:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnOig-0003FE-4m for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 08:37:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnOic-0000hX-Ts for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 08:37:14 -0400 Original-Received: from smtpoutz29.laposte.net ([194.117.213.104]:60573 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 1dnOic-0007Yu-JW for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 08:37:10 -0400 Original-Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout017 (Postfix) with ESMTP id B2B54A078C0 for ; Thu, 31 Aug 2017 14:36:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=mail0; t=1504183002; bh=3qufYLEHeeeCMZmomleCDGVOtbE+xjplHwpXQHlqPEM=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=SpRT0TogL3x9RYaNmawDVboNPwV2+uuV2VE73h/HSiaOPkgbPfXfxkRm23oFsQyOt mbRm6UyusWVUg8jQdrFzkcbTg1dmbJt5kEy934LWzA3h9qNNF625bmJlnsRn1BoVwI wP0R1LW+3GSrpkJi719GOw0DXOlIoCt6gXpYRNPbeiVe5+kPUZhEX/uoh8+fgXnlk+ VokqsA4X+kTUYTul2j5608/CeYtb0WPi4v1oSshp3Y4161IqYlt+HjOE3BRjvIVuOD Okw4McpwbiIvx1/otuwumpyht7sUUAbZHZysDdxCVEtaVwI3UTUVFXXS67YollXJVO cX9+mmjx0hoJQ== Original-Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout017 (Postfix) with ESMTP id A7178A078E4 for ; Thu, 31 Aug 2017 14:36:42 +0200 (CEST) Original-Received: from lpn-prd-vrin003 (lpn-prd-vrin003.prosodie [10.128.63.4]) by lpn-prd-vrout017 (Postfix) with ESMTP id A52FAA078C0 for ; Thu, 31 Aug 2017 14:36:42 +0200 (CEST) Original-Received: from lpn-prd-vrin003 (localhost [127.0.0.1]) by lpn-prd-vrin003 (Postfix) with ESMTP id 95DC049337F for ; Thu, 31 Aug 2017 14:36:42 +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-vrin003 (Postfix) with ESMTPA id 65EAA493385; Thu, 31 Aug 2017 14:36:42 +0200 (CEST) In-Reply-To: <871sns10l3.fsf@drachen> Content-Language: fr-FR X-VR-SrcIP: 88.173.187.52 X-VR-FullState: 0 X-VR-Score: -100 X-VR-Cause-1: gggruggvucftvghtrhhoucdtuddrfeelledrudekgdeglecutefuodetggdotefrodftvfcurfhrohhf X-VR-Cause-2: ihhlvgemucfntefrqffuvffgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhs X-VR-Cause-3: ucdlqddutddtmdenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefr X-VR-Cause-4: hhhilhhiphhpvgcuvehhrghuvhgrthcuoehptghhrghuvhgrtheslhgrphhoshhtvgdrnhgvtheqnecu X-VR-Cause-5: kfhppeekkedrudejfedrudekjedrhedvnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghl X-VR-Cause-6: oheplgduledvrdduieekrddtrdelhegnpdhinhgvthepkeekrddujeefrddukeejrdehvddpmhgrihhl X-VR-Cause-7: fhhrohhmpehptghhrghuvhgrtheslhgrphhoshhtvgdrnhgvthdprhgtphhtthhopehmihgthhgrvghl X-VR-Cause-8: pghhvggvrhguvghgvghnseifvggsrdguvg 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.104 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:114151 Archived-At: Hi Michael, It is just working fine. Thanks a lot. I wish my lisp skills were still there :) Best Philippe Le 31/08/2017 =C3=A0 12:41, Michael Heerdegen a =C3=A9crit : > (add-to-list > 'display-buffer-alist > `("^\\*shell\\*" . > (,(defun my-display-shell-buffer-whole-frame (buffer alist) > (prog1 (display-buffer-same-window buffer alist) > (delete-other-windows))))))