unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Any way to prevent window splits for a window or a major-mode
@ 2017-12-01 21:35 Robert Weiner
  2017-12-01 21:40 ` Eric Abrahamsen
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Robert Weiner @ 2017-12-01 21:35 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

I have looked through the Windows sections of the Elisp manual but did not
see an option that would do this specifically, though I imagine it must be
there.

For a window, I would like to be able to mark it so it is never split.
For a major mode, I would like to say for any windows displaying buffers in
this major mode, don't split them.

Is there a simple way to program that?

Thanks,

Bob

[-- Attachment #2: Type: text/html, Size: 1234 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Any way to prevent window splits for a window or a major-mode
@ 2017-12-05 22:45 Robert Weiner
  2017-12-06  8:56 ` martin rudalics
  2017-12-06 18:11 ` Richard Stallman
  0 siblings, 2 replies; 13+ messages in thread
From: Robert Weiner @ 2017-12-05 22:45 UTC (permalink / raw)
  To: emacs-devel; +Cc: Eli Zaretskii, Richard Stallman

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

On Fri, Dec 1, 2017 at 4:35 PM, Robert Weiner <rsw@gnu.org> wrote:

> I have looked through the Windows sections of the Elisp manual but did not
> see an option that would do this specifically
>

​Now that we have resolved this issue by utilizing
display-buffer-in-side-window, I went back to the Elisp manual to see why I
did not
find this.  I was looking for information related to preserving the display
of a window and window splitting.  That led me to
both the sections on "Preserving Window Sizes" and "Splitting Windows"
neither of which have references to the sections on
Side Windows or Atomic Windows.

The last two paragraphs in the "Displaying Buffers in Side Windows" section
are key to understanding that one would want
to use a side window when a non-splittable window is desired.  I think a
mention of that (and/or link) should be added near the
beginning of the "Splitting Windows" section.  It might save others a lot
of time.

Regards,

Bob

>

[-- Attachment #2: Type: text/html, Size: 2604 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-12-07  9:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).