unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51062: Customizable window resizing
@ 2021-10-06 17:31 Juri Linkov
  2021-10-07  9:08 ` martin rudalics
  2021-10-13  8:36 ` martin rudalics
  0 siblings, 2 replies; 19+ messages in thread
From: Juri Linkov @ 2021-10-06 17:31 UTC (permalink / raw)
  To: 51062

There are two ways how window resizing is currently hard-coded:

1. As discussed in
   https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg01627.html
   when temp-buffer-resize-mode is enabled, it's impossible
   to disable automatic window resizing of the Help buffer.

   Thanks to Martin, the patch in
   https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg01873.html
   allows customization when display-buffer-alist contains
   (window-height . nil)

2. As discussed in bug#45688, such commands as vc-log, vc-diff
   automatically resize the window, and the problem is that currently
   shrink-window-if-larger-than-buffer is used in these commands by default,
   but this behavior is hard-coded and can't be disabled by customization.
   A solution is to create a new hook like 'after-display-buffer-function'
   that by default will contain 'shrink-window-if-larger-than-buffer'.





^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2022-01-11 17:35 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 17:31 bug#51062: Customizable window resizing Juri Linkov
2021-10-07  9:08 ` martin rudalics
2021-10-13  8:36 ` martin rudalics
2021-10-13 18:46   ` Juri Linkov
2021-10-14  9:13     ` martin rudalics
2021-10-14 16:01       ` Juri Linkov
2021-10-14 17:01         ` martin rudalics
2021-10-14 17:14           ` Juri Linkov
2021-10-14 17:47             ` martin rudalics
2021-10-18 16:10             ` Juri Linkov
2021-10-18 17:44               ` martin rudalics
2021-10-19  6:54                 ` Juri Linkov
2021-12-29 17:27                 ` Juri Linkov
2021-12-29 19:12                   ` bug#51062: [External] : " Drew Adams
2021-12-31  9:12                   ` martin rudalics
2021-12-31 15:55                     ` bug#51062: [External] : " Drew Adams
2022-01-04  8:33                     ` Juri Linkov
2022-01-04 10:27                       ` martin rudalics
2022-01-11 17:35                         ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).