emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 979bf352d6 208/355: Clarify requirements for goo


From: ELPA Syncer
Subject: [elpa] externals/denote 979bf352d6 208/355: Clarify requirements for good front matter value
Date: Sun, 26 Jun 2022 23:58:24 -0400 (EDT)

branch: externals/denote
commit 979bf352d60649ba9a6527763cda30cb91cb27c0
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Clarify requirements for good front matter value
---
 denote.el | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index 8d898ee8d9..ca992a3136 100644
--- a/denote.el
+++ b/denote.el
@@ -458,9 +458,18 @@ is specific to this variable: it expect a delimiter such as
 The order of the arguments is TITLE, DATE, KEYWORDS, ID.  If you
 are an avdanced user who wants to edit this variable to affect
 how front matter is produced, consider using something like %2$s
-to control where Nth argument is placed.")
+to control where Nth argument is placed.
+
+Make sure to
+
+1. Not use empty lines inside the front matter block.
+
+2. Insert at least one empty line after the front matter block
+and do not use any empty line before it.
+
+These help ensure consistency and might prove useful if we need
+to operate on the front matter as a whole.")
 
-(defun denote--file-meta-header (title date keywords id)
   "Front matter for new notes.
 
 TITLE, DATE, KEYWORDS, FILENAME, ID are all strings which are



reply via email to

[Prev in Thread] Current Thread [Next in Thread]