Function: majutsu-row-copy-entry-field

majutsu-row-copy-entry-field is an interactive and natively compiled function defined in majutsu-row.el.

Signature

(majutsu-row-copy-entry-field)

Documentation

Copy a canonical field from the current structured entry.

Unlike majutsu-row-copy-field, this can target fields that are parsed and stored on the entry but not currently visible. When called interactively, prompts with completion over the current entry's available canonical fields.

When the region is active, copy it literally using copy-region-as-kill.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-row.el
;;;###autoload
(defun majutsu-row-copy-entry-field ()
  "Copy a canonical field from the current structured entry.

Unlike `majutsu-row-copy-field', this can target fields that are parsed and
stored on the entry but not currently visible.  When called interactively,
prompts with completion over the current entry's available canonical fields.

When the region is active, copy it literally using `copy-region-as-kill'."
  (interactive)
  (majutsu-row--copy-region-or
   (lambda ()
     (let* ((entry (majutsu-row-current-entry))
            (compiled (majutsu-row-current-compiled))
            (field (majutsu-row-read-entry-field entry compiled)))
       (majutsu-row-entry-field-value-to-kill entry field)))))