chore(tazjin/emacs): Remove org-journal

I haven't used this much in the last months and it's causing issues
via some hook now, so bye bye.

Change-Id: If2b321887569b31c0ac7ad3fdd1b9c1d9f7b69f7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2344
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2021-01-10 16:17:49 +03:00 committed by tazjin
parent bf697b4b9d
commit c1cb4c260c
2 changed files with 0 additions and 24 deletions

View file

@ -121,29 +121,6 @@
:config (setq magit-repository-directories '(("/home/tazjin/projects" . 2) :config (setq magit-repository-directories '(("/home/tazjin/projects" . 2)
("/home/tazjin" . 1)))) ("/home/tazjin" . 1))))
(use-package org-journal
;; Always use my own key to encrypt files. There seems to be no
;; global way to set this, as `epa-file-encrypt-to' only has an
;; effect as a file-local variable (?!)
:hook ((org-journal-mode . (lambda ()
(setq-local epa-file-encrypt-to
"DCF34CFAC1AC44B87E26333136EE34814F6D294A"))))
:config
(setq org-journal-dir "/ssh:camden.tazj.in:/home/tazjin/journal"
org-journal-encrypt-journal t
org-journal-file-type 'weekly
org-journal-date-format "%A, %Y-%m-%d"
org-journal-file-format "%Y%m%d-weekly"
;; Saturday, because reasons.
org-journal-start-on-weekday 6)
;; org-journal doesn't actually enter its mode automatically if
;; encryption is used (I'm not sure why), so this teaches Emacs to
;; recognise the files.
(add-to-list 'auto-mode-alist '("[0-9]-weekly\\.gpg\\'" . org-journal-mode)))
(use-package org-ql) (use-package org-ql)
(use-package password-store) (use-package password-store)

View file

@ -73,7 +73,6 @@ let
nginx-mode nginx-mode
nix-mode nix-mode
notmuch # this comes from pkgs.third_party notmuch # this comes from pkgs.third_party
org-journal
org-ql org-ql
paredit paredit
password-store password-store