Compare commits

..

No commits in common. "fd1521787b0aad1fc1f0f8c742d7c61409a5c0cd" and "78e67f1624cbc4c23feb958fd280bb1f64d4224e" have entirely different histories.

View File

@ -244,7 +244,7 @@ The [[info:emacs#Init File][init file (info)]] does not load the ~custom-file~ a
(embark . "gnu-devel") (embark . "gnu-devel")
(embark-consult . "gnu-devel") (embark-consult . "gnu-devel")
(engrave-faces . "gnu") (engrave-faces . "gnu")
(hyperbole . "gnu-devel") (hyperbole . "gnu")
(marginalia . "gnu-devel") (marginalia . "gnu-devel")
(org . "gnu-devel") (org . "gnu-devel")
,(when (version< emacs-version "28.9.9") ,(when (version< emacs-version "28.9.9")
@ -266,7 +266,7 @@ The [[info:emacs#Init File][init file (info)]] does not load the ~custom-file~ a
auctex ; Aalborg University Center TeX auctex ; Aalborg University Center TeX
company ; complete anything company ; complete anything
engrave-faces ; convert font-lock to ANSI/HTML/LaTeX engrave-faces ; convert font-lock to ANSI/HTML/LaTeX
; hyperbole ; text pattern hyperbuttons hyperbole ; text pattern hyperbuttons
magit ; Git Text-based User Interface magit ; Git Text-based User Interface
no-littering ; keep `user-emacs-directory' clean no-littering ; keep `user-emacs-directory' clean
org ; thought organizer org ; thought organizer
@ -320,15 +320,9 @@ The [[info:emacs#Init File][init file (info)]] does not load the ~custom-file~ a
#+name: lst:customize-emacs-tree-sitter #+name: lst:customize-emacs-tree-sitter
#+begin_src emacs-lisp #+begin_src emacs-lisp
(when (require 'treesit nil t) (when (require 'treesit nil t)
;; https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg01372.html
(let ((tselp (expand-file-name "~/VCS/tree-sitter-module/dist/"))) (let ((tselp (expand-file-name "~/VCS/tree-sitter-module/dist/")))
(when (file-exists-p tselp) (when (file-exists-p tselp)
(add-to-list 'treesit-extra-load-path tselp) (add-to-list 'treesit-extra-load-path tselp))))
;; Does not play nicely with eglot:
;; (setq major-mode-remap-alist '((python-mode . python-ts-mode)))
;; Plays nicely with eglot:
(add-to-list 'auto-mode-alist `(,(rx ".py" (opt "[iw]") eos) . python-ts-mode))
)))
#+end_src #+end_src
* [[info:emacs#Package Installation][Install the selected packages (info)]] * [[info:emacs#Package Installation][Install the selected packages (info)]]
@ -1249,8 +1243,7 @@ file.
#+name: lst:enable-vertico-mode #+name: lst:enable-vertico-mode
#+begin_src emacs-lisp #+begin_src emacs-lisp
(when (fboundp 'savehist-mode) (when (fboundp 'savehist-mode)
(savehist-mode +1)) (savehist-mode +1)
(with-eval-after-load 'savehist-mode
(custom-set-variables (custom-set-variables
'(savehist-additional-variables '(savehist-additional-variables
'(eww-history '(eww-history
@ -4227,9 +4220,9 @@ and listing [[lst:setting-python-shell-virtualenv-root]] to set
("ipython" ("ipython"
(custom-set-variables (custom-set-variables
`(python-shell-interpreter `(python-shell-interpreter
,(or (executable-find "ipython3") (executable-find "ipython")))) ,(or (executable-find "ipython3") (executable-find "ipython")))
(setq python-shell-interpreter-args '(python-shell-interpreter-args
"--simple-prompt --HistoryAccessor.enabled=False"))) "--simple-prompt --HistoryAccessor.enabled=False"))))
(message "Now `python-shell-interpreter' equals %S" (message "Now `python-shell-interpreter' equals %S"
python-shell-interpreter)))) python-shell-interpreter))))
#+end_src #+end_src
@ -4991,12 +4984,19 @@ Listing [[lst:configure-browse-url]] configures =browse-url=.
(seq (+? nonl) (or ".mp4" ".webm") eos))) (seq (+? nonl) (or ".mp4" ".webm") eos)))
"Match hyperlinks to browse with mpv.") "Match hyperlinks to browse with mpv.")
(if (version< emacs-version "28.0")
(custom-set-variables
'(browse-url-browser-function
`((,browse-url-mpv-regexp . browse-url-mpv)
("." . eww-browse-url))))
(custom-set-variables (custom-set-variables
`(browse-url-generic-program ,(or (when (eq system-type 'darwin) "open")
(executable-find "firefox")))
'(browse-url-handlers '(browse-url-handlers
`((,browse-url-mpv-regexp . browse-url-mpv) `((,browse-url-mpv-regexp . browse-url-mpv)
("." . eww-browse-url))))) ("." . eww-browse-url)))))
(custom-set-variables
`(browse-url-generic-program ,(or (when (eq system-type 'darwin) "open")
(executable-find "firefox")))))
#+end_src #+end_src
*** [[https://en.wikipedia.org/wiki/Eww_(web_browser)][Emacs Web Wowser]] *** [[https://en.wikipedia.org/wiki/Eww_(web_browser)][Emacs Web Wowser]]
@ -5089,10 +5089,8 @@ initializes a list of =webjump-sites=.
("Git: NonGNU ELPA" . "git.savannah.gnu.org/cgit/emacs/nongnu.git") ("Git: NonGNU ELPA" . "git.savannah.gnu.org/cgit/emacs/nongnu.git")
("Git: Org Mode" . "git.savannah.gnu.org/cgit/emacs/org-mode.git") ("Git: Org Mode" . "git.savannah.gnu.org/cgit/emacs/org-mode.git")
("List: Org Mode" . "list.orgmode.org") ("List: Org Mode" . "list.orgmode.org")
("List: Emacs Developer Archives" . ("List: Emacs-Devel Archives" .
"lists.gnu.org/archive/html/emacs-devel/") "lists.gnu.org/archive/html/emacs-devel/")
("List: Help GNU Emacs Archives" .
"lists.gnu.org/archive/html/help-gnu-emacs/")
("Asian Pacific Journal Japan Focus" . "apjjf.org") ("Asian Pacific Journal Japan Focus" . "apjjf.org")
("Counterpunch" . "www.counterpunch.org") ("Counterpunch" . "www.counterpunch.org")
("Dictionary FR" . [simple-query "www.cnrtl.fr" ("Dictionary FR" . [simple-query "www.cnrtl.fr"
@ -5144,9 +5142,8 @@ initializes a list of =webjump-sites=.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(with-eval-after-load 'gnus (with-eval-after-load 'gnus
(custom-set-variables (custom-set-variables
'(gnus-select-method '(nntp "news.gmane.io")))) '(gnus-select-method '(nntp "news.gmane.io"))
(with-eval-after-load 'gnus-start
(with-eval-after-load 'gnus-start
(custom-set-variables (custom-set-variables
'(gnus-check-bogus-newsgroups nil) '(gnus-check-bogus-newsgroups nil)
'(gnus-check-new-newsgroups 'ask-server) '(gnus-check-new-newsgroups 'ask-server)
@ -5155,10 +5152,9 @@ initializes a list of =webjump-sites=.
'(gnus-save-killed-list t) '(gnus-save-killed-list t)
'(gnus-save-newsrc-file t) '(gnus-save-newsrc-file t)
'(gnus-use-dribble-file t))) '(gnus-use-dribble-file t)))
(with-eval-after-load 'gnus-sum
(with-eval-after-load 'gnus-sum
(custom-set-variables (custom-set-variables
'(gnus-thread-hide-subtree t))) '(gnus-thread-hide-subtree t)))))
#+end_src #+end_src
** [[info:emacs#Sending Mail][Sending Mail (info)]] ** [[info:emacs#Sending Mail][Sending Mail (info)]]