branch: externals/denote commit d83c166c0d1ff493df5a4233d110686ed6f15a77 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Fix regexp for keywords Regression was caused by commit 7cba33e. Thanks to svnsbck for reporting the problem in issue 9 over at the GitHub mirror: <https://github.com/protesilaos/denote/issues/9>. --- README.org | 2 +- denote.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 9122bd32bd..d11c7ef5c4 100644 --- a/README.org +++ b/README.org @@ -737,7 +737,7 @@ Denote is meant to be a collective effort. Every bit of help matters. + Contributions to code or the manual :: Jack Baty, Kaushal Modi. -+ Ideas and/or user feedback :: Kaushal Modi, Ypot. ++ Ideas and/or user feedback :: Kaushal Modi, Ypot, svnsbck. * GNU Free Documentation License :PROPERTIES: diff --git a/denote.el b/denote.el index f95a780e80..19c8fe33ff 100644 --- a/denote.el +++ b/denote.el @@ -170,7 +170,7 @@ is suspended: we use whatever the user wants." "Regular expression to match file names from `denote'.") (defconst denote--keyword-regexp - (concat denote--file-title-regexp "\\([0-9A-Za-z_]*\\)\\(\\.?.*\\)") + (concat denote--file-title-regexp "\\([0-9A-Za-z_-]*\\)\\(\\.?.*\\)") "Regular expression to match `denote-keywords'.") (defconst denote--punctuation-regexp "[][{}!@#$%^&*()_=+'\"?,.\|;:~`‘’“”]*"