From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Re: Any way to prevent window splits for a window or a major-mode Date: Mon, 4 Dec 2017 08:44:35 -0500 Message-ID: References: <5A227DA1.9060200@gmx.at> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e0828a8fc0ffc81055f83edaa" X-Trace: blaine.gmane.org 1512395173 11855 195.159.176.226 (4 Dec 2017 13:46:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 4 Dec 2017 13:46:13 +0000 (UTC) Cc: emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 04 14:46:07 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 1eLr4M-0002aw-H3 for ged-emacs-devel@m.gmane.org; Mon, 04 Dec 2017 14:46:02 +0100 Original-Received: from localhost ([::1]:43257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLr4T-00014g-Ld for ged-emacs-devel@m.gmane.org; Mon, 04 Dec 2017 08:46:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLr3Y-0000ta-HS for emacs-devel@gnu.org; Mon, 04 Dec 2017 08:45:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLr3T-0006TR-CT for emacs-devel@gnu.org; Mon, 04 Dec 2017 08:45:11 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLr3T-0006TH-81 for emacs-devel@gnu.org; Mon, 04 Dec 2017 08:45:07 -0500 Original-Received: from mail-qt0-f172.google.com ([209.85.216.172]:43549) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1eLr3S-0001C9-LL for emacs-devel@gnu.org; Mon, 04 Dec 2017 08:45:06 -0500 Original-Received: by mail-qt0-f172.google.com with SMTP id w10so21162246qtb.10 for ; Mon, 04 Dec 2017 05:45:06 -0800 (PST) X-Gm-Message-State: AKGB3mJoKkhF2qBHK3kcR4Arw2mP5V5OaKrnzIvyqFKDvKOMZ/pN0io7 cb2L5Q14HluwcZMHM94JY6p74yjHHhZxiHSV/e4= X-Google-Smtp-Source: AGs4zMbLBR3oj2wFG1pjissD9EKH+X7/v6niGe72rT1lfKcelbmBzlC5C08n+DkJrlD+vyk0HjNQP90JZUz89wxRRhg= X-Received: by 10.200.19.11 with SMTP id e11mr20716934qtj.62.1512395106153; Mon, 04 Dec 2017 05:45:06 -0800 (PST) Original-Received: by 10.200.55.124 with HTTP; Mon, 4 Dec 2017 05:44:35 -0800 (PST) In-Reply-To: <5A227DA1.9060200@gmx.at> X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:220687 Archived-At: --089e0828a8fc0ffc81055f83edaa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > But maybe you should tell us more about the case where you need such a property - > `split-window' is just the Emacs paradigm for creating a new window adjac= ent to an > existing one. =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. Thanks for the initial pointers. Martin's pointers sound promising. Bob --089e0828a8fc0ffc81055f83edaa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
= >=C2=A0 But maybe you=C2=A0should tell us more about the case where you need s= uch a property -
> = `split-window' is just the Emacs paradigm for creating a new window=C2= =A0adj= acent to an
> existing one.

=E2=80=8BThe Treemacs package displays a full-fr= ame height window at
the left of the frame that can be used to browse dire= ctories
in an outline fashion.=C2=A0 It has some features that make it
at= tractive at times beyond just using Dired (it also can be
used in tandem= with Dired).

Treemacs uses treemacs-mode for its buffers.=C2=A0 So = I want any
window with a buffer in that mode to be non-splittable since
i= t is narrow and it doesn't make sense to split it in either
dimension.=

Thanks for the initial pointers.=C2=A0 Martin's pointers sound<= /div>
promising.

Bob


--089e0828a8fc0ffc81055f83edaa--