Fix Emacs configuration

This commit is contained in:
Fabio Scotto di Santolo
2026-07-15 11:51:11 +02:00
parent a4b47e0456
commit fa39a2571b
3 changed files with 32 additions and 1 deletions

View File

@@ -38,6 +38,10 @@ mint_development_packages:
- python3-venv
mint_desktop_common_packages:
# autoconf/automake/libtool-bin build the Emacs pdf-tools (epdfinfo) and
# vterm native modules; the lib*-dev headers below are their link deps.
- autoconf
- automake
- dconf-cli
- deja-dup
- emacs
@@ -46,8 +50,19 @@ mint_desktop_common_packages:
- fonts-noto-color-emoji
- git-delta
- gnome-keyring
# hunspell CLI + Italian dictionary for Emacs spell checking (spell.el sets
# ispell-really-hunspell); hunspell-en-us is pulled in as a dependency.
- hunspell
- hunspell-it
- libfreetype-dev
# pdf-tools epdfinfo build deps (poppler); libpng-dev/zlib1g-dev are already
# satisfied by other packages.
- libpoppler-glib-dev
- libpoppler-private-dev
- libsecret-tools
- libtool-bin
# vterm/multi-vterm native module (compiled against system libvterm).
- libvterm-dev
- libx11-dev
- mpv
- pinentry-gnome3

View File

@@ -1,6 +1,8 @@
;;; python.el -*- lexical-binding: t; -*-
(require 'reformatter)
(use-package reformatter
:ensure t
:demand t)
(with-eval-after-load 'project
(add-to-list 'project-vc-extra-root-markers "pyproject.toml")

View File

@@ -29,6 +29,20 @@
:hook
(elfeed-show-mode . visual-line-mode))
(use-package evil-collection
:ensure t
:after (evil elfeed)
:config
;; Enable Vim-style keybindings only for elfeed (search + entry views),
;; leaving the rest of the configuration on evil's defaults.
(evil-collection-init (list 'elfeed))
;; Restore the custom "v" -> mpv binding, which evil's normal-state visual
;; selection would otherwise shadow inside elfeed buffers.
(evil-collection-define-key 'normal 'elfeed-search-mode-map
"v" #'elfeed-play-with-mpv)
(evil-collection-define-key 'normal 'elfeed-show-mode-map
"v" #'elfeed-play-with-mpv))
(use-package elfeed-org
:ensure t
:after elfeed