[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 12a77a382e 3/3: WRONG BRANCH! Revert "Define WOR
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 12a77a382e 3/3: WRONG BRANCH! Revert "Define WORK-IN-PROGRESS file type with Obsidian-style front matter" |
Date: |
Wed, 20 Nov 2024 06:57:54 -0500 (EST) |
branch: externals/denote
commit 12a77a382e42de4e22cf2fc5eaa038f86ea40731
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
WRONG BRANCH! Revert "Define WORK-IN-PROGRESS file type with Obsidian-style
front matter"
This reverts commit 2efd133a295f316a155c65c16643cd3612b1f73a.
I wanted to push this to a branch. Reverting it on main.
---
denote-md-extras.el | 32 --------------------------------
1 file changed, 32 deletions(-)
diff --git a/denote-md-extras.el b/denote-md-extras.el
index f522515ae9..c1e572537b 100644
--- a/denote-md-extras.el
+++ b/denote-md-extras.el
@@ -29,38 +29,6 @@
(require 'denote)
-;;;; Register a new file type
-
-(defvar denote-md-extras-obsidian-format "# %s\n\n"
- "Format of Obsidian-style Markdown front matter.")
-
-;; FIXME 2024-11-20: This works for file creation but is broken for
-;; other common operations.
-(add-to-list
- 'denote-file-types
- '(markdown-obsidian
- :extension ".md"
- :front-matter denote-md-extras-obsidian-format
- :title-key-regexp "^# "
- :title-value-function identity
- :title-value-reverse-function identity
- :keywords-key-regexp ""
- :keywords-value-function identity
- :keywords-value-reverse-function identity
- :signature-key-regexp ""
- :signature-value-function identity
- :signature-value-reverse-function identity
- :identifier-key-regexp ""
- :identifier-value-function identity
- :identifier-value-reverse-function identity
- :date-key-regexp ""
- :date-value-function identity
- :date-value-reverse-function identity
- :link denote-md-link-format
- :link-in-context-regexp denote-md-link-in-context-regexp))
-
-;;;; Convert links
-
(defun denote-md-extras--get-regexp (type)
"Return regular expression to match link TYPE.
TYPE is a symbol among `denote', `file', `obsidian', and `reverse-obsidian'."