From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Any way to prevent window splits for a window or a major-mode Date: Tue, 05 Dec 2017 09:53:38 +0100 Message-ID: <5A265E92.3080309@gmx.at> References: <5A227DA1.9060200@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1512464052 11708 195.159.176.226 (5 Dec 2017 08:54:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Dec 2017 08:54:12 +0000 (UTC) Cc: emacs-devel To: rswgnu@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 05 09:54:08 2017 Return-path: Envelope-to: ged-emacs-devel@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 1eM8zL-0002OQ-Uf for ged-emacs-devel@m.gmane.org; Tue, 05 Dec 2017 09:54:04 +0100 Original-Received: from localhost ([::1]:47229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eM8zM-0002pC-WE for ged-emacs-devel@m.gmane.org; Tue, 05 Dec 2017 03:54:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eM8zB-0002o1-1J for emacs-devel@gnu.org; Tue, 05 Dec 2017 03:53:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eM8z7-0007Zn-VC for emacs-devel@gnu.org; Tue, 05 Dec 2017 03:53:53 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:52334) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eM8z7-0007ZL-Lt for emacs-devel@gnu.org; Tue, 05 Dec 2017 03:53:49 -0500 Original-Received: from [192.168.1.100] ([46.125.249.86]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MVdfD-1ea6R440Zb-00YznX; Tue, 05 Dec 2017 09:53:46 +0100 In-Reply-To: X-Provags-ID: V03:K0:F5APndvrIyrsp7Ce84rDFnTLCCW0R5rJjyP40xG3ACbXxQe0ojd NxiMh7MPz4KQPPRdVIzuqvmUmi8/mPZ7oXsn7Jx3M85vdulYLtRSFI701ERDKzzokhJGbsy a+8RlsQnlQLX4oaU5LBiWWoLCqm16zdKXmmneO7KowSLjAy+Yh5rvzQLtXm5KJ8V+VvqgDc FzXHmjV08BFTNNDzatlQA== X-UI-Out-Filterresults: notjunk:1;V01:K0:rMg1B/gNGoM=:hOZr9q8bQFVHot9CkG8KLu qau8CQQwD/mTIQDZbUEQGV6lEsVT7OGS8JjbN1lLksEFfkhwjAFTyGEb5qtcmBfxT/GdwNF7X L6TbRYz0h7GlaqMZUOB/eo6SR0PuP7vbXQaDKsl4JyJqdu/q3aDBue3Q1KXCWP2ICkaONM5ru 46cTyi7IcHMH9z3z3cq7YY/t8pYg8DfkhclB1hrfuas+mTg+EsG7JUfYkLykiNwPJjKSwSDC4 xwIAC82G7/J5XV9nHnx02EY2FVj3RXSPwUj4xiaNJGmFzpBAMTzP1NsxaKQZAIwo0gRn95nOO cCX17KqtvkEuPOngR8/OGxbltak2KZaXvZDcYISR4O1uT3WAeXxkfWflrA63PBKbn64VAo4Ps KTeML9ULe/m2LfmNXwhOpzlumnkWm5UbuijEYHIoHtXl1jrDD2DQrszUiggbhY65rD9Tndew/ fPrBkB5Gv/CjbMz/RjypZqxz4zzl1JNZC1OZqAhQV0OBiO0L/rZY5YIRoRRxzaXlvcOUh85w2 o6QkUNkFQTJ9lDWFAI/utCATA9yDfcRll/cdS1x6XgGNy9u25B3bBaZXPsI9dwkBq+vob5rhT xQL0UlLiWJhlHBxLAy2NMaFzxaokmQMmcwAH5EJjGOTDrcyPj9R5sjDj40sNnM6D7E5SmM2Pv GiQG7aBPkJNgh7uaENqiXJ4Vv1U7Nmox8iHPyIV1xlOAgG9i/e6dkTK/goQXLu8momYmfncVF VP4YrKmTattRloVcMTzoNyM6iXDRrRsqGIO3YSy5Ik8JYrMmgJDdtezPkY7jLL8Hs7HZZ0Z4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220734 Archived-At: > =E2=80=8BThe Treemacs package displays a full-frame height window at > the left of the frame that can be used to browse directories > in an outline fashion. It has some features that make it > attractive at times beyond just using Dired (it also can be > used in tandem with Dired). > > Treemacs uses treemacs-mode for its buffers. So I want any > window with a buffer in that mode to be non-splittable since > it is narrow and it doesn't make sense to split it in either > dimension. You might consider two opportunities here: If the treemacs window is "frame bound", then it's probably best to make it a side window so that C-x 1 does not delete it and it does not become the sole window of the frame. If the treemacs window is "window bound" (so that two or more treemacs windows may appear simultaneously on a frame), it might be better to attach the treemacs window to some other "normal" window and make these two windows atomic. martin