[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 929157d424 089/355: Stop using link abbreviation
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 929157d424 089/355: Stop using link abbreviation |
Date: |
Sun, 26 Jun 2022 23:58:03 -0400 (EDT) |
branch: externals/denote
commit 929157d4242719e5ba4b7aa8fe9fee58ae4e06a7
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Stop using link abbreviation
Links will now always be relative to the current directory and use the
standard "file:" prefix.
This means that other packages, like org-transclusion, will work with
our notes without further tweaks.
---
denote-link.el | 6 +++---
denote.el | 1 -
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/denote-link.el b/denote-link.el
index a2dacded44..24b2dff1a0 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -62,13 +62,13 @@ Both are supplied by `denote-link'."
(defconst denote-link--identifier-regexp
"^\\(#\\+identifier:\\)[\s\t]+\\(.*\\)"
"Regular expression for filename key and value.")
-(defconst denote-link--link-format "[[denote:%s][%s (%s)]]"
+(defconst denote-link--link-format "[[file:%s][%s (%s)]]"
"Format of Org link to note.")
-(defconst denote-link--backlink-format "[[denote:%s][backlink: %s (%s)]]"
+(defconst denote-link--backlink-format "[[file:%s][backlink: %s (%s)]]"
"Format of Org backlink to note.")
-(defconst denote-link--backlink-regexp "\\[\\[denote:\\(.*?\\)\\]\\[backlink:
\\(.*?\\) (\\(.*?\\))\\]\\]"
+(defconst denote-link--backlink-regexp "\\[\\[file:\\(.*?\\)\\]\\[backlink:
\\(.*?\\) (\\(.*?\\))\\]\\]"
"Regexp of `denote-link--backlink-format'.")
(defun denote-link--retrieve-value (note regexp)
diff --git a/denote.el b/denote.el
index aed34ed8d5..639715639b 100644
--- a/denote.el
+++ b/denote.el
@@ -300,7 +300,6 @@ TITLE, DATE, KEYWORDS, FILENAME, ID are all strings which
are
"#+identifier: " id "\n"
"#+filename: " (string-remove-prefix denote-directory filename)
"\n"
"#+path: " filename "\n"
- "#+link: " "denote " (denote-directory) "%s"
"\n\n")))
(defun denote--path (title keywords)
- [elpa] externals/denote e840648623 098/355: Fix typo in the manual, (continued)
- [elpa] externals/denote e840648623 098/355: Fix typo in the manual, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 9f192263db 092/355: Remove file path from front matter; improve links, ELPA Syncer, 2022/06/27
- [elpa] externals/denote db9584f51d 093/355: BREAKING Change date/identifier pattern, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 3e2b560548 099/355: Elaborate on the Overview of Denote, ELPA Syncer, 2022/06/27
- [elpa] externals/denote cfe6e98e7b 090/355: Stop recording the file path in the front matter, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 2bc5df6011 103/355: denote-file-type: 'markdown-yaml', not 'markdown', ELPA Syncer, 2022/06/27
- [elpa] externals/denote d83c166c0d 125/355: Fix regexp for keywords, ELPA Syncer, 2022/06/27
- [elpa] externals/denote ebdacb3fea 073/355: Update doc string of denote-directory function, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 91f4780779 083/355: Merge pull request #3 from kaushalmodi/add-gitignore, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 17ad20f356 097/355: Document section on front matter, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 929157d424 089/355: Stop using link abbreviation,
ELPA Syncer <=
- [elpa] externals/denote a809e9ea1d 087/355: Clarify active development; things might break, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 3f9bfcb74e 101/355: Name the FSF as the copyright holder, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 299b8970ee 095/355: Add support for notes in Markdown and Plain Text, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 112a12e6e5 130/355: Remove duplicate word from face names, ELPA Syncer, 2022/06/27
- [elpa] externals/denote bca23b3e3d 115/355: Clarify how front matter variables are used, ELPA Syncer, 2022/06/27
- [elpa] externals/denote f91d2472c3 128/355: Make the field delimiter face a bit more subtle, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 8a35382067 126/355: Rename internal variable for clarity, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 308322afab 108/355: Fix markdown-toml identifier value, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 11be1d6b40 123/355: Change "tml" to "toml" in denote-toml-front-matter, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 6000313eec 118/355: Enforce sluggification of keywords; document it, ELPA Syncer, 2022/06/27