Document BUG#70995 as well as BUG#70773

This commit is contained in:
Gerard Vermeulen 2024-05-07 08:40:25 +02:00
parent b0b77f1121
commit 2bfe874a65
1 changed files with 4 additions and 6 deletions

View File

@ -236,8 +236,7 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
url-cookie-untrusted-urls '(".*")
use-dialog-box nil
use-short-answers t
view-read-only t
warning-display-at-bottom nil)
view-read-only t)
#+end_src
#+caption[Set the second set of Emacs options: pin packages to archives]:
@ -651,7 +650,6 @@ for technical information.
#+begin_src emacs-lisp -n :results none
(with-eval-after-load 'emacs
;; https://www.masteringemacs.org/article/demystifying-emacs-window-manager
;; GAV: `display-buffer-alist' fails to set the *Warnings* buffer position.
(setopt switch-to-buffer-obey-display-actions t)
(add-to-list 'display-buffer-alist
`(,(rx (or "*Apropos*" "*Dictionary*" "*Help*" "*info"))
@ -661,10 +659,10 @@ for technical information.
`(,(rx (or "*Occur*" "*grep*" "*xref*"))
display-buffer-reuse-window
(inhibit-same-window . nil)))
;; Handling the *Warnings* buffer like the *compilation* buffer also fails.
;; BUG#70773: Eli tells `(setq delayed-warnings-hook nil)' is better.
;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-05/msg00253.html
;; Works after setting `warnings-display-at-bottom' to `nil'.
;; BUG#70795: Inconsistent `warning-display-at-bottom' behavior.
;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-05/msg00359.html
;; Works now always as after setting `warnings-display-at-bottom' to `nil'.
(add-to-list 'display-buffer-alist
`(,(rx (or "*Warnings*" "*compilation*"))
display-buffer-no-window