Update to include MELPA and load HOWM correctly
This commit is contained in:
parent
4951002e2d
commit
8315be6082
@ -8,11 +8,13 @@
|
|||||||
;; Add the whomp.d directory to the load path
|
;; Add the whomp.d directory to the load path
|
||||||
(add-to-list 'load-path (expand-file-name "whomp.d" user-emacs-directory))
|
(add-to-list 'load-path (expand-file-name "whomp.d" user-emacs-directory))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Package management dependencies
|
;; Package management dependencies
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
(add-to-list 'package-archives
|
||||||
|
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
|
||||||
|
|
||||||
;; And disable package at startup
|
;; And disable package at startup
|
||||||
(setq package-enable-at-startup nil)
|
(setq package-enable-at-startup nil)
|
||||||
|
|
||||||
|
@ -11,23 +11,23 @@
|
|||||||
|
|
||||||
(when (memq 'howm whomp-notes)
|
(when (memq 'howm whomp-notes)
|
||||||
(use-package howm
|
(use-package howm
|
||||||
:straight t
|
:ensure t
|
||||||
:defer t)
|
:init
|
||||||
;; Directory configuration
|
;; Directory configuration
|
||||||
(whomp/ensure-directory-exists "~/org")
|
(whomp/ensure-directory-exists "~/org")
|
||||||
(setq howm-home-directory "~/org/")
|
(setq howm-home-directory "~/org/")
|
||||||
(setq howm-directory "~/org/")
|
(setq howm-directory "~/org/")
|
||||||
(setq howm-keyword-file (expand-file-name ".howm-keys" howm-home-directory))
|
(setq howm-keyword-file (expand-file-name ".howm-keys" howm-home-directory))
|
||||||
(setq howm-history-file (expand-file-name ".howm-history" howm-home-directory))
|
(setq howm-history-file (expand-file-name ".howm-history" howm-home-directory))
|
||||||
(setq howm-file-name-format "%Y/%m/%Y%m%d%H%M%S.org")
|
(setq howm-file-name-format "%Y/%m/%Y%m%d%H%M%S.org")
|
||||||
|
|
||||||
;; Search optimisation
|
;; Search optimisation
|
||||||
(setq howm-view-use-grep t) ;; use external grep
|
(setq howm-view-use-grep t) ;; use external grep
|
||||||
(setq howm-menu-refresh-after-save nil)
|
(setq howm-menu-refresh-after-save nil)
|
||||||
(setq howm-menu-expiry-hours 2) ;; cache menu N hours
|
(setq howm-menu-expiry-hours 2) ;; cache menu N hours
|
||||||
(setq howm-menu-file "00000000000000.txt") ;; don't *search*
|
(setq howm-menu-file "00000000000000.txt") ;; don't *search*
|
||||||
|
|
||||||
(message "HOWM loaded"))
|
(message "HOWM loaded")))
|
||||||
|
|
||||||
(message "W.H.O.M.P. Note Taking packages loaded")
|
(message "W.H.O.M.P. Note Taking packages loaded")
|
||||||
(provide 'whomp-notes)
|
(provide 'whomp-notes)
|
||||||
|
Loading…
Reference in New Issue
Block a user