[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote e1c18f5f57 136/355: Remove potentially bad advic
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote e1c18f5f57 136/355: Remove potentially bad advice from the manual |
Date: |
Sun, 26 Jun 2022 23:58:14 -0400 (EDT) |
branch: externals/denote
commit e1c18f5f575dbdcd0dbb23847fe2bffc7a9a9884
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Remove potentially bad advice from the manual
Thanks to Kaushal Modi for the feedback in issue 12 over at the GitHub
mirror: <https://github.com/protesilaos/denote/issues/12>.
---
README.org | 35 +----------------------------------
1 file changed, 1 insertion(+), 34 deletions(-)
diff --git a/README.org b/README.org
index 02719d852b..c0ba460c00 100644
--- a/README.org
+++ b/README.org
@@ -619,40 +619,7 @@ notes in =~/blog/=
([[#h:337f9cf0-9f66-45af-b73f-f6370472fb51][Fontification in
#+end_src
Given Denote's composable code, you can tweak the output however you
-like ([[#h:f69371d5-1843-493d-9ff5-c1ab3b43024e][Tweaking the front matter]]).
Consider the case where the
-alternative notes in the blog have no use for the identifier field
-inside the front matter. Let's omit it! (It will still be part of the
-file name.)
-
-#+begin_src emacs-lisp
-(setq denote-file-type nil)
-(setq denote-directory (expand-file-name "~/Documents/notes/"))
-
-;; Excerpt of the default:
-(defvar denote-toml-front-matter
- "+++
-title = %S
-date = %s
-tags = %s
-identifier = %S
-+++\n\n")
-
-;; Adding the N$ to show the order they are provided internally
-;; (explained in `denote-org-front-matter'),
-(defvar my-denote-toml-front-matter
- "+++
-title = %1$S
-date = %2$s
-tags = %3$s
-+++\n\n")
-
-(defun my-denote-markdown-toml ()
- (interactive)
- (let ((denote-file-type 'markdown-toml)
- (denote-directory "~/blog/")
- (denote-toml-front-matter my-denote-toml-front-matter))
- (call-interactively #'denote)))
-#+end_src
+like ([[#h:f69371d5-1843-493d-9ff5-c1ab3b43024e][Tweaking the front matter]]).
Have more ideas? Something does not work quite right? Areas you wish
were more abstract in the code? Please participate in the development
- [elpa] externals/denote 0519be74a9 121/355: Add PROOF-OF-CONCEPT denote-link-backlinks, (continued)
- [elpa] externals/denote 0519be74a9 121/355: Add PROOF-OF-CONCEPT denote-link-backlinks, ELPA Syncer, 2022/06/27
- [elpa] externals/denote a107fbf5d7 120/355: Make minor tweaks in the manual, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 254a6cd0f3 112/355: Update date function; enforce RFC3339 when needed, ELPA Syncer, 2022/06/27
- [elpa] externals/denote f1f9f757ef 109/355: Include markdown-toml sample in the manual, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 24371b4c86 129/355: fix: Update the identifier regexp to recognize TOML identifier too, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 0cb5c9f06e 122/355: Simplify attribution comment to ox-hugo, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 79fbe2493b 135/355: Merge pull request #11 from kaushalmodi/update-identifier-regexp, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 808a2c29f9 140/355: Acknowledge Peter Povinec for file-naming refinements, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 083b3bfc89 144/355: Use better example for file renaming, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 561553db8e 132/355: fix: Use the correct match subgroup in `denote-link--find-value`, ELPA Syncer, 2022/06/27
- [elpa] externals/denote e1c18f5f57 136/355: Remove potentially bad advice from the manual,
ELPA Syncer <=
- [elpa] externals/denote 7b719e6274 152/355: Add user option to disable multi-word keywords, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 25fa79e8d9 146/355: Refine denote-retrieve internals, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 0165b00ddb 145/355: Use only denote-retrieve functions in denote-link, ELPA Syncer, 2022/06/27
- [elpa] externals/denote f57e9c5c9f 165/355: Change internal variable symbols for consistency, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 8565d36e7d 161/355: Add note in the manual about journal/diary, ELPA Syncer, 2022/06/27
- [elpa] externals/denote be58aec5db 163/355: Include journal sample that prompts for TITLE, ELPA Syncer, 2022/06/27
- [elpa] externals/denote d66312e517 172/355: Fix regression in file extension caused by f57e9c5, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 553c10a9cc 178/355: Tweak doc string, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 8e6e2736dc 174/355: Add generic denote-link-find-file, ELPA Syncer, 2022/06/27
- [elpa] externals/denote b54dd3404d 186/355: Tweak doc string, ELPA Syncer, 2022/06/27