From 2b04894838f33d207dbd1acde46327ecd6b96dff Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 6 May 2019 21:44:17 +0200 Subject: [PATCH] Improve Emacs setup. --- buster/apt-mark/eeepc | 5 ++++- buster/home_files/user_eeepc/.emacs.d/init.el | 21 ++++++------------- 2 files changed, 10 insertions(+), 16 deletions(-) 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) -- 2.30.2