From: Christian Heller Date: Mon, 6 May 2019 19:44:17 +0000 (+0200) Subject: Improve Emacs setup. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks/static/%7B%7Btodo.date%7D%7D?a=commitdiff_plain;h=2b04894838f33d207dbd1acde46327ecd6b96dff;p=config Improve Emacs setup. --- diff --git a/buster/apt-mark/eeepc b/buster/apt-mark/eeepc index 0e2c83b..804b9c9 100644 --- a/buster/apt-mark/eeepc +++ b/buster/apt-mark/eeepc @@ -32,7 +32,6 @@ alsa-utils ttf-unifont # also useful vim -emacs25 sudo less man-db @@ -51,4 +50,8 @@ unzip pmount cryptsetup openssh-client +# emacs +emacs25 +elpa-ledger +elpa-elfeed # diff --git a/buster/home_files/user_eeepc/.emacs.d/init.el b/buster/home_files/user_eeepc/.emacs.d/init.el index f289d92..b211883 100644 --- a/buster/home_files/user_eeepc/.emacs.d/init.el +++ b/buster/home_files/user_eeepc/.emacs.d/init.el @@ -96,9 +96,12 @@ ("melpa-unstable" . "https://melpa.org/packages/") ("melpa-stable" . "https://stable.melpa.org/packages/"))) -;; by default, packages are only loaded after the init file; by loading them -;; earlier, the call to evil-mode below is made possible -(package-initialize) +;; ensure certain packages are installed (actually, we use Debian repos here) +;(setq package-list '(elfeed ledger-mode)) +;(package-initialize) +;(dolist (package package-list) +; (unless (package-installed-p package) +; (package-install package))) @@ -258,15 +261,3 @@ (setq conf-mode-map (make-sparse-keymap)) (setq sh-mode-map (make-sparse-keymap)) (setq python-mode-map (make-sparse-keymap)) - - -;;; evil mode -;;; ========= -; -;;; start in normal mode everywhere -;(setq evil-emacs-state-modes nil) -;(setq evil-insert-state-modes nil) -;(setq evil-motion-state-modes nil) -; -;;; enable evil at end so it can overlay its keybindings over any other packages -;(evil-mode t)