Compare commits

..

No commits in common. "2a23e9b796886a02b7d679107ebbd3ce364921a3" and "e86aab722302cdd1763552c53e06f74ee22e00ba" have entirely different histories.

View File

@ -453,9 +453,9 @@ languages. Listing [[lst:setup-go][Setup Go programming]] shows how to configur
:CUSTOM_ID: sec:text-faces-or-styles :CUSTOM_ID: sec:text-faces-or-styles
:END: :END:
This setup does not use [[info:emacs#Custom Themes][custom themes (info)]], but it does a minimal setup of This setup does not use [[info:emacs#Custom Themes][custom themes (info)]] to avoid endless tweaking, but it
fonts and faces. The [[https://protesilaos.com/codelog/2020-09-05-emacs-note-mixed-font-heights/][note on mixed font heights in Emacs]] for how to setup fonts does a minimal setup of fonts and faces. See the [[https://protesilaos.com/codelog/2020-09-05-emacs-note-mixed-font-heights/][note on mixed font heights in
properly. It boils down to two rules: Emacs]] for how to setup fonts properly. It boils down to two rules:
1. The height of the default face must be an integer number to make the height a 1. The height of the default face must be an integer number to make the height a
physical quantity. physical quantity.
2. The heights of all other faces must be real numbers to scale those heights 2. The heights of all other faces must be real numbers to scale those heights
@ -694,9 +694,8 @@ for technical information.
;; Handling the *Warnings* buffer like the *compilation* buffer also fails. ;; Handling the *Warnings* buffer like the *compilation* buffer also fails.
;; BUG#70773: Eli tells `(setq delayed-warnings-hook nil)' is better. ;; BUG#70773: Eli tells `(setq delayed-warnings-hook nil)' is better.
;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-05/msg00253.html ;; https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-05/msg00253.html
;; Works after setting `warnings-display-at-bottom' to `nil'.
(add-to-list 'display-buffer-alist (add-to-list 'display-buffer-alist
`(,(rx (or "*Warnings*" "*compilation*")) `(,(rx (or "*compilation*"))
display-buffer-no-window display-buffer-no-window
(allow-no-window . t)))) (allow-no-window . t))))
#+end_src #+end_src