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

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

bug#36859: Customizable fit-window-to-buffer


From: Juri Linkov
Subject: bug#36859: Customizable fit-window-to-buffer
Date: Wed, 07 Aug 2019 01:16:01 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

> The only practicable solution IMHO is to provide a plain
> 'vc-adjust-window-size-function' option defaulting to
> 'shrink-window-if-larger-than-buffer' and allowing 'ignore' and
> 'fit-window-to-buffer' as alternatives.

This looks like hooks.  I too like hooks, I don't understand
why vc uses such inconvenient macros as vc-run-delayed
instead of more flexible hooks.  Window management could use
hooks more often, e.g. to delay setting window-start/window-point
to later times when the buffer is ready, etc.





reply via email to

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