branch: externals/denote
commit 2a6bbd5edeadd612366321887fc1432a4fa4725c
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Remove the backlinks from the default denote-rename-buffer-format
    
    This is because the way we handle the check for backlinks is to go
    through ALL files. Given the way the denote-rename-buffer-mode works,
    we do this EACH TIME we open or create a Denote file. This is inefficient.
    
    The goal is to improve how we handle the retrieval of backlinks.
    Though independent of that project, I think a simpler name for buffers
    is a better default. Users who need to see an indicator for backlinks
    can opt in to it (for example, users may not even be using direct
    links, as they rely on query links instead).
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index e0b2d5a699..3b81edbabe 100644
--- a/denote.el
+++ b/denote.el
@@ -6959,7 +6959,7 @@ option `denote-templates'."
   :package-version '(denote . "3.1.0")
   :group 'denote-rename-buffer)
 
-(defcustom denote-rename-buffer-format "%D%b"
+(defcustom denote-rename-buffer-format "%D"
   "The format of the buffer name `denote-rename-buffer' should use.
 This also covers the `denote-rename-buffer-mode'.  The resulting buffer
 name will also include the `denote-buffer-name-prefix'.

Reply via email to