Function: ses-jump

ses-jump is an interactive and byte-compiled function defined in ses.el.gz.

Signature

(ses-jump SYM)

Documentation

Move point to cell SYM.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/ses.el.gz
;;----------------------------------------------------------------------------
;; Redisplay and recalculation
;;----------------------------------------------------------------------------

(defun ses-jump (sym)
  "Move point to cell SYM."
  (interactive (let* (names
		      (s (completing-read
			  "Jump to cell: "
			  (and ses--named-cell-hashmap
			       (progn (maphash (lambda (key _val)
                                                 (push (symbol-name key) names))
					       ses--named-cell-hashmap)
				      names)))))
		 (if (string= s "")
		     (user-error "Invalid cell name")
		   (list (intern s)))))
  (let ((rowcol (ses-sym-rowcol sym)))
    (or rowcol (error "Invalid cell name"))
    (if (eq (symbol-value sym) '*skip*)
	(error "Cell is covered by preceding cell"))
    (ses-goto-print (car rowcol) (cdr rowcol))))