Function: actypes::link-to-file-line-and-column
actypes::link-to-file-line-and-column is an interactive and
byte-compiled function defined in hactypes.el.
Signature
(actypes::link-to-file-line-and-column PATH LINE-NUM COL-NUM)
Documentation
Display a file given by PATH scrolled to LINE-NUM with point at COL-NUM.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hactypes.el
(defact link-to-file-line-and-column (path line-num col-num)
"Display a file given by PATH scrolled to LINE-NUM with point at COL-NUM."
(interactive "fPath to link to: \nnDisplay at line number: \nnand column number: ")
;; Remove any double quotes and whitespace at the start and end of
;; the path that interactive use may have introduced.
(setq path (hpath:trim path))
(when (condition-case ()
(setq path (smart-tags-file-path path))
(error t))
(if (and (stringp path) (not (file-name-absolute-p path))
(compilation-buffer-p (current-buffer)))
(progn (compile-goto-error)
(move-to-column
(if (string-match "\\.kotl?\\(\\'\\|#\\)" path)
(+ (kcell-view:indent) col-num)
col-num)))
(hpath:find-line path line-num col-num))))