[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45688: 28.0.50; New action for display-buffer?
From: |
martin rudalics |
Subject: |
bug#45688: 28.0.50; New action for display-buffer? |
Date: |
Mon, 4 Oct 2021 10:28:18 +0200 |
>>> Indeed, better would be to add an option to not resize it by
describe-function.
>>> Maybe by adding a new option 'after-display-buffer-function' and set it
>>> by default to 'shrink-window-if-larger-than-buffer' in *Help* buffers?
>>
>> You can already use a 'window-height' alist entry and set it to
>> 'shrink-window-if-larger-than-buffer'. What would an
>> 'after-display-buffer-function' option do differently?
>
> It seems the patch that you recently sent to emacs-devel fixes this problem?
You mean this problem
The problem is that currently shrink-window-if-larger-than-buffer
is used in many commands by default, but this behavior is hard-coded
and can't be disabled by customization. These commands include
help commands, vc-log, vc-diff, ...
supposedly caused by 'temp-buffer-resize-mode'? Would we then be able
to close this bug or is there anything else left?
martin