[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46034: Feature request: add variable for automatically selecting the
From: |
Juri Linkov |
Subject: |
bug#46034: Feature request: add variable for automatically selecting the apropos window |
Date: |
Mon, 25 Jan 2021 22:14:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> It seems there are many other windows that needs to be customized
>> to select them. Wouldn't it be more general solution to use
>> display-buffer-alist, maybe with something like:
>>
>> (add-to-list 'display-buffer-alist '("\\*Help\\*" nil (post-display .
>> select-window)))
>
> I'd prefer
>
> (add-to-list 'display-buffer-alist '("\\*Help\\*" nil (select-window . t)))
>
> but might change my mind as soon as you tell us what other values for
> post-display you have in mind.
Maybe 'shrink-window-if-larger-than-buffer' like in bug#45688
or maybe better to use an option like 'after-display-buffer-function',
I'm not sure.