help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unsplittable window question.


From: Michael Heerdegen
Subject: Re: Unsplittable window question.
Date: Sun, 12 Mar 2023 04:51:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]