?
Current Path : /usr/share/emacs/24.3/lisp/textmodes/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/textmodes/reftex.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:50 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/textmodes/reftex.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\207" [require custom easymenu] 2) #@48 Flag showing if tables need to be re-computed. (defvar reftex-tables-dirty t (#$ . 628)) (defalias 'reftex-set-dirty #[(symbol value) "\303 \nL\207" [reftex-tables-dirty symbol value t] 2]) (require 'reftex-vars) #@21 Re-parse this file. (autoload 'reftex-parse-one "reftex-parse" '(#$ . 848) t) #@27 Re-parse entire document. (autoload 'reftex-parse-all "reftex-parse" '(#$ . 932) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\302\"\210\300\306\302\"\210\300\307\302\"\210\300\310\302\"\210\300\311\302\"\210\300\312\302\"\210\300\313\302\"\210\300\314\302\"\210\300\315\302\"\210\300\316\302\"\210\300\317\302\"\210\300\320\302\"\210\300\321\302\"\210\300\322\302\"\210\300\323\302\"\210\300\324\325\"\210\300\326\325\"\210\300\327\325\"\207" [autoload reftex-do-parse "reftex-parse" reftex-where-am-I reftex-init-section-numbers reftex-section-info reftex-section-number reftex-what-macro reftex-what-macro-safe reftex-index-info reftex-index-info-safe reftex-short-context reftex-what-environment reftex-what-special-env reftex-move-over-touching-args reftex-notice-new reftex-nth-arg reftex-locate-bibliography-files reftex-ensure-index-support reftex-everything-regexp reftex-label-location "reftex-ref" reftex-label-info-update reftex-label-info] 3) #@24 Insert a unique label. (autoload 'reftex-label "reftex-ref" '(#$ . 1926) t) #@25 Make a LaTeX reference. (autoload 'reftex-reference "reftex-ref" '(#$ . 2008) t) #@28 Make a varioref reference. (autoload 'reftex-varioref-vref "reftex-ref" '(#$ . 2095) t) #@34 Make a fancyref \fref reference. (autoload 'reftex-fancyref-fref "reftex-ref" '(#$ . 2189) t) #@34 Make a fancyref \Fref reference. (autoload 'reftex-fancyref-Fref "reftex-ref" '(#$ . 2289) t) (byte-code "\300\301\302\"\210\300\303\302\"\207" [autoload reftex-show-label-location "reftex-ref" reftex-query-label-type] 3) #@48 Prompt for label name and go to that location. (autoload 'reftex-goto-label "reftex-ref" '(#$ . 2517) t) #@54 Show the table of contents for the current document. (autoload 'reftex-toc "reftex-toc" '(#$ . 2628) t) #@78 Display the TOC window and highlight line corresponding to current position. (autoload 'reftex-toc-recenter "reftex-toc" '(#$ . 2738) t) #@45 Toggle automatic recentering of TOC window. (autoload 'reftex-toggle-auto-toc-recenter "reftex-toc" '(#$ . 2881) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\302\"\210\300\306\302\"\210\300\307\302\"\210\300\310\302\"\207" [autoload reftex-citep "reftex-cite" reftex-citet reftex-make-cite-echo-string reftex-get-bibfile-list reftex-pop-to-bibtex-entry reftex-end-of-bib-entry reftex-parse-bibtex-entry] 3) #@46 Make a citation using BibTeX database files. (autoload 'reftex-citation "reftex-cite" '(#$ . 3327) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\306\"\210\300\307\306\"\210\300\310\306\"\210\300\311\306\"\210\300\312\306\"\210\300\313\306\"\207" [autoload reftex-default-bibliography "reftex-cite" reftex-bib-or-thebib reftex-create-bibtex-file reftex-select-label-mode "reftex-sel" reftex-select-bib-mode reftex-find-start-point reftex-insert-docstruct reftex-get-offset reftex-select-item] 3) #@66 Query for an index macro and insert it along with its arguments. (autoload 'reftex-index "reftex-index" '(#$ . 3860) t) #@68 Put selection or the word near point into the default index macro. (autoload 'reftex-index-selection-or-word "reftex-index" '(#$ . 3986) t) #@63 Put selection or the word near point into Index Phrases File. (autoload 'reftex-index-phrase-selection-or-word "reftex-index" '(#$ . 4132) t) #@68 Display a buffer with an index compiled from the current document. (autoload 'reftex-display-index "reftex-index" '(#$ . 4280) t) #@31 Visit the Index Phrases File. (autoload 'reftex-index-visit-phrases-buffer "reftex-index" '(#$ . 4416) t) #@64 Major mode for managing the Index phrases of a LaTeX document. (autoload 'reftex-index-phrases-mode "reftex-index" '(#$ . 4528) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\302\"\207" [autoload reftex-index-complete-tag "reftex-index" reftex-index-complete-key reftex-index-show-entry reftex-index-select-tag] 3) #@55 View cross reference of \ref or \cite macro at point. (autoload 'reftex-view-crossref "reftex-dcr" '(#$ . 4880) t) #@62 View cross reference of \ref or \cite macro where you click. (autoload 'reftex-mouse-view-crossref "reftex-dcr" '(#$ . 5001) t) (autoload 'reftex-toggle-auto-view-crossref "reftex-dcr") #@74 View location in a LaTeX document which cites the BibTeX entry at point. (autoload 'reftex-view-crossref-from-bibtex "reftex-dcr" '(#$ . 5193) t) #@62 Create TAGS file by running `etags' on the current document. (autoload 'reftex-create-tags-file "reftex-global" '(#$ . 5345) t) #@60 Run grep query through all files related to this document. (autoload 'reftex-grep-document "reftex-global" '(#$ . 5479) t) #@62 Regexp search through all files of the current TeX document. (autoload 'reftex-search-document "reftex-global" '(#$ . 5608) t) #@74 Run a query-replace-regexp of FROM with TO over the entire TeX document. (autoload 'reftex-query-replace-document "reftex-global" '(#$ . 5741) t) #@57 Produce a list of all duplicate labels in the document. (autoload 'reftex-find-duplicate-labels "reftex-global" '(#$ . 5893) t) #@61 Query replace FROM with TO in all \label and \ref commands. (autoload 'reftex-change-label "reftex-global" '(#$ . 6027) t) #@71 Renumber all simple labels in the document to make them sequentially. (autoload 'reftex-renumber-simple-labels "reftex-global" '(#$ . 6156) t) #@58 Save all documents associated with the current document. (autoload 'reftex-save-all-document-buffers "reftex-global" '(#$ . 6305) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\302\"\210\300\306\302\"\207" [autoload reftex-arg-label "reftex-auc" reftex-arg-cite reftex-arg-index-tag reftex-arg-index reftex-plug-into-AUCTeX] 3) #@56 Toggle Interface between AUCTeX and RefTeX on and off. (autoload 'reftex-toggle-plug-into-AUCTeX "reftex-auc" '(#$ . 6670) t) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\302\"\207" [autoload reftex-add-label-environments "reftex-auc" reftex-add-to-label-alist reftex-add-section-levels reftex-notice-new-section] 3) #@28 Version string for RefTeX. (defconst reftex-version emacs-version (#$ . 7023)) #@25 Keymap for RefTeX mode. (defvar reftex-mode-map (make-sparse-keymap) (#$ . 7108)) (defvar reftex-mode-menu nil) (defvar reftex-syntax-table nil) (defvar reftex-syntax-table-for-bib nil) (byte-code "\204 \302 \303\304\305#\210\303\306\305#\210 \2042 \302 \303\307\305 #\210\303\310\305 #\210\303\311\305 #\210\303\312\305 #\210\302\207" [reftex-syntax-table reftex-syntax-table-for-bib copy-syntax-table modify-syntax-entry 40 "." 41 39 34 91 93] 4) #@40 The timer used for auto-view-crossref. (defvar reftex-auto-view-crossref-timer nil (#$ . 7569)) #@49 The idle timer used to recenter the toc window. (defvar reftex-toc-auto-recenter-timer nil (#$ . 7671)) #@22 Turn on RefTeX mode. (defalias 'turn-on-reftex #[nil "\300\301!\207" [reftex-mode t] 2 (#$ . 7781)]) (byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put reftex-mode :included (memq major-mode '(latex-mode tex-mode)) :menu-tag "RefTeX Mode"] 4) #@91 Non-nil if Reftex mode is enabled. Use the command `reftex-mode' to change this variable. (defvar reftex-mode nil (#$ . 8040)) (make-variable-buffer-local 'reftex-mode) #@1334 Minor mode with distinct support for \label, \ref and \cite in LaTeX. \<reftex-mode-map>A Table of Contents of the entire (multifile) document with browsing capabilities is available with `\[reftex-toc]'. Labels can be created with `\[reftex-label]' and referenced with `\[reftex-reference]'. When referencing, you get a menu with all labels of a given type and context of the label definition. The selected label is inserted as a \ref macro. Citations can be made with `\[reftex-citation]' which will use a regular expression to pull out a *formatted* list of articles from your BibTeX database. The selected citation is inserted as a \cite macro. Index entries can be made with `\[reftex-index-selection-or-word]' which indexes the word at point or the current selection. More general index entries are created with `\[reftex-index]'. `\[reftex-display-index]' displays the compiled index. Most command have help available on the fly. This help is accessed by pressing `?' to any prompt mentioning this feature. Extensive documentation about RefTeX is available in Info format. You can view this information with `\[reftex-info]'. \{reftex-mode-map} Under X, these and other functions will also be available as `Ref' menu on the menu bar. ------------------------------------------------------------------------------ (defalias 'reftex-mode #[(&optional arg) "\306 \307=\203 \n?\202 \310 !\311V\211\203\203 \312!\210\f\203# \304 \210\305\313N\2046 \2030 \314 \210\315\305\313\316#\210\317\313N\204L \316=\203F \320 \210\315\317\313\316#\210\321\322 !'\323\324\325'#\210\323\326\325'#\210\321 (\323\327\325(#\210\323\330\325(#\210\323\331\325(#\210\323\332\325(#\210\202\207 \333!\210\334\335\n\203\221 \336\202\222 \337\"\210\340\341!\203\263 \306 \203\246 \306 \232\203\263 \342\343\n\203\260 \344\202\261 \345\"\210)\346 \210\n\207" [#1=#:last-message arg reftex-mode reftex-mode-menu reftex-plug-into-AUCTeX reftex-auto-view-crossref current-message toggle prefix-numeric-value 0 easy-menu-add initialized reftex-toggle-auto-view-crossref put t reftex-auto-recenter-toc reftex-toggle-auto-toc-recenter copy-syntax-table syntax-table modify-syntax-entry 40 "." 41 39 34 91 93 easy-menu-remove run-hooks reftex-mode-hook reftex-mode-on-hook reftex-mode-off-hook called-interactively-p any message "Reftex mode %sabled" "en" "dis" force-mode-line-update reftex-syntax-table reftex-syntax-table-for-bib] 5 (#$ . 8217) (list (or current-prefix-arg 'toggle))]) (byte-code "\301\302\303\304\211%\207" [reftex-mode-map add-minor-mode reftex-mode " Ref" nil] 6) #@74 Save RefTeX's parse file for this buffer if the information has changed. (defalias 'reftex-kill-buffer-hook #[nil "\303\300!\205- \205- \303\301!\205- \205- \303\302!\205- \n\205- \nJ\205- \n\304N\205- \305\306\307\217\207" [reftex-mode reftex-save-parse-info reftex-docstruct-symbol boundp modified nil (byte-code "\300\301!\207" [reftex-access-parse-file write] 2) ((error))] 3 (#$ . 10814)]) #@48 Call `reftex-kill-buffer-hook' on all buffers. (defalias 'reftex-kill-emacs-hook #[nil "\212\300\301\302 \")\207" [mapcar #[(buf) "q\210\301 \207" [buf reftex-kill-buffer-hook] 1] buffer-list] 3 (#$ . 11217)]) (defconst reftex-multifile-symbols '(reftex-docstruct-symbol)) (defvar reftex-master-index-list nil) (defvar reftex-multifile-index 0) (defvar reftex-docstruct-symbol nil) (make-variable-buffer-local 'reftex-docstruct-symbol) (defalias 'reftex-next-multifile-index #[nil "T\211\207" [reftex-multifile-index] 2]) #@148 Tie the buffer-local symbols to globals connected with the master file. If the symbols for the current master file do not exist, they are created. (defalias 'reftex-tie-multifile-symbols #[nil "\306\307 !\310 \"\311\211\311\n\203 \nA\202* \312 \313\nB B\f\203h \f@\fA\314 ! \315\316\317\n!Q!L\210\320 J\321\n#\210\203* J\311L\210\320 J\322\323#\210\320 J\324#\210\202* .?\207" [master reftex-master-index-list index reftex-multifile-symbols symlist symbol file-truename reftex-TeX-master-file assoc nil reftex-next-multifile-index t symbol-name intern "-" int-to-string put :master-index reftex-index-macros-style (default) reftex-ref-style-list symname newflag reftex-ref-style-default-list] 7 (#$ . 11749)]) #@70 Remove ties from multifile symbols, so that next use makes new ones. (defalias 'reftex-untie-multifile-symbols #[nil "\303\n\205 \n@\nA \303L\210\202 *\207" [reftex-multifile-symbols symbol symlist nil] 2 (#$ . 12496)]) (defalias 'reftex-TeX-master-file #[nil "\303\304!\203 \305\306\307\217\202a \303\301!\203 \301 \202a \310\300!\203K \311=\203) \312 \202a \313=\203; \314\315\305\211\311\305%\211\202a \206a \314\315\305\211\311\305%\211\202a \310\301!\203_ ;\203Z \202a \312 \202a \312 \211\204m \316\317!\210\202\223 \320\n\321P!\204} \322\n\321P!\203\204 \n\321P\202\223 \320\n!\204\223 \322\n!\204\223 \312 \323\n!)\207" [TeX-master tex-main-file master fboundp TeX-master-file nil (TeX-master-file t) ((error (buffer-file-name))) boundp t buffer-file-name shared read-file-name "Master file: " error "Need a filename for this buffer, please save it first" file-exists-p ".tex" reftex-get-buffer-visiting expand-file-name] 7]) (defalias 'reftex-is-multi #[nil "\302J\236\211\203 A@\202 \303)\207" [reftex-docstruct-symbol entry is-multi t] 3]) #@263 Set the document-local value of `reftex-cite-format'. When such a value exists, it overwrites the setting given with `reftex-cite-format'. See the documentation of `reftex-cite-format' for possible values. This function should be used from AUCTeX style files. (defalias 'reftex-set-cite-format #[(value) "\204 \302 \210\205 9\205 \303\304 #\207" [reftex-docstruct-symbol value reftex-tie-multifile-symbols put reftex-cite-format] 4 (#$ . 13579)]) (defalias 'reftex-get-cite-format #[nil "\203 9\203 \301N\203 \301N\207 \207" [reftex-docstruct-symbol reftex-cite-format] 2]) #@480 Add index macro descriptions to `reftex-index-macros-style'. The format of ENTRY-LIST is exactly like `reftex-index-macros'. See there for details. This function makes it possible to support RefTeX from AUCTeX style files. The entries in ENTRY-LIST will be processed after the user settings in `reftex-index-entries', and before the defaults. Any changes made to `reftex-index-macros-style' will raise a flag to the effect that the label information is recompiled on next use. (defalias 'reftex-add-index-macros #[(entry-list) "\204 \306 \210\205L 9\205L \307N\310\211\f\203B \f\211A@\2119\2031 \n>\2041 \311!\n\235\204 \312\211\nB\202 \205K \313\307#+\207" [reftex-docstruct-symbol changed entry list entry-list reftex-tables-dirty reftex-tie-multifile-symbols reftex-index-macros-style nil reftex-remove-symbols-from-list t put] 5 (#$ . 14176)]) #@39 Activate the referencing style STYLE. (defalias 'reftex-ref-style-activate #[(style) "\301\302\"\207" [style reftex-ref-style-toggle activate] 3 (#$ . 15055)]) #@202 Activate or deactivate the referencing style STYLE. With the optional argument ACTION a certain action can be forced. The symbol `activate' will activate the style and `deactivate' will deactivate it. (defalias 'reftex-ref-style-toggle #[(style &optional action) "\204 \306 \210\205i 9\205i \307N\310\311=\203/ \f\n\235\204_ \312\211\313\302\f\312#\210\202_ \314=\203G \f\n\235\203_ \312\211\315\f\n\"\210\202_ \f\n\235\203U \315\f\n\"\210\202[ \313\302\f\312#\210\312\211 \205h \316\307\n#*\207" [reftex-docstruct-symbol changed list action style reftex-tables-dirty reftex-tie-multifile-symbols reftex-ref-style-list nil activate t add-to-list deactivate delete put] 5 (#$ . 15223)]) #@67 Return the list of referencing styles to be active at the moment. (defalias 'reftex-ref-style-list #[nil "\204 \302 \210\203 9\203 \303N\203 \303N\207 \207" [reftex-docstruct-symbol reftex-ref-style-default-list reftex-tie-multifile-symbols reftex-ref-style-list] 2 (#$ . 15931)]) (defvar reftex-type-query-prompt nil) (defvar reftex-type-query-help nil) (defvar reftex-typekey-to-format-alist nil) (defvar reftex-typekey-to-prefix-alist nil) (defvar reftex-env-or-mac-alist nil) (defvar reftex-special-env-parsers nil) (defvar reftex-label-mac-list nil) (defvar reftex-label-env-list nil) (defvar reftex-typekey-list nil) (defvar reftex-words-to-typekey-alist nil) (defvar reftex-prefix-to-typekey-alist nil) (defvar reftex-last-used-reference (byte-code "\300\211\211\211F\207" [nil] 4)) (defvar reftex-key-to-index-macro-alist nil) (defvar reftex-query-index-macro-prompt nil) (defvar reftex-query-index-macro-help nil) (defvar reftex-no-follow-message "No follow-mode into unvisited file. Press SPC to visit it.") (defvar reftex-no-info-message "%s: info not available, use `\\[reftex-view-crossref]' to get it.") (defvar reftex-default-context-position nil) (defvar reftex-location-start nil) (defvar reftex-call-back-to-this-buffer nil) (defvar reftex-select-return-marker (make-marker)) (defvar reftex-active-toc nil) (defvar reftex-tex-path nil) (defvar reftex-bib-path nil) (defvar reftex-select-marked nil) (defvar reftex-last-follow-point nil) (defvar reftex-latex-syntax-table nil) (defvar reftex-prefix nil) (defvar reftex-section-levels-all nil) (defvar reftex-buffers-with-changed-invisibility nil) (defvar reftex-callback-fwd t) #@68 Stores the name of the tex file that `reftex-toc' was last run on. (defvar reftex-last-toc-master nil (#$ . 17592)) (defvar reftex-recursive-edit-marker (make-marker)) (defvar reftex-buffers-to-kill nil) (defvar reftex-section-regexp nil) (defvar reftex-section-or-include-regexp nil) (defvar reftex-index-macro-regexp nil) (defvar reftex-index-level-re nil) (defvar reftex-index-key-end-re nil) (defvar reftex-find-index-entry-regexp-format nil) (defvar reftex-everything-regexp nil) (defvar reftex-everything-regexp-no-index nil) (defvar reftex-index-re nil) (defvar reftex-find-citation-regexp-format "\\\\\\([a-zA-Z]*cite[*a-zA-Z]*\\*?\\|bibentry\\)\\(\\[[^]]*\\]\\|{[^}]*}\\)*{\\([^}]*,\\)?\\(%s\\)[},]") (defvar reftex-find-reference-format "\\\\\\(ref[a-zA-Z]*\\|[a-zA-Z]*ref\\(range\\)?\\)\\*?\\(\\[[^]]*\\]\\|{[^}]*}\\)*{\\(%s\\)}") (defvar reftex-macros-with-labels nil) (defvar reftex-macros-with-index nil) (defvar reftex-index-macro-alist nil) (defvar reftex-find-label-regexp-format nil) (defvar reftex-find-label-regexp-format2 nil) #@71 Memorizes old variable values to indicate changes in these variables. (defvar reftex-memory nil (#$ . 18646)) (defconst reftex-cache-variables '(reftex-memory reftex-section-levels-all reftex-env-or-mac-alist reftex-special-env-parsers reftex-macros-with-labels reftex-label-mac-list reftex-label-env-list reftex-typekey-list reftex-typekey-to-format-alist reftex-typekey-to-prefix-alist reftex-words-to-typekey-alist reftex-prefix-to-typekey-alist reftex-type-query-prompt reftex-type-query-help reftex-index-macro-alist reftex-macros-with-index reftex-query-index-macro-prompt reftex-query-index-macro-help reftex-key-to-index-macro-alist reftex-section-regexp reftex-section-or-include-regexp reftex-index-re reftex-everything-regexp reftex-everything-regexp-no-index reftex-find-label-regexp-format reftex-find-label-regexp-format2 reftex-find-index-entry-regexp-format)) (defalias 'reftex-ensure-compiled-variables #[nil "\n\306N\211@ \n\307N\n\310N\n\311N\203- \312 \202\245 @=\203b A@=\203b \313 8=\203b \314 8=\203b \315 8=\203b \316 8=\206\245 \f@=\203\243 \fA@=\203\243 \313\f8=\203\243 \313\f8=\203\243 \315\f8=\203\243 \316\f8=\203\243 \317\320!\210\321\322\"\202\245 \312 . \207" [reftex-memory mem reftex-docstruct-symbol cache cmem reftex-label-alist reftex-cache reftex-section-levels reftex-label-alist-style reftex-index-macros-style reftex-compile-variables 2 3 4 5 message "Restoring cache" mapcar #[(sym) " \211A@L\207" [sym cache] 3] alist levels style reftex-default-label-alist-entries default reftex-index-macros index istyle reftex-tables-dirty reftex-cache-variables] 4]) #@167 Reset RefTeX Mode. This will re-compile the configuration information and remove all current scanning information and the parse file to enforce a rescan on next use. (defalias 'reftex-reset-mode #[nil "\305\306:\203 @\307\310 \306#\210\307\311 \306#\210A\211\202 *\212\312\306\211A@\211\203<