Function: ses-goto-print
ses-goto-print is a byte-compiled function defined in ses.el.gz.
Signature
(ses-goto-print ROW COL)
Documentation
Move point to print area for cell (ROW,COL).
Source Code
;; Defined in /usr/src/emacs/lisp/ses.el.gz
;; We turn off point-motion-hooks and explicitly position the cursor, in case
;; the intangible properties have gotten screwed up (e.g., when ses-goto-print
;; is called during a recursive ses-print-cell).
(defun ses-goto-print (row col)
"Move point to print area for cell (ROW,COL)."
(let ((n 0))
(goto-char (point-min))
(forward-line row)
;; Calculate column position.
(dotimes (c col)
(setq n (+ n (ses-col-width c) 1)))
;; Move to the position.
(and (> n (move-to-column n))
(eolp)
;; Move point to the bol of next line (for TAB at the last cell).
(forward-char))))