Compare commits

...

2 Commits

View File

@ -306,7 +306,7 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
(vertico . "gnu")
(with-editor . "nongnu")
(yasnippet . "gnu"))
package-selected-packages '(async debbugs no-littering))
package-selected-packages '(debbugs no-littering))
#+end_src
#+caption[Set the third set of Emacs options: upgrade Org and transient]:
@ -961,10 +961,7 @@ extension.
#+end_src
Listing [[lst:extra-dired-key-bindings]] adds a new key binding to =dired-mode-map=
to open files with the [[https://en.wikipedia.org/wiki/Eww_(web_browser)][Emacs Web Wowser]] inside Emacs and implements asynchronous
file copying using the src_emacs-lisp{(find-library "dired-async")} library
under the hood. *NOTE:* [[https://github.com/stsquad/dired-rsync#dired-rsync--asynchronous-rsync-from-dired][asynchronous rsync from dired]] may be a better
alternative.
to open files with the [[https://en.wikipedia.org/wiki/Eww_(web_browser)][Emacs Web Wowser]] inside Emacs.
#+caption[Extra =dired= key bindings]:
#+caption: Extra =dired= key bindings.
@ -980,13 +977,6 @@ alternative.
(error "Eww rejects `%s', since it is not a regular file" file))))
(keymap-set dired-mode-map "E" #'dired-eww-open-file))
(when (require 'dired-async nil 'noerror)
;; Does this fail? Or is it too fast?
;; Fix this later, but rsync works from zsh.
;; https://www.emacs.dyerdwelling.family/emacs/
;; https://www.reddit.com/r/emacs/comments/g0jkkj/using_dired_asynchronously/
(setopt dired-async-small-file-max 5000000))
#+end_src
* [[info:emacs#Completion Styles][Minibuffer completion styles (info)]]
@ -6779,6 +6769,7 @@ contrary to for instance [[https://github.com/Fanael/rainbow-delimiters#readme][
(dolist (symbol '(emacs-lisp-mode-hook
go-ts-mode-hook
ielm-mode-hook
inferior-python-mode-hook
lisp-data-mode-hook
lisp-mode-hook
python-mode-hook
@ -6860,8 +6851,8 @@ formatter for Python]].
#+begin_src emacs-lisp -n :results silent
(when (and (ensure-package-installation 'electric-operator)
(fboundp 'electric-operator-mode))
(add-hook 'c-mode-common-hook #'electric-operator-mode)
(add-hook 'python-mode-hook #'electric-operator-mode))
(dolist (symbol '(c-mode-common-hook julia-mode-hook python-mode-hook))
(add-hook symbol #'electric-operator-mode)))
#+end_src
** [[https://joaotavora.github.io/yasnippet/][Smart snippets]]
@ -6876,11 +6867,11 @@ formatter for Python]].
(when (ensure-package-installation 'yasnippet)
;; Set `yas-alias-to-yas/prefix-p' before loading `yasnippet'.
(setopt yas-alias-to-yas/prefix-p nil)
(dolist (hook '(LaTeX-mode-hook
org-mode-hook
python-mode-hook
python-ts-mode-hook))
(add-hook hook #'yas-minor-mode)))
(dolist (symbol '(LaTeX-mode-hook
org-mode-hook
python-mode-hook
python-ts-mode-hook))
(add-hook symbol #'yas-minor-mode)))
#+end_src
** [[info:autotype#Tempo][Tempo (info)]] :noexport: