From 101d1dea204d53b8043376d0df87f360258dddfe Mon Sep 17 00:00:00 2001 From: JSDurand Date: Wed, 3 Jun 2026 02:13:03 +0800 Subject: dashboard + init: gnus-unplugged instead of gnus * dashboard.el (m): * init.el: Replace gnus by gnus-unplugged. I found that I really want to start gnus without being plugged, as I only occassionally want gnus to fetch from the source directly. Other times the mails are fetched by other programs, and gnus only needs to read and do other things. --- dashboard.el | 4 +--- init.el | 8 ++++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/dashboard.el b/dashboard.el index ae2a081..ba2468d 100644 --- a/dashboard.el +++ b/dashboard.el @@ -159,8 +159,6 @@ common functionalities more conveniently." mode-line-format (list "%e" (list :eval (list 'modeline-format-dashboard))))) -() - (let ((m dashboard-mode-map)) (define-key m (vector ?l) #'blist) (define-key m (vector ?L) #'rlist-list-registers) @@ -169,7 +167,7 @@ common functionalities more conveniently." (define-key m (vector ?T) #'modeline-toggle) (define-key m (vector ?t) #'durand-view-timers-or-temps) (define-key m (vector ?o) #'durand-open-object) - (define-key m (vector ?g) #'gnus) + (define-key m (vector ?g) #'gnus-unplugged) (define-key m (vector ?h) #'durand-ibuffer) (define-key m (vector ?e) #'eshell) (define-key m (vector ?f) #'find-file) diff --git a/init.el b/init.el index bdd2270..3e4b3d6 100644 --- a/init.el +++ b/init.el @@ -240,11 +240,11 @@ no effect." ;;; gnus -(load-after-function gnus "gnus-conf.el" - "Fake function to load gnus." nil (gnus)) +(load-after-function gnus-unplugged "gnus-conf.el" + "Fake function to load gnus." nil (gnus-unplugged)) -(define-key global-map (vector 3 ?g) #'gnus) -(define-key global-map (vector ?\H-g) #'gnus) +(define-key global-map (vector 3 ?g) #'gnus-unplugged) +(define-key global-map (vector ?\H-g) #'gnus-unplugged) ;;; Completion framework configurations -- cgit v1.2.3-18-g5258