Variable: treemacs-bookmark-title-template
treemacs-bookmark-title-template is a customizable variable defined in
treemacs-customization.el.
Value
"Treemacs - ${project}: ${label}"
Documentation
Template for default bookmark titles.
The following replacements are available:
* ${project}: The label of the project.
* ${label}: Label of the current button.
* ${label:N} Label of the Nth parent.
If the parent does not exist, an empty string.
* ${label-path}: Label path of the button.
For example, "Project/directory/file.txt"
* ${label-path:N}: Last N components of the label path.
* ${file-path}: Absolute file-system path of the node.
If the node is a top-level extension node, this expands to an empty string.
If the node is a directory or or project extension, the path of its parent.
* ${file-path:N}: Last N components of the filesystem path.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-bookmark-title-template "Treemacs - ${project}: ${label}"
"Template for default bookmark titles.
The following replacements are available:
* ${project}: The label of the project.
* ${label}: Label of the current button.
* ${label:N} Label of the Nth parent.
If the parent does not exist, an empty string.
* ${label-path}: Label path of the button.
For example, \"Project/directory/file.txt\"
* ${label-path:N}: Last N components of the label path.
* ${file-path}: Absolute file-system path of the node.
If the node is a top-level extension node, this expands to an empty string.
If the node is a directory or or project extension, the path of its parent.
* ${file-path:N}: Last N components of the filesystem path."
:type 'string
:group 'treemacs)