Compare commits

...

2 Commits

1 changed files with 5 additions and 4 deletions

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
:END:
This setup does not use [[info:emacs#Custom Themes][custom themes (info)]] to avoid endless tweaking, but it
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
Emacs]] for how to setup fonts properly. It boils down to two rules:
This setup does not use [[info:emacs#Custom Themes][custom themes (info)]], but it does a minimal setup of
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
properly. It boils down to two rules:
1. The height of the default face must be an integer number to make the height a
physical quantity.
2. The heights of all other faces must be real numbers to scale those heights
@ -694,8 +694,9 @@ for technical information.
;; 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'.
(add-to-list 'display-buffer-alist
`(,(rx (or "*compilation*"))
`(,(rx (or "*Warnings*" "*compilation*"))
display-buffer-no-window
(allow-no-window . t))))
#+end_src