Compare commits

..

No commits in common. "a1fd2d24a2a6a6efba94adc35f820a09294e3e28" and "c2f94856fe95a79850f19188d56a923fec1b1e20" have entirely different histories.

View File

@ -209,6 +209,7 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
;; Known problem: EasyPG fails to save files encrypted with GnuPG v2.4.1. ;; Known problem: EasyPG fails to save files encrypted with GnuPG v2.4.1.
;; Darwin: brew install gnupg@2.2 ;; Darwin: brew install gnupg@2.2
epg-pinentry-mode 'loopback epg-pinentry-mode 'loopback
fido-mode t
global-hl-line-mode t global-hl-line-mode t
global-hl-line-sticky-flag t global-hl-line-sticky-flag t
history-delete-duplicates t history-delete-duplicates t
@ -1291,7 +1292,8 @@ documentation.
(when (ensure-package-installation 'vertico) (when (ensure-package-installation 'vertico)
;; GAV: Builtin `fido-mode' may fix `find-file' completion when ;; GAV: Builtin `fido-mode' may fix `find-file' completion when
;; using `vertico-directory' functions which confuse `find-file'. ;; using `vertico-directory' functions which confuse `find-file'.
;; GAV: Builtin `fido-mode' has more -1 votes than +1 votes. ;; GAV: Builtin `fido-mode' improves the feel of the completion
;; (good), but adds an extra line to the minibuffer bottom (ugly).
(vertico-mode +1)) (vertico-mode +1))
#+end_src #+end_src
@ -3866,25 +3868,23 @@ Return \"Front Matter\" when current page is above the first headline."
Listing [[lst:desktop-setup][setup desktop]] makes Emacs save its state between closing its session to Listing [[lst:desktop-setup][setup desktop]] makes Emacs save its state between closing its session to
opening the next session. opening the next session.
#+caption[Setup =desktop= to save Emacs sessions]: #+caption[Setup ~desktop~ to save Emacs sessions]:
#+caption: Setup =desktop= to save Emacs sessions. #+caption: Setup ~desktop~ to save Emacs sessions.
#+name: lst:desktop-setup #+name: lst:desktop-setup
#+begin_src emacs-lisp -n :results silent #+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'emacs (with-eval-after-load 'emacs
;; GAV: I fail to implement the idea of ChatGPT on how to reload ;; Load and configure `Org' before enabling `desktop-save-mode'.
;; `eww' pages automatically while restoring the desktop (idea is to (desktop-save-mode t)
;; add save and restore handlers to `desktop-buffer-mode-handlers').
;; GAV: (setopt eww-restore-desktop t) fails and starts hesitantly.
;; GAV: I fail to code a function for setting the
;; `desktop-buffers-not-to-save-function' option.
(setopt desktop-buffers-not-to-save (setopt desktop-buffers-not-to-save
(rx bos (or "*Apropos" "compilation*")) (rx bos (or "*Apropos" "compilation*"))
desktop-modes-not-to-save desktop-modes-not-to-save
'(emacs-lisp-mode image-mode tags-table-mode)) '(emacs-lisp-mode image-mode tags-table-mode)))
(desktop-save-mode t))
#+end_src #+end_src
BUG: I fail to code a function to set the ~desktop-buffers-not-to-save-function~
option.
* Programming Tools * Programming Tools
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: sec:programming-tools :CUSTOM_ID: sec:programming-tools