Author: "Simple notes with an efficient file-naming scheme"
Go to file
Marco Baringer 6ba209704d
Fix file-prompt crash when denote-directory contains files like __.js
Using denote in a directory that includes files matching '*/__.js'
breaks with "Wrong type argument: stringp, nil" on the file prompt.
lodash ships such files in node_modules, so accidentally pointing
denote at a lodash checkout (or having one under denote-directory)
triggers the error.

These files pass denote-file-has-denoted-filename-p because the empty
keywords section matches denote-keywords-regexp, but they have no
identifier, so denote-file-prompt--format-identifier passed nil to
propertize during affixation. Return nil in that case;
denote-file-prompt-affixate already substitutes "" for a nil prefix.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 16:17:47 +02:00
tests Use "Protesilaos" instead of "Protesilaos Stavrou" 2026-04-24 13:26:01 +03:00
.dir-locals.el Add .dir-locals to disable tabs in the code 2022-07-04 09:34:24 +03:00
.gitignore Expand gitignore 2022-06-08 19:40:19 +03:00
CHANGELOG.org Update to Denote version 4.2.0 2026-05-20 15:41:08 +03:00
COPYING Use "Protesilaos" instead of "Protesilaos Stavrou" 2026-04-24 13:26:01 +03:00
denote.el Fix file-prompt crash when denote-directory contains files like __.js 2026-05-23 16:17:47 +02:00
doclicense.texi Add missing doclicense.texi 2022-06-19 20:03:13 +03:00
README.md Add link to "Getting started" section of the manual in the README.md 2025-09-26 08:27:54 +03:00
README.org Update to Denote version 4.2.0 2026-05-20 15:41:08 +03:00

denote: Simple notes with an efficient file-naming scheme

New to Denote? Start reading this from the manual: https://protesilaos.com/emacs/denote#h:c54bedb4-5377-4dbd-853c-5870ace6eb33.


Denote is a simple note-taking tool for Emacs. It is based on the idea that notes should follow a predictable and descriptive file-naming scheme. The file name must offer a clear indication of what the note is about, without reference to any other metadata. Denote basically streamlines the creation of such files while providing facilities to link between them.

Denote's file-naming scheme is not limited to "notes". It can be used for all types of file, including those that are not editable in Emacs, such as videos. Naming files in a consistent way makes their filtering and retrieval considerably easier. Denote provides relevant facilities to rename files, regardless of file type.