Function: bib-find-label
bib-find-label is a byte-compiled function defined in bib-cite.el.
Signature
(bib-find-label)
Documentation
Move to a label, or the first occurance of a ref.
The label or ref name is extracted from the text under the cursor. If nothing suitable is found, the user is prompted. The first prompt is for a label. If you answer with an empty string, a second prompt for a ref will be given.
If within a single file document:
You can move back with C-xC-x as the mark is set before moving.
You can search for next occurrances of a ref command with C-sC-s.
If within a multi-file document (in AUCTeX only)
You can move back with C-xC-x if within the same buffer. If not, just
select your previous buffer.
You can search for next occurrences of a ref command with tag commands:
C-u M-. Find next alternate definition of last tag specified.
C-u - M-. Go back to previous tag found.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/bib-cite.el
(defun bib-find-label ()
"Move to a label, or the first occurance of a ref.
The label or ref name is extracted from the text under the cursor.
If nothing suitable is found, the user is prompted. The first prompt is for a
label. If you answer with an empty string, a second prompt for a ref will be
given.
If within a single file document:
You can move back with C-xC-x as the mark is set before moving.
You can search for next occurrances of a ref command with C-sC-s.
If within a multi-file document (in AUCTeX only)
You can move back with C-xC-x if within the same buffer. If not, just
select your previous buffer.
You can search for next occurrences of a ref command with tag commands:
C-u M-. Find next alternate definition of last tag specified.
C-u - M-. Go back to previous tag found."
;; FIXME: The last 3 lines of the above doc string no longer hold
;; since M-. is now bound to `xref-find-definitions'.
(let ((the-regexp (bib-guess-or-prompt-for-label)))
(if (not the-regexp)
(message "No name given")
(bib-display-or-find-label the-regexp nil))))