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> |
||
|---|---|---|
| tests | ||
| .dir-locals.el | ||
| .gitignore | ||
| CHANGELOG.org | ||
| COPYING | ||
| denote.el | ||
| doclicense.texi | ||
| README.md | ||
| README.org | ||
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.
- Package name (GNU ELPA):
denote - Official manual: https://protesilaos.com/emacs/denote
- Change log: https://protesilaos.com/emacs/denote-changelog
- Git repositories:
- Video demo: https://protesilaos.com/codelog/2022-06-18-denote-demo/
- Backronyms: Denote Everything Neatly; Omit The Excesses. Don't Ever Note Only The Epiphenomenal.