Function: denote-rename-file-identifier

denote-rename-file-identifier is an interactive and byte-compiled function defined in denote.el.

Signature

(denote-rename-file-identifier)

Documentation

Convenience command to change the identifier of a file.

Like denote-rename-file, but prompts only for the identifier.

Modify an identifier in one go. Do this by prepopulating the minibuffer prompt with the existing identifier. The user can then modify it accordingly. An empty input means to remove the identifier altogether.

An identifier that is already used in links cannot be modified, otherwise all links will break.

Please check the documentation of denote-rename-file with regard to how a completion User Interface may accept an empty input.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-rename-file-identifier ()
  "Convenience command to change the identifier of a file.
Like `denote-rename-file', but prompts only for the identifier.

Modify an identifier in one go.  Do this by prepopulating the
minibuffer prompt with the existing identifier.  The user can then modify
it accordingly.  An empty input means to remove the identifier
altogether.

An identifier that is already used in links cannot be modified,
otherwise all links will break.

Please check the documentation of `denote-rename-file' with regard to
how a completion User Interface may accept an empty input."
  (declare (interactive-only t))
  (interactive)
  (let ((denote-prompts '(identifier)))
    (call-interactively #'denote-rename-file)))