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

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

[elpa] externals/denote 743748b7bc 1/2: added paragraph explaining how t


From: ELPA Syncer
Subject: [elpa] externals/denote 743748b7bc 1/2: added paragraph explaining how to maintain links in silos
Date: Mon, 19 Dec 2022 21:57:30 -0500 (EST)

branch: externals/denote
commit 743748b7bc6e85b67af51d5f8e62da2145f57909
Author: Matthew Lemon <y@yulqen.org>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    added paragraph explaining how to maintain links in silos
    
    This update offers the user a means of maintaining the ability to
    create denote links in files within sub-directories of a silo, by
    suggesting replacing default-directory with an absolute path.
---
 README.org | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/README.org b/README.org
index af513d0e2c..bae448c128 100644
--- a/README.org
+++ b/README.org
@@ -634,6 +634,24 @@ modes, we can do something like this:
               (org-hide-leading-stars . t))))
 #+end_src
 
+IMPORTANT If your silo contains sub-directories of notes, you
+should replace ~default-directory~ in the above examples with an
+absolute path to your silo directory, otherwise links from files
+within the sub-directories cannot be made to files in the parent
+directory. For example:
+
+#+begin_src emacs-lisp
+;;; Directory Local Variables.  For more information evaluate:
+;;;
+;;;     (info "(emacs) Directory Variables")
+  ((nil . ((denote-directory . "~/my-silo")
+           (denote-known-keywords . ("food" "drink"))
+           (denote-infer-keywords . nil)))
+   (org-mode . ((org-hide-emphasis-markers . t)
+                (org-hide-macro-markers . t)
+                (org-hide-leading-stars . t))))
+#+end_src
+
 As not all user options have a "safe" local value, Emacs will ask the
 user to confirm their choice and to store it in the Custom code
 snippet that is normally appended to init file (or added to the file



reply via email to

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