unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Unsplittable window question.
Date: Sun, 12 Mar 2023 04:51:01 +0100	[thread overview]
Message-ID: <87ttyq4ogq.fsf@web.de> (raw)
In-Reply-To: 20230311101232.m6s3nizkp4jlw2rj@Ergus

Ergus <spacibba@aol.com> writes:

> Hi:
>
> I am experimenting with some off the windows/frame features. And I added
> these two lines to my config:
>
> ```
> (defconst my/display-buffer-at-bottom
>    '((display-buffer-reuse-window display-buffer-at-bottom)
>        (unsplittable . t)
>        (dedicated . t)
>        (window-height . 0.3)))
>
> (add-to-list 'display-buffer-alist `("*Occur*" . ,my/display-buffer-at-bottom))
> ```
>
> With this Occur opens in the bottom as expected, but the
> (unsplittable . t) seems not to have any effect. Emacs splits the Occur
> window like any other and:
>
> (window-parameter (get-buffer-window "*Occur*") 'unsplittable)
>
> returns nil.

'unsplittable' is a frame parameter, not a (meaningful) window
parameter.

I don't know other ways to avoid automatic splitting of a window than
using the stuff mentioned in the doc of `window-splittable-p'.

Michael.




  reply	other threads:[~2023-03-12  3:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230311101232.m6s3nizkp4jlw2rj.ref@Ergus>
2023-03-11 10:12 ` Unsplittable window question Ergus
2023-03-12  3:51   ` Michael Heerdegen [this message]
2023-03-12  3:59     ` Emanuel Berg

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=87ttyq4ogq.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).