all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Weiner <rsw@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Any way to prevent window splits for a window or a major-mode
Date: Wed, 6 Dec 2017 10:44:03 -0500	[thread overview]
Message-ID: <CA+OMD9iykgHuw36MXOMJtpezy8uWUqpXbXYH=zmQdp5ReRJkxw@mail.gmail.com> (raw)
In-Reply-To: <5A27B0C3.7060108@gmx.at>

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

On Wed, Dec 6, 2017 at 3:56 AM, martin rudalics <rudalics@gmx.at> wrote:

> > ​It is frame-bound.  I tested display-buffer-in-side-window
> > and that did the trick.  Thanks.  Is set-window-dedicate-p
> > also needed or does the side window setup take care of that?
>
> `set-window-dedicated-p' (with a "d") is not needed.  Another buffer may
> appear in this window if and only if it has been set up to use the same
> side and slot.


​Great.

In the doc string for display-buffer-in-side-window, it says: "Unless
‘display-buffer-mark-dedicated’ is non-nil, softly
dedicate the side window used to BUFFER."

No one will know what 'softly dedicate' means.  If it means what you said
above, that should be explained in the doc string too.
​

> ​​
>
> ​​
>
> ​​
> > If you don't want delete-other-windows to delete this window,
> ​​
> > then also add:
> ​​
> >
> ​​
> > (set-window-parameter (selected-window) 'no-delete-other-windows t)
> ​​
>
> ​​
> Indeed, see Bug#27999.


​Thanks for the pointer to some of the thinking that went into the design
of the side window feature.
It is working well for me in use with the Treemacs package.

Bob

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

  reply	other threads:[~2017-12-06 15:44 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
2017-12-05 17:04       ` Robert Weiner
2017-12-06  8:56         ` martin rudalics
2017-12-06 15:44           ` Robert Weiner [this message]
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

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

  git send-email \
    --in-reply-to='CA+OMD9iykgHuw36MXOMJtpezy8uWUqpXbXYH=zmQdp5ReRJkxw@mail.gmail.com' \
    --to=rsw@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rswgnu@gmail.com \
    --cc=rudalics@gmx.at \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.