all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ergus <spacibba@aol.com>
To: help-gnu-emacs@gnu.org
Subject: Unsplittable window question.
Date: Sat, 11 Mar 2023 11:12:32 +0100	[thread overview]
Message-ID: <20230311101232.m6s3nizkp4jlw2rj@Ergus> (raw)
In-Reply-To: 20230311101232.m6s3nizkp4jlw2rj.ref@Ergus

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.

The debugger shows the call to display-buffer-at-bottom passing the
alist as a parameter.

What I am doing wrong?

Thanks in advance,
Ergus



       reply	other threads:[~2023-03-11 10:12 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 ` Ergus [this message]
2023-03-12  3:51   ` Unsplittable window question Michael Heerdegen
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

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

  git send-email \
    --in-reply-to=20230311101232.m6s3nizkp4jlw2rj@Ergus \
    --to=spacibba@aol.com \
    --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.
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.