[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 88e64be2cb 176/355: Fix plain text link format
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 88e64be2cb 176/355: Fix plain text link format |
Date: |
Sun, 26 Jun 2022 23:58:21 -0400 (EDT) |
branch: externals/denote
commit 88e64be2cb8e8e9187af5d1be597fa0c3187e1fc
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Fix plain text link format
Sorry, this was my original intent. I got it mixed up with Org...
---
README.org | 2 +-
denote-link.el | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
index e2fd8d74a5..65f9c1a6ea 100644
--- a/README.org
+++ b/README.org
@@ -557,7 +557,7 @@ the given entry, per ~denote-file-type~
([[#h:4e9c7512-84dc-4dfb-9fa9-e15d51178e
+ Org: =[[denote:IDENTIFIER][TITLE]]=
+ Markdown: =[TITLE](denote:IDENTIFIER)=
-+ Plain text: =[[IDENTIFIER] [TITLE]]=
++ Plain text: =[[TITLE] [IDENTIFIER]]=
The special specifier =denote:= is experimental. The idea is to reserve
for possible integration with Org/Markdown, though we might switch to
diff --git a/denote-link.el b/denote-link.el
index 4059556053..f2edb75e4b 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -68,7 +68,7 @@
(defconst denote-link--format-markdown "[%2$s](denote:%1$s)"
"Format of Markdown link to note.")
-(defconst denote-link--format-text "[[%s] [%s]]"
+(defconst denote-link--format-text "[[%$2s] [%$1s]]"
"Format of plain text link to note.")
(defconst denote-link--regexp-org
@@ -78,7 +78,7 @@
(concat "\\[.*?]" "(denote:" "\\(?1:" denote--id-regexp "\\)" ")"))
(defconst denote-link--regexp-text
- (concat "\\[\\[" "\\(?1:" denote--id-regexp "\\)" "]" "\s?" "\\[.*?]]"))
+ (concat "\\[\\[" ".*?]" "\s?" "\\[" "\\(?1:" denote--id-regexp "\\)" "]]"))
(defun denote-link--file-type-format (file)
"Return link format based on FILE format."
- [elpa] externals/denote 1a8b57a9a8 104/355: Fix const in denote-file-type (extends 2bc5df6), (continued)
- [elpa] externals/denote 1a8b57a9a8 104/355: Fix const in denote-file-type (extends 2bc5df6), ELPA Syncer, 2022/06/26
- [elpa] externals/denote c225201c49 124/355: Use appropriate name for internal variable, ELPA Syncer, 2022/06/26
- [elpa] externals/denote a70b4cd32d 114/355: Refine backlinks' heading per file type, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 7cba33e08e 119/355: LAST BREAKING CHANGE to file-naming scheme, ELPA Syncer, 2022/06/26
- [elpa] externals/denote c5a5748594 116/355: Abstract plain text front matter delimiter, ELPA Syncer, 2022/06/26
- [elpa] externals/denote e394057985 134/355: Document how to store multiple types of notes, ELPA Syncer, 2022/06/26
- [elpa] externals/denote d90695213c 151/355: Add minor clarifications in the manual, ELPA Syncer, 2022/06/26
- [elpa] externals/denote ce41b421ef 147/355: Update denote-retrieve symbols in denote-link, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 0e75e46b32 138/355: Improve denote-dired-rename-file, ELPA Syncer, 2022/06/26
- [elpa] externals/denote cdb7f554f2 160/355: Remove extra parenthesis from sample configuration, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 88e64be2cb 176/355: Fix plain text link format,
ELPA Syncer <=
- [elpa] externals/denote 7fab21926d 183/355: Process 'find' output in denote-retrieve, ELPA Syncer, 2022/06/26
- [elpa] externals/denote ecc7922a77 169/355: BREAKING remove support for hardcoded backlinks, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 49a2932d42 189/355: Implement denote-link-add-links, ELPA Syncer, 2022/06/26
- [elpa] externals/denote a7a0bf0255 207/355: Tweak doc string, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 2338ee4698 181/355: Refine how identifier is retrieved from file names, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 1a124c2be6 204/355: Make 'denote:' link follow links like 'file:', ELPA Syncer, 2022/06/26
- [elpa] externals/denote a76b7fb0b8 193/355: Make plain text links the same as Org's, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 683180bcfc 206/355: Remove superfluous function and var, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 2e56f06381 201/355: Install aliases for certain commands, ELPA Syncer, 2022/06/26
- [elpa] externals/denote f8b2d44508 203/355: Depend on Emacs 27.2, not 27.1, ELPA Syncer, 2022/06/26