Function: array-move-to-cell
array-move-to-cell is a byte-compiled function defined in array.el.gz.
Signature
(array-move-to-cell A-ROW A-COLUMN)
Documentation
Move to array row A-ROW and array column A-COLUMN.
Leave point at the beginning of the field and return the new buffer column.
Source Code
;; Defined in /usr/src/emacs/lisp/array.el.gz
(defun array-move-to-cell (a-row a-column)
"Move to array row A-ROW and array column A-COLUMN.
Leave point at the beginning of the field and return the new buffer column."
(let ((goal-line (+ (* array-lines-per-row (1- a-row))
(if array-rows-numbered 1 0)
(floor (1- a-column) array-columns-per-line)))
(goal-column (* array-field-width (% (1- a-column) array-columns-per-line))))
(goto-char (point-min))
(forward-line goal-line)
(array-move-to-column-untabify goal-column)))