Merge "lst:2nd-window-management" into "lst:1st-setopt-call"

This commit is contained in:
Gerard Vermeulen 2024-06-12 13:07:44 +02:00
parent 85217735d8
commit 74788ee3e4

View File

@ -237,7 +237,8 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
url-cookie-untrusted-urls '(".*") url-cookie-untrusted-urls '(".*")
use-dialog-box nil use-dialog-box nil
use-short-answers t use-short-answers t
view-read-only t) view-read-only t
winner-mode t)
#+end_src #+end_src
#+caption[Set the second set of Emacs options: pin packages to archives]: #+caption[Set the second set of Emacs options: pin packages to archives]:
@ -608,9 +609,8 @@ verse and quote blocks are fontified using the `org-verse' and
:END: :END:
Mickey Peterson's post [[https://www.masteringemacs.org/article/demystifying-emacs-window-manager][Demystifying Emacs's Window Manager]] invites to improve Mickey Peterson's post [[https://www.masteringemacs.org/article/demystifying-emacs-window-manager][Demystifying Emacs's Window Manager]] invites to improve
window placement. Listing [[lst:1st-window-management]], [[lst:2nd-window-management]] window placement. Listing [[lst:1st-window-management]] and
and [[lst:3rd-window-management]] implement a selection of his recommendations. [[lst:2nd-window-management]] implement a selection of his recommendations. See:
See:
1. [[info:elisp#The Zen of Buffer Display][The Zen of Buffer Display (info)]] 1. [[info:elisp#The Zen of Buffer Display][The Zen of Buffer Display (info)]]
2. [[https://e17i.github.io/articles-emacs-display-1/][Configuring the Emacs display system]] 2. [[https://e17i.github.io/articles-emacs-display-1/][Configuring the Emacs display system]]
for technical information. for technical information.
@ -651,17 +651,9 @@ for technical information.
(keymap-global-set "M-o" #'other-window)) (keymap-global-set "M-o" #'other-window))
#+end_src #+end_src
#+caption[Window management modes]:
#+caption: Window management modes.
#+name: lst:2nd-window-management
#+begin_src emacs-lisp -n
(with-eval-after-load 'emacs
(winner-mode +1))
#+end_src
#+caption[Window management variables]: #+caption[Window management variables]:
#+caption: Window management variables. #+caption: Window management variables.
#+name: lst:3rd-window-management #+name: lst:2nd-window-management
#+begin_src emacs-lisp -n :results none #+begin_src emacs-lisp -n :results none
;; (info "(elisp) Displaying Buffers") ;; (info "(elisp) Displaying Buffers")
;; (info "(emacs) Window Choice") ;; (info "(emacs) Window Choice")