Function: kotl-mode:get-cell-attribute
kotl-mode:get-cell-attribute is an interactive and byte-compiled
function defined in kotl-mode.el.
Signature
(kotl-mode:get-cell-attribute ATTRIBUTE &optional POS TOP-CELL-FLAG)
Documentation
Return ATTRIBUTE's value for the current cell or the cell at optional POS.
With optional prefix arg TOP-CELL-FLAG non-nil, return the hidden top cell's ATTRIBUTE and ignore any value of POS.
When called interactively, it displays the value in the minibuffer.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:get-cell-attribute (attribute &optional pos top-cell-flag)
"Return ATTRIBUTE's value for the current cell or the cell at optional POS.
With optional prefix arg TOP-CELL-FLAG non-nil, return the hidden top cell's
ATTRIBUTE and ignore any value of POS.
When called interactively, it displays the value in the minibuffer."
(interactive "SCurrent cell attribute to get: ")
(let ((value
(if (eq attribute 'idstamp)
(if top-cell-flag
0
(kproperty:get (kcell-view:plist-point pos) attribute))
(if top-cell-flag
(kcell:get-attr (kview:top-cell kotl-kview) attribute)
(kcell-view:get-attr attribute pos)))))
(when (called-interactively-p 'interactive)
(message "Attribute \"%s\" = `%s' in cell <%s>."
attribute value (if top-cell-flag
"0"
(kcell-view:label pos))))
value))