[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 479899d973 162/355: Clarify wording about journa
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 479899d973 162/355: Clarify wording about journal/diary extras |
Date: |
Sun, 26 Jun 2022 23:58:18 -0400 (EDT) |
branch: externals/denote
commit 479899d973fab692bb24939c8b90295228ffbfce
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Clarify wording about journal/diary extras
Thanks to svnsbck for the feedback in the discussion below the previous
commit on this topic (over at the GitHub mirror):
https://github.com/protesilaos/denote/commit/8565d36e7dc86391cb4a7b64f5c51037f1c23c0a
---
README.org | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/README.org b/README.org
index c6dd8a9551..be8c39c435 100644
--- a/README.org
+++ b/README.org
@@ -817,6 +817,28 @@ Sources for =tmr=:
+ GitLab: <https://gitlab.com/protesilaos/tmr>
+ Mailing list: <https://lists.sr.ht/~protesilaos/tmr>
+Finally, recall what we discussed elsewhere in the manual about changing
+the file type and target directory
([[#h:f34b172b-3440-446c-aec1-bf818d0aabfe][Notes in multiple file types]]).
You
+basically ~let~ bind the relevant variables. Such bindings are specific
+to the function: they do not affect anything outside of it, so you can
+keep the defaults for your regular notes and use something different for
+your journaling. For example, the following snippet is like the
+previous sample of writing a journal entry and setting a timer, but it
+also uses a plain text file type and adds the new note to the
+=~/Documents/journal/= directory:
+
+#+begin_src emacs-lisp
+(defun my-denote-journal-with-tmr-and-custom-type-and-dir ()
+ "Like `my-denote-journal-with-tmr' with custom type and directory."
+ (interactive)
+ (let ((denote-file-type 'text) ; it supports other file types as well: read
its doc string
+ (denote-directory "~/Documents/journal/"))
+ (denote
+ (format-time-string "%A %e %B %Y")
+ "journal")
+ (tmr 10 "Practice writing in my journal")))
+#+end_src
+
* Extending Denote
:PROPERTIES:
:CUSTOM_ID: h:8ed2bb6f-b5be-4711-82e9-8bee5bb06ece
- [elpa] externals/denote f55dee06b1 143/355: Add documentation about our minibuffer histories, (continued)
- [elpa] externals/denote f55dee06b1 143/355: Add documentation about our minibuffer histories, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 97e8c30bcf 153/355: Rewrite the package Overview, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 171b873cb5 142/355: Require denote-retrieve (0e83bee) in denote-link, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 6a286c97f8 154/355: Rephrase statement for clarity, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 0e83bee5b7 141/355: Add denote-retrieve for internal purposes, ELPA Syncer, 2022/06/27
- [elpa] externals/denote b42f68c8e8 156/355: Add denote-type command, ELPA Syncer, 2022/06/27
- [elpa] externals/denote e841a51ca7 155/355: Fix typo, ELPA Syncer, 2022/06/27
- [elpa] externals/denote bc93a8ecda 137/355: Update the manual on the matter of backlinks, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 45bea4166a 158/355: Update Acknowledgements, ELPA Syncer, 2022/06/27
- [elpa] externals/denote d4cbb974a5 157/355: Rewrite node on multi file types (due to b42f68c), ELPA Syncer, 2022/06/27
- [elpa] externals/denote 479899d973 162/355: Clarify wording about journal/diary extras,
ELPA Syncer <=
- [elpa] externals/denote e9bc790675 167/355: Clarify that auto-backlinks may be removed, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 4bc7aa4dfd 166/355: Remove outdated doc string from private function, ELPA Syncer, 2022/06/27
- [elpa] externals/denote d9f439e47f 173/355: Add helper function to prepare completion table, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 91090d42c6 180/355: Fix regexp match for backlinks, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 768372281f 177/355: Fix formatting typo, ELPA Syncer, 2022/06/27
- [elpa] externals/denote a47f32ec71 184/355: Implement new backlink facility, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 7674c6f854 170/355: Retrieve identifier from filename alone, ELPA Syncer, 2022/06/27
- [elpa] externals/denote e783662363 159/355: Tweak sample configuration, ELPA Syncer, 2022/06/27
- [elpa] externals/denote fc9f909061 179/355: Change denote--id to denote--id-format, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 4a5ba1603a 190/355: Document how to write metanotes, ELPA Syncer, 2022/06/27