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

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

bug#69983: Use category for display-buffer-alist


From: martin rudalics
Subject: bug#69983: Use category for display-buffer-alist
Date: Thu, 11 Apr 2024 11:16:25 +0200
User-agent: Mozilla Thunderbird

> In any case, if you are suggesting to change the "random" place where
> warnings are displayed, we should first discuss that, because your
> assertion that no one will dislike the change sounds very much like
> famous last words to me, so to speak ;-)

This part

+                                   '(display-buffer--maybe-at-bottom
+                                     (window-height . (lambda (window)
+                                       (fit-window-to-buffer window 10)))

would hard-code a new preference which might cause problems indeed.  But
the subsequent

+                                     (category . warning)))))

would allow users to customize the display of warnings via
'display-buffer-alist' and cannot harm otherwise.

martin





reply via email to

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