From e86aab722302cdd1763552c53e06f74ee22e00ba Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Sun, 5 May 2024 10:42:44 +0200 Subject: [PATCH] Prepare for future fix *Warnings* buffer and `display-buffer-alist' --- README.org | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index 44f2487..353a75c 100644 --- a/README.org +++ b/README.org @@ -260,9 +260,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 - ;; Suppress the missing lexical-binding cookie warnings. - warning-suppress-log-types '((lexical-binding))) + view-read-only t) #+end_src #+caption[Set the second set of Emacs options: pin packages to archives]: @@ -310,10 +308,16 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]]. package-selected-packages '(debbugs no-littering)) #+end_src -#+caption[Set the third set of Emacs options: upgrade Org and transient]: -#+caption: Set the third set of Emacs options: upgrade Org and transient. +#+caption[Set the third set of Emacs options: tweaks]: +#+caption: Set the third set of Emacs options: tweaks. #+name: lst:3rd-setopt-call #+begin_src emacs-lisp -n :results silent +;; Tweak warnings: +(setopt warning-display-at-bottom nil + ;; Suppress the missing lexical-binding cookie warnings. + ;; warning-suppress-log-types '((lexical-binding)) + ) + ;; To use different Org git repositories (org or gro): (push (expand-file-name "~/VCS/org-mode/lisp") load-path) (push (expand-file-name "~/VCS/org-contrib/lisp") load-path) @@ -689,6 +693,7 @@ for technical information. (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 (add-to-list 'display-buffer-alist `(,(rx (or "*compilation*")) display-buffer-no-window