Function: org-table-beginning-of-field

org-table-beginning-of-field is an interactive and byte-compiled function defined in org-table.el.gz.

Signature

(org-table-beginning-of-field &optional N)

Documentation

Move to the beginning of the current table field.

If already at or before the beginning, move to the beginning of the previous field. With numeric argument N, move N-1 fields backward first.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-table.el.gz
(defun org-table-beginning-of-field (&optional n)
  "Move to the beginning of the current table field.
If already at or before the beginning, move to the beginning of the
previous field.
With numeric argument N, move N-1 fields backward first."
  (interactive "p")
  (let ((pos (point)))
    (while (> n 1)
      (setq n (1- n))
      (org-table-previous-field))
    (if (not (re-search-backward "|" (point-at-bol 0) t))
	(user-error "No more table fields before the current")
      (goto-char (match-end 0))
      (and (looking-at " ") (forward-char 1)))
    (when (>= (point) pos) (org-table-beginning-of-field 2))))