Closed jeanphilippegg closed 7 months ago
Merged. Thank you!
For the name of the backlinks buffer, I wonder if we should have third condition:
For the name of the backlinks buffer, I wonder if we should have third condition:
1. Use title from the front matter. 2. Use title from the file name. 3. Use the identifier.
We previously used denote-retrieve-title-or-filename
which is almost what you suggest here. Maybe we could go back to using that and delete denote--backlinks-get-buffer-name
? The identifier should be visible in the file name if we reach 3.
From: Jean-Philippe Gagné Guay @.***> Date: Fri, 26 Apr 2024 21:43:02 -0700
For the name of the backlinks buffer, I wonder if we should have third condition:
1. Use title from the front matter. 2. Use title from the file name. 3. Use the identifier.
We previously used
denote-retrieve-title-or-filename
which is almost what you suggest here. Maybe we could go back to using that and deletedenote--backlinks-get-buffer-name
? The identifier should be visible in the file name if we reach 3.
I guess that would be fine too because the user probably wants to read the keywords and/or signature in the absence of a title.
-- Protesilaos Stavrou https://protesilaos.com
Two commits. Nothing major or breaking.
denote-retrieve-front-matter-title-value
instead of an aliasdenote-retrieve-filename-identifier
and compare id withstring=
instead ofstring-prefix-p
. This is more general and will be ready for when file name components are in a different order.