unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: rswgnu@gmail.com
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Any way to prevent window splits for a window or a major-mode
Date: Tue, 05 Dec 2017 09:53:38 +0100	[thread overview]
Message-ID: <5A265E92.3080309@gmx.at> (raw)
In-Reply-To: <CA+OMD9jkqG-8Rrv8ZY-5CGduyJS4RX0JfPZhK+yf573wip8ZbQ@mail.gmail.com>

 > ​The 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




  reply	other threads:[~2017-12-05  8:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-01 21:35 Any way to prevent window splits for a window or a major-mode Robert Weiner
2017-12-01 21:40 ` Eric Abrahamsen
2017-12-01 21:57 ` Drew Adams
2017-12-02 10:17 ` martin rudalics
2017-12-04 13:44   ` Robert Weiner
2017-12-05  8:53     ` martin rudalics [this message]
2017-12-05 17:04       ` Robert Weiner
2017-12-06  8:56         ` martin rudalics
2017-12-06 15:44           ` Robert Weiner
2017-12-07  9:27             ` martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2017-12-05 22:45 Robert Weiner
2017-12-06  8:56 ` martin rudalics
2017-12-06 18:11 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A265E92.3080309@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=rswgnu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).