summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el18
1 files changed, 12 insertions, 6 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index c0a24fad..5edb04b4 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -4324,13 +4324,19 @@ We don't use the FILES parameter in the entry for \"d\" in
howm-template
'(;; If it is to have a title, add it after writing some content.
- "%date %file\n\n%cursor"
- ;; Literature note -- write a title right away.
+ ;; We have point start before %file as we will often want to delete
+ ;; the link or replace its target.
+ "%date%cursor %file\n\n"
+
+ ;; Literature note, will write a title before any content. We make
+ ;; the title a come-from link such that the literature note appears
+ ;; early in the list of results if we follow a goto link with the same
+ ;; title as the literature note.
;;
- ;; We make the title a come-from link such that the literature note
- ;; appears early in the list of results if we follow a goto link with
- ;; the same title as the literature note.
- "#+title: <<< %title%cursor\n%date %file\n\n"))
+ ;; Have point start before %file, not ready to insert a title, for
+ ;; consistency with the other template. (However, we will indeed
+ ;; often replace the link target with a URL, PDF filename etc..)
+ "#+title: <<< %title\n%date%cursor %file\n\n"))
;; Default sorting for certain views.
(defun spw/howm-list-all (&rest ignore)