* lisp/ses.el (ses-jump): Make symbol input completing against list of
named cells.
(defun ses-jump (sym)
"Move point to cell SYM."
- (interactive "SJump to cell: ")
+ (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 "")
+ (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*)