Function: kcell-view:absolute-reference

kcell-view:absolute-reference is a byte-compiled function defined in kview.el.

Signature

(kcell-view:absolute-reference &optional POS)

Documentation

Return a klink to kcell at optional POS or point; return nil if not in a kcell.

The reference is a string of the form, "<kcell-file, cell-ref>" where cell-ref is as described in the documentation for kcell:ref-to-id. Kcell-file is an absolute path to the current Koutline file.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kview.el
(defun kcell-view:absolute-reference (&optional pos)
  "Return a klink to kcell at optional POS or point; return nil if not in a kcell.
The reference is a string of the form, \"<kcell-file, cell-ref>\"
where cell-ref is as described in the documentation for
`kcell:ref-to-id'.  Kcell-file is an absolute path to the current
Koutline file."
  (when (derived-mode-p 'kotl-mode)
    (klink:set-yank-handler
     (format "<%s, %s=%s>" (hypb:buffer-file-name)
	     (kcell-view:label pos) (kcell-view:idstamp pos)))))