Function: org-id-goto

org-id-goto is an autoloaded, interactive and byte-compiled function defined in org-id.el.gz.

Signature

(org-id-goto ID)

Documentation

Switch to the buffer containing the entry with id ID.

Move the cursor to that entry in that buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-id.el.gz
;;;###autoload
(defun org-id-goto (id)
  "Switch to the buffer containing the entry with id ID.
Move the cursor to that entry in that buffer."
  (interactive "sID: ")
  (let ((m (org-id-find id 'marker)))
    (unless m
      (error "Cannot find entry with ID \"%s\"" id))
    (pop-to-buffer-same-window (marker-buffer m))
    (goto-char m)
    (move-marker m nil)
    (org-fold-show-context)))