;ELC ;;; Compiled by cyd@localhost on Mon Apr 23 22:25:25 2007 ;;; from file /home/cyd/emacs/lisp/textmodes/texinfo.el ;;; in Emacs version 22.0.99 ;;; with all optimizations. ;;; This file contains multibyte non-ASCII characters ;;; and therefore cannot be loaded into Emacs 19. (if (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "20"))) (error "`texinfo.el' was compiled for Emacs 20 or later")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\204\n\301\302M\210\300\303!\204\303\304M\210\305\306\307\310\311\312\313\314&\207" [fboundp defgroup (macro . #[(&rest ignore) "\300\207" [nil] 1]) defcustom (macro . #[(var value doc &rest ignore) "\303 \nF\207" [var value doc defvar] 4]) custom-declare-group texinfo nil "Texinfo Mode." :link (custom-group-link :tag "Font Lock Faces group" font-lock-faces) :group docs] 8) #@73 *String inserted by typing \[texinfo-insert-quote] to open a quotation. (custom-declare-variable 'texinfo-open-quote '"``" '(#$ . -974) :type 'string :group 'texinfo) #@74 *String inserted by typing \[texinfo-insert-quote] to close a quotation. (custom-declare-variable 'texinfo-close-quote '"''" '(#$ . -1147) :type 'string :group 'texinfo) #@45 Normal hook run when entering Texinfo mode. (custom-declare-variable 'texinfo-mode-hook 'nil '(#$ . 1323) :type 'hook :options '(turn-on-auto-fill flyspell-mode) :group 'texinfo) #@248 Make Info file from region of current Texinfo file, and switch to it. This command does not offer the `next-error' feature since it would apply to a temporary file, not the original; use the `makeinfo-buffer' command to gain use of `next-error'. (autoload 'makeinfo-region "makeinfo" '(#$ . 1509) t nil) #@117 Make Info file from current buffer. Use the \[next-error] command to move to the next error (if there are errors). (autoload 'makeinfo-buffer "makeinfo" '(#$ . 1821) t nil) #@50 Kill the process made by the \[compile] command. (autoload 'kill-compilation "compile" '(#$ . 2001) t nil) #@166 Redisplay `*compilation*' buffer so most recent output can be seen. The last line of the buffer is displayed on line LINE of the window, or centered if LINE is nil. (autoload 'makeinfo-recenter-compilation-buffer "makeinfo" '(#$ . 2115) t nil) #@836 Without any prefix argument, update the node in which point is located. Non-nil argument (prefix, if interactive) means update the nodes in the marked region. The functions for creating or updating nodes and menus, and their keybindings, are: `texinfo-update-node' (&optional region-p) \[texinfo-update-node] `texinfo-every-node-update' () \[texinfo-every-node-update] `texinfo-sequential-node-update' (&optional region-p) `texinfo-make-menu' (&optional region-p) \[texinfo-make-menu] `texinfo-all-menus-update' () \[texinfo-all-menus-update] `texinfo-master-menu' () `texinfo-indent-menu-description' (column &optional region-p) The `texinfo-column-for-description' variable specifies the column to which menu descriptions are indented. Its default value is 32. (autoload 'texinfo-update-node "texnfo-upd" '(#$ . 2366) t nil) #@38 Update every node in a Texinfo file. (autoload 'texinfo-every-node-update "texnfo-upd" '(#$ . 3271) t nil) #@717 Update one node (or many) in a Texinfo file with sequential pointers. This function causes the `Next' or `Previous' pointer to point to the immediately preceding or following node, even if it is at a higher or lower hierarchical level in the document. Continually pressing `n' or `p' takes you straight through the file. Without any prefix argument, update the node in which point is located. Non-nil argument (prefix, if interactive) means update the nodes in the marked region. This command makes it awkward to navigate among sections and subsections; it should be used only for those documents that are meant to be read like a novel rather than a reference, and for which the Info `g*' command is inadequate. (autoload 'texinfo-sequential-node-update "texnfo-upd" '(#$ . 3385) t nil) #@471 Without any prefix argument, make or update a menu. Make the menu for the section enclosing the node found following point. Non-nil argument (prefix, if interactive) means make or update menus for nodes within or part of the marked region. Whenever a menu exists, and is being updated, the descriptions that are associated with node names in the pre-existing menu are incorporated into the new menu. Otherwise, the nodes' section titles are inserted as descriptions. (autoload 'texinfo-make-menu "texnfo-upd" '(#$ . 4183) t nil) #@215 Update every regular menu in a Texinfo file. Remove pre-existing master menu, if there is one. If called with a non-nil argument, this function first updates all the nodes in the buffer before updating the menus. (autoload 'texinfo-all-menus-update "texnfo-upd" '(#$ . 4722) t nil) #@1450 Make a master menu for a whole Texinfo file. Non-nil argument (prefix, if interactive) means first update all existing nodes and menus. Remove pre-existing master menu, if there is one. This function creates a master menu that follows the top node. The master menu includes every entry from all the other menus. It replaces any existing ordinary menu that follows the top node. If called with a non-nil argument, this function first updates all the menus in the buffer (incorporating descriptions from pre-existing menus) before it constructs the master menu. The function removes the detailed part of an already existing master menu. This action depends on the pre-existing master menu using the standard `texinfo-master-menu-header'. The master menu has the following format, which is adapted from the recommendation in the Texinfo Manual: * The first part contains the major nodes in the Texinfo file: the nodes for the chapters, chapter-like sections, and the major appendices. This includes the indices, so long as they are in chapter-like sections, such as unnumbered sections. * The second and subsequent parts contain a listing of the other, lower level menus, in order. This way, an inquirer can go directly to a particular node if he or she is searching for specific information. Each of the menus in the detailed node listing is introduced by the title of the section containing the menu. (autoload 'texinfo-master-menu "texnfo-upd" '(#$ . 5013) t nil) #@237 Indent every description in menu following point to COLUMN. Non-nil argument (prefix, if interactive) means indent every description in every menu in the region. Does not indent second and subsequent lines of a multi-line description. (autoload 'texinfo-indent-menu-description "texnfo-upd" '(#$ . 6533) t nil) #@251 Insert missing `@node' lines in region of Texinfo file. Non-nil argument (prefix, if interactive) means also to insert the section titles as node names; and also to insert the section titles as node names in pre-existing @node lines that lack names. (autoload 'texinfo-insert-node-lines "texnfo-upd" '(#$ . 6852) t nil) #@335 In this menu entry, insert the node's section title as a description. Position point at beginning of description ready for editing. Do not insert a title if the line contains an existing description. You will need to edit the inserted text since a useful description complements the node name rather than repeats it as a title does. (autoload 'texinfo-start-menu-description "texnfo-upd" '(#$ . 7179) t nil) #@1303 Update first node pointers in each file included in OUTER-FILE; create or update main menu in the outer file that refers to such nodes. This does not create or update menus or pointers within the included files. With optional MAKE-MASTER-MENU argument (prefix arg, if interactive), insert a master menu in OUTER-FILE. This does not create or update menus or pointers within the included files. With optional UPDATE-EVERYTHING argument (numeric prefix arg, if interactive), update all the menus and all the `Next', `Previous', and `Up' pointers of all the files included in OUTER-FILE before inserting a master menu in OUTER-FILE. The command also updates the `Top' level node pointers of OUTER-FILE. Notes: * this command does NOT save any files--you must save the outer file and any modified, included files. * except for the `Top' node, this command does NOT handle any pre-existing nodes in the outer file; hence, indices must be enclosed in an included file. Requirements: * each of the included files must contain exactly one highest hierarchical level node, * this highest node must be the first node in the included file, * each highest hierarchical level node must be of the same type. Thus, normally, each included file contains one, and only one, chapter. (autoload 'texinfo-multiple-files-update "texnfo-upd" '(#$ . 7596) t nil) #@56 Alist of sectioning commands and their relative level. (defvar texinfo-section-list '(("top" 1) ("chapter" 2) ("section" 3) ("subsection" 4) ("subsubsection" 5) ("unnumbered" 2) ("unnumberedsec" 3) ("unnumberedsubsec" 4) ("unnumberedsubsubsec" 5) ("appendix" 2) ("appendixsec" 3) ("appendixsection" 3) ("appendixsubsec" 4) ("appendixsubsubsec" 5) ("majorheading" 2) ("chapheading" 2) ("heading" 3) ("subheading" 4) ("subsubheading" 5)) (#$ . 8978)) (byte-code "\301B\302\301!\204\303\301\304\"\210 \204R\305 \306\307\310 #\210\306\311\310 #\210\306\312\313 #\210\306\314\313 #\210\306\315\316 #\210\306\317\320 #\210\306\321\322 #\210\306\323\324 #\210\306\325\326 #\210\306\327\330 #\210\304\207" [current-load-list texinfo-mode-syntax-table default-boundp set-default nil make-syntax-table modify-syntax-entry 34 "." 92 64 "\\" 17 91 "(]" 93 ")[" 123 "(}" 125 "){" 10 ">" 39 "w"] 4) #@77 Imenu generic expression for Texinfo mode. See `imenu-generic-expression'. (defvar texinfo-imenu-generic-expression '((nil "^@\\(node\\|anchor\\)[ ]+\\([^,\n]*\\)" 2) ("Chapters" "^@chapter[ ]+\\(.*\\)$" 1)) (#$ . 9875)) #@67 Syntactic keywords to catch comment delimiters in `texinfo-mode'. (defvar texinfo-font-lock-syntactic-keywords '(("\\(@\\)c\\(omment\\)?\\>" (1 "<")) ("^\\(@\\)ignore\\>" (1 "< b")) ("^@end ignore\\(\n\\)" (1 "> b"))) (#$ . 10105)) #@31 List of Texinfo environments. (defconst texinfo-environments '("cartouche" "copying" "defcv" "deffn" "defivar" "defmac" "defmethod" "defop" "defopt" "defspec" "deftp" "deftypefn" "deftypefun" "deftypevar" "deftypevr" "defun" "defvar" "defvr" "description" "detailmenu" "direntry" "display" "documentdescription" "enumerate" "example" "flushleft" "flushright" "format" "ftable" "group" "ifclear" "ifset" "ifhtml" "ifinfo" "ifnothtml" "ifnotinfo" "ifnotplaintext" "ifnottex" "ifplaintext" "iftex" "ignore" "itemize" "lisp" "macro" "menu" "multitable" "quotation" "smalldisplay" "smallexample" "smallformat" "smalllisp" "table" "tex" "titlepage" "verbatim" "vtable") (#$ . 10343)) #@122 Regexp for environment-like Texinfo list commands. Subexpression 1 is what goes into the corresponding `@end' statement. (defconst texinfo-environment-regexp (byte-code "\301\302\303B\304\"\305Q\207" [texinfo-environments "^@" regexp-opt "end" t "\\>"] 4) (#$ . 11028)) (byte-code "\301\302\303\304\305\306%\210\307\310\311\302#\210\310B\312\310!\204\313\310\302\"\210\301\207" [current-load-list custom-declare-face texinfo-heading ((t (:inherit font-lock-function-name-face))) "Face used for section headings in `texinfo-mode'." :group texinfo put texinfo-heading-face face-alias default-boundp set-default] 6) #@54 Additional expressions to highlight in Texinfo mode. (defvar texinfo-font-lock-keywords (byte-code "\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\"\320\"\321Q\322B\257\f\207" [texinfo-section-list ("@\\([a-zA-Z]+\\|[^ \n]\\)" 1 font-lock-keyword-face) ("^\\*\\([^\n:]*\\)" 1 font-lock-function-name-face t) ("@\\(emph\\|i\\|sc\\){\\([^}]+\\)" 2 'italic) ("@\\(strong\\|b\\){\\([^}]+\\)" 2 'bold) ("@\\(kbd\\|key\\|url\\|uref\\){\\([^}]+\\)" 2 font-lock-string-face) ("@\\(file\\|email\\){\\([^}]+\\)" 2 font-lock-string-face keep) ("@\\(samp\\|code\\|var\\|math\\|env\\|command\\|option\\){\\([^}]+\\)" 2 font-lock-variable-name-face keep) ("@\\(cite\\|x?ref\\|pxref\\|dfn\\|inforef\\){\\([^}]+\\)" 2 font-lock-constant-face) ("@\\(anchor\\){\\([^}]+\\)" 2 font-lock-type-face) ("@\\(dmn\\|acronym\\|value\\){\\([^}]+\\)" 2 font-lock-builtin-face) ("@\\(end\\|itemx?\\) +\\(.+\\)" 2 font-lock-keyword-face keep) "^@" regexp-opt mapcar car t ".*\n" (0 texinfo-heading-face t)] 16) (#$ . 11652)) (defalias 'texinfo-clone-environment #[(start end) "\301\212\301\302\303\217*\207" [endp nil (byte-code "b\210\303\304!\203\305\306\224\306\225\307\310\"?\205? \203#\311 \210\202)\306v\210\312 \210\313\314!\210\303\315\n{!\316P!\205?\317\n\320\321$\207" [start endp end looking-at "end\\Sw+\\(\\sw+\\)" t 1 get-char-property text-clones texinfo-last-unended-begin texinfo-next-unmatched-end skip-syntax-forward "^w" regexp-quote "\\>" text-clone-create spread "\\w*"] 5) ((error))] 3]) (byte-code "\301B\302\301!\204\303\301\304\"\210\304\207" [current-load-list texinfo-mode-map default-boundp set-default nil] 3) #@68 Define the keys both in Texinfo mode and in the texinfo-tex-shell. (defalias 'texinfo-define-common-keys #[(keymap) "\301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\301\312\313#\210\301\314\315#\210\301\316\317#\210\301\320\321#\210\301\322\323#\210\301\324\325#\207" [keymap define-key " " tex-kill-job "" texinfo-quit-job "\f" tex-recenter-output-buffer "" texinfo-delete-from-print-queue "" tex-show-print-queue "" texinfo-tex-print "" texinfo-tex-view " " texinfo-texindex "" texinfo-tex-region "" texinfo-tex-buffer] 4 (#$ . 13302)]) (byte-code "\204\367\301 \302!\210\303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\303\314\315#\210\303\316\317#\210\303\320\321#\210\303\322\323#\210\303\324\325#\210\303\326\327#\210\303\330\331#\210\303\332\333#\210\303\334\335#\210\303\336\337#\210\303\340\341#\210\303\342\341#\210\303\343\344#\210\303\345\346#\210\303\347\350#\210\303\351\352#\210\303\353\354#\210\303\355\356#\210\303\357\360#\210\303\361\362#\210\303\363\364#\210\303\365\366#\210\303\367\370#\210\303\371\372#\210\303\373\374#\210\303\375\376#\210\303\377\323#\210\303\201@\201A#\210\303\201B\201C#\210\303\201D\201E#\210\303\201F\201G#\210\303\201H\201I#\210\301\207" [texinfo-mode-map make-sparse-keymap texinfo-define-common-keys define-key "\"" texinfo-insert-quote " " kill-compilation " \f" makeinfo-recenter-compilation-buffer " " makeinfo-region " " makeinfo-buffer "" texinfo-format-region "" texinfo-format-buffer " " texinfo-insert-@item "m" texinfo-master-menu " " texinfo-make-menu "" texinfo-update-node "" texinfo-every-node-update "" texinfo-all-menus-update "" texinfo-show-structure "}" up-list "]" "{" texinfo-insert-braces "" texinfo-insert-block "" texinfo-start-menu-description "" texinfo-insert-@strong "" texinfo-insert-@emph "v" texinfo-insert-@var "u" texinfo-insert-@uref "t" texinfo-insert-@table "s" texinfo-insert-@samp "q" texinfo-insert-@quotation "o" texinfo-insert-@noindent "n" texinfo-insert-@node "m" texinfo-insert-@email "k" texinfo-insert-@kbd "i" "f" texinfo-insert-@file "x" texinfo-insert-@example "e" texinfo-insert-@end "d" texinfo-insert-@dfn "c" texinfo-insert-@code] 4) #@31 Menu used for `texinfo-mode'. (defvar texinfo-mode-menu nil (#$ . 15644)) (easy-menu-do-define 'texinfo-mode-menu texinfo-mode-map "Menu used for `texinfo-mode'." '("Texinfo" ["Insert block" texinfo-insert-block t] "----" ["Update All" (lambda nil (interactive) (texinfo-master-menu t)) :keys "\\[universal-argument] \\[texinfo-master-menu]"] ["Update every node" texinfo-every-node-update t] ["Update node" texinfo-update-node t] ["Make Master menu" texinfo-master-menu t] ["Make menu" texinfo-make-menu t] ["Update all menus" texinfo-all-menus-update t] "----" ["Show structure" texinfo-show-structure t] ["Format region" texinfo-format-region t] ["Format buffer" texinfo-format-buffer t] ["Makeinfo region" makeinfo-region t] ["Makeinfo buffer" makeinfo-buffer t])) (defalias 'texinfo-filter #[(section list) "\305 \305\211\203$ @\f\n\211A@)=\203\n@B A\211\204\n*)\207" [res list x #1=#:--cl-dolist-temp-- section nil] 3]) #@70 Regular expression matching just the Texinfo chapter level headings. (defvar texinfo-chapter-level-regexp (byte-code "\301\302\303\"!\207" [texinfo-section-list regexp-opt texinfo-filter 2] 4) (#$ . 16589)) (byte-code "\302\303N\204\f\304\302\303\305#\210\306\307!\204\304\307\310\311#\210\307B\312\307!\204(\313\307\314 \"\210\306\315!\2044\304\315\310\311#\210\315B\312\315!\204D\313\315\316 \"\210\304\301\310\311#\210\301B\312\301!\204^\313\301\317\301\320\"\210 \"\210\304\311\321\322#\207" [current-load-list texinfo-mode-abbrev-table texinfo-mode-hook variable-documentation put "Hook run when entering Texinfo mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp texinfo-mode-map definition-name texinfo-mode default-boundp set-default make-sparse-keymap texinfo-mode-syntax-table make-syntax-table define-abbrev-table nil derived-mode-parent text-mode] 5) #@2762 Major mode for editing Texinfo files. It has these extra commands: \{texinfo-mode-map} These are files that are used as input for TeX to make printed manuals and also to be turned into Info files with \[makeinfo-buffer] or the `makeinfo' program. These files must be written in a very restricted and modified version of TeX input format. Editing commands are like text-mode except that the syntax table is set up so expression commands skip Texinfo bracket groups. To see what the Info version of a region of the Texinfo file will look like, use \[makeinfo-region], which runs `makeinfo' on the current region. You can show the structure of a Texinfo file with \[texinfo-show-structure]. This command shows the structure of a Texinfo file by listing the lines with the @-sign commands for @chapter, @section, and the like. These lines are displayed in another window called the *Occur* window. In that window, you can position the cursor over one of the lines and use \[occur-mode-goto-occurrence], to jump to the corresponding spot in the Texinfo file. In addition, Texinfo mode provides commands that insert various frequently used @-sign commands into the buffer. You can use these commands to save keystrokes. And you can insert balanced braces with \[texinfo-insert-braces] and later use the command \[up-list] to move forward past the closing brace. Also, Texinfo mode provides functions for automatically creating or updating menus and node pointers. These functions * insert the `Next', `Previous' and `Up' pointers of a node, * insert or update the menu for a section, and * create a master menu for a Texinfo source file. Here are the functions: texinfo-update-node \[texinfo-update-node] texinfo-every-node-update \[texinfo-every-node-update] texinfo-sequential-node-update texinfo-make-menu \[texinfo-make-menu] texinfo-all-menus-update \[texinfo-all-menus-update] texinfo-master-menu texinfo-indent-menu-description (column &optional region-p) The `texinfo-column-for-description' variable specifies the column to which menu descriptions are indented. Passed an argument (a prefix argument, if interactive), the `texinfo-update-node' and `texinfo-make-menu' functions do their jobs in the region. To use the updating commands, you must structure your Texinfo file hierarchically, such that each `@node' line, with the exception of the Top node, is accompanied by some kind of section line, such as an `@chapter' or `@section' line. If the file has a `top' node, it must be called `top' or `Top' and be the first node in the file. Entering Texinfo mode calls the value of `text-mode-hook', and then the value of `texinfo-mode-hook'. (defalias 'texinfo-mode #[nil "\306\300!\210\307\310 \210\311\312\310\313N\203\314\311\313\310\313N#\210\315 !\204'\316 \317 \"\210\320\f!\211\2036 \321 =\203<\322\f\323 \"\210)\324 !\210\325\f!\210@A\306\326!\210\327B\330Q\306\331!\210C\306\332!\210\333\306\334!\210\335P\306\336!\210\335P\306\337!\210\340\306\341!\210\333!\306\342!\210\343\"\306\344!\210\345$\306\346!\210\347&\306\350!\210\307(\306\351!\210D)\333E\306\352!\210\353*\306\354!\210\307,\306\355!\210\356\357F\"-\306\360!\210\361\356\362-\"\307\"\363P0\306\364!\210\3654\306\366!\210\3676\306\370!\210\3718\306\372!\210\373:\374G\306\375!\210=\204G\202=\376GQ=*\377\201H!\203\201H\201I!\207\201J\201I!\207" [delay-mode-hooks major-mode mode-name texinfo-mode-map texinfo-mode-syntax-table parent make-local-variable t text-mode texinfo-mode "Texinfo" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table use-local-map set-syntax-table page-delimiter "^@node [ ]*[Tt]op\\|^@\\(" "\\)\\>" require-final-newline indent-tabs-mode nil paragraph-separate "\\|@[a-zA-Z]*[ \n]\\|" paragraph-start sentence-end-base "\\(@\\(end\\)?dots{}\\|[.?!]\\)[]\"'’¡Éœôòý)}]*" adaptive-fill-mode fill-column 70 comment-start "@c " comment-start-skip "@c +\\|@comment +" words-include-escapes imenu-generic-expression font-lock-defaults (texinfo-font-lock-keywords nil nil nil backward-paragraph (font-lock-syntactic-keywords . texinfo-font-lock-syntactic-keywords)) parse-sexp-lookup-properties outline-heading-alist mapcar #[(x) "\301@P\211A@)B\207" [x "@"] 3] outline-regexp regexp-opt car "\\>" tex-start-of-header "%\\*\\*start" tex-end-of-header "%\\*\\*end" tex-first-line-header-regexp "^\\\\input" tex-trailer "@bye\n" "^@\\(def\\|multitable\\)" auto-fill-inhibit-regexp "\\|" fboundp texinfo-mode-abbrev-table local-abbrev-table texinfo-chapter-level-regexp mode-require-final-newline texinfo-imenu-generic-expression imenu-case-fold-search texinfo-section-list prevent-filling run-mode-hooks texinfo-mode-hook run-hooks] 6 (#$ . 17564) nil]) (byte-code "\301B\302\301!\204\303\301\304\"\210\305\306\307\310#\207" [current-load-list texinfo-block-default default-boundp set-default "example" put texinfo-insert-block no-self-insert t] 4) #@599 Create a matching pair @ .. @end at point. Puts point on a blank line between them. This is a skeleton command (see `skeleton-insert'). Normally the skeleton text is inserted at point, with nothing "inside". If there is a highlighted region, the skeleton text is wrapped around the region text. A prefix argument ARG says to wrap the skeleton around the next ARG words. A prefix argument of -1 says to wrap around region, even if not highlighted. A prefix argument of zero says to wrap around zero words---that is, nothing. This is a way of overriding the use of a highlighted region. (defalias 'texinfo-insert-block #[(&optional str arg) "\302\303 #\207" [str arg skeleton-proxy-new ((setq texinfo-block-default (completing-read (format "Block name [%s]: " texinfo-block-default) texinfo-environments nil nil nil nil texinfo-block-default)) n "@" str n _ n "@end " str n)] 4 (#$ . 22686) "*P\nP"]) #@54 Non-nil if inside a macro matching the regexp MACRO. (defalias 'texinfo-inside-macro-p #[(macro &optional bound) "\300\301\302\217\207" [nil (byte-code "\212\214`}\210\301\302!\210\303\304\305\217\203*\306\207" [bound up-list -1 nil (byte-code "\212\301\302!\210\303!)\207" [macro backward-sexp 1 looking-at] 2) ((scan-error)) t] 3) ((scan-error))] 3 (#$ . 23605)]) #@60 Non-nil if inside an environment matching the regexp @ENV. (defalias 'texinfo-inside-env-p #[(env &optional bound) "\212\302\303P \304#\205\305\225?)\207" [env bound re-search-backward "@\\(end\\s +\\)?" t 1] 4 (#$ . 23981)]) (byte-code "\301B\302\301!\204\303\301\304\"\210\305B\302\305!\204\303\305\306\"\210\301\207" [current-load-list texinfo-enable-quote-macros default-boundp set-default "@\\(code\\|samp\\|kbd\\)\\>" texinfo-enable-quote-envs ("example\\>" "lisp\\>")] 3) #@247 Insert the appropriate quote mark for Texinfo. Usually inserts the value of `texinfo-open-quote' (normally ``) or `texinfo-close-quote' (normally ''), depending on the context. With prefix argument or inside @code or @example, inserts a plain ". (defalias 'texinfo-insert-quote #[(&optional arg) "\212\306\307\310\311#)\206 e \204fh\312U\204f\212\nG[u\210\313\n!\204(\313 !\205.\314\nG!\210\311)\204f\315\f\"\204f\310\310\211\203^@\316\"\203U\311A\211\204F\310 +\203n\317\320 !!\202{hz\321>\203y\n\202z c)\207" [top arg texinfo-open-quote texinfo-close-quote texinfo-enable-quote-macros in-env re-search-backward "@node\\>" nil t 92 looking-at delete-char texinfo-inside-macro-p texinfo-inside-env-p self-insert-command prefix-numeric-value (40 62 32) texinfo-enable-quote-envs env #1=#:--cl-dolist-temp--] 4 (#$ . 24478) "*P"]) (defalias 'texinfo-last-unended-begin #[nil "\301!\205\302\303!\205\304 \210\202\207" [texinfo-environment-regexp re-search-backward looking-at "@end" texinfo-last-unended-begin] 2]) (defalias 'texinfo-next-unmatched-end #[nil "\301!\205\212\302\224b\210\303\304!)?\205\305 \210\202\207" [texinfo-environment-regexp re-search-forward 0 looking-at "@end" texinfo-next-unmatched-end] 2]) #@73 Insert the matching `@end' for the last Texinfo command that needs one. (defalias 'texinfo-insert-@end #[nil "\301\302\303\217\304c\210\205\305\261)\207" [string nil (byte-code "\212\300 \210\301\302!)\207" [texinfo-last-unended-begin match-string 1] 2) ((error)) "@end " "\n"] 3 (#$ . 25750) nil]) (defalias 'texinfo-insert-@-with-arg #[(string &optional arg) "\2032\302!\211\303W\203!\304\305x\210\212\306!\210\307 \310\261\210)\311c\207\304\305w\210\307 \310\261\210\306!\210\311c\207\307 \312\261\210\313u\207" [arg string prefix-numeric-value 0 " \n \f" nil forward-sexp "@" "{" "}" "{}" -1] 4]) #@111 Make a pair of braces and be poised to type inside of them. Use \[up-list] to move forward out of the braces. (defalias 'texinfo-insert-braces #[nil "\300c\210\301u\207" ["{}" -1] 1 (#$ . 26375) nil]) #@186 Insert a `@code{...}' command in a Texinfo buffer. A numeric argument says how many words the braces should surround. The default is not to surround any existing words with the braces. (defalias 'texinfo-insert-@code #[(&optional arg) "\301\302\"\207" [arg texinfo-insert-@-with-arg "code"] 3 (#$ . 26583) "P"]) #@185 Insert a `@dfn{...}' command in a Texinfo buffer. A numeric argument says how many words the braces should surround. The default is not to surround any existing words with the braces. (defalias 'texinfo-insert-@dfn #[(&optional arg) "\301\302\"\207" [arg texinfo-insert-@-with-arg "dfn"] 3 (#$ . 26903) "P"]) #@187 Insert a `@email{...}' command in a Texinfo buffer. A numeric argument says how many words the braces should surround. The default is not to surround any existing words with the braces. (defalias 'texinfo-insert-@email #[(&optional arg) "\301\302\"\207" [arg texinfo-insert-@-with-arg "email"] 3 (#$ . 27220) "P"]) #@186 Insert a `@emph{...}' command in a Texinfo buffer. A numeric argument says how many words the braces should surround. The default is not to surround any existing words with the braces. (defalias 'texinfo-insert-@emph #[(&optional arg) "\301\302\"\207" [arg texinfo-insert-@-with-arg "emph"] 3 (#$ . 27543) "P"]) #@51 Insert the string `@example' in a Texinfo buffer. (defalias 'texinfo-insert-@example #[nil "\300c\207" ["@example\n"] 1 (#$ . 27862) nil]) #@186 Insert a `@file{...}' command in a Texinfo buffer. A numeric argument says how many words the braces should surround. The default is not to surround any existing words with the braces. (defalias 'texinfo-insert-@file #[(&optional arg) "\301\302\"\207" [arg texinfo-insert-@-with-arg "file"] 3 (#$ . 28008) "P"]) #@148 Insert the string `@item' in a Texinfo buffer. If in a table defined by @table, follow said string with a space. Otherwise, follow with a newline. (defalias 'texinfo-insert-@item #[nil "\300\301\302\303\217\304\232\203\305\202\306\261\207" ["@item" nil (byte-code "\212\300 \210\301\302!)\207" [texinfo-last-unended-begin match-string 1] 2) ((error)) "table" 32 10] 4 (#$ . 28328) nil]) #@185 Insert a `@kbd{...}' command in a Texinfo buffer. A numeric argument says how many words the braces should surround. The default is not to surround any existing words with the braces. (defalias 'texinfo-insert-@kbd #[(&optional arg) "\301\302\"\207" [arg texinfo-insert-@-with-arg "kbd"] 3 (#$ . 28727) "P"]) #@208 Insert the string `@node' in a Texinfo buffer. Insert a comment on the following line indicating the order of arguments to @node. Insert a carriage return after the comment line. Leave point after `@node'. (defalias 'texinfo-insert-@node #[nil "\300c\210\301y\210\302u\207" ["@node \n@comment node-name, next, previous, up\n" -2 6] 1 (#$ . 29044) nil]) #@52 Insert the string `@noindent' in a Texinfo buffer. (defalias 'texinfo-insert-@noindent #[nil "\300c\207" ["@noindent\n"] 1 (#$ . 29408) nil]) #@53 Insert the string `@quotation' in a Texinfo buffer. (defalias 'texinfo-insert-@quotation #[nil "\300c\207" ["@quotation\n"] 1 (#$ . 29556) nil]) #@186 Insert a `@samp{...}' command in a Texinfo buffer. A numeric argument says how many words the braces should surround. The default is not to surround any existing words with the braces. (defalias 'texinfo-insert-@samp #[(&optional arg) "\301\302\"\207" [arg texinfo-insert-@-with-arg "samp"] 3 (#$ . 29708) "P"]) #@188 Insert a `@strong{...}' command in a Texinfo buffer. A numeric argument says how many words the braces should surround. The default is not to surround any existing words with the braces. (defalias 'texinfo-insert-@strong #[(&optional arg) "\301\302\"\207" [arg texinfo-insert-@-with-arg "strong"] 3 (#$ . 30028) "P"]) #@49 Insert the string `@table' in a Texinfo buffer. (defalias 'texinfo-insert-@table #[nil "\300c\207" ["@table "] 1 (#$ . 30353) nil]) #@182 Insert a `@var{}' command in a Texinfo buffer. A numeric argument says how many words the braces should surround. The default is not to surround any existing words with the braces. (defalias 'texinfo-insert-@var #[(&optional arg) "\301\302\"\207" [arg texinfo-insert-@-with-arg "var"] 3 (#$ . 30492) "P"]) #@183 Insert a `@uref{}' command in a Texinfo buffer. A numeric argument says how many words the braces should surround. The default is not to surround any existing words with the braces. (defalias 'texinfo-insert-@uref #[(&optional arg) "\301\302\"\207" [arg texinfo-insert-@-with-arg "uref"] 3 (#$ . 30806) "P"]) (defalias 'texinfo-insert-@url 'texinfo-insert-@uref) #@571 Show the structure of a Texinfo file. List the lines in the file that begin with the @-sign commands for @chapter, @section, and the like. With optional argument (prefix if interactive), list both the lines with @-sign commands for @chapter, @section, and the like, and list @node lines. Lines with structuring commands beginning in them are displayed in another buffer named `*Occur*'. In that buffer, you can move point to one of those lines and then use \\[occur-mode-goto-occurrence], to jump to the corresponding spot in the Texinfo source file. (defalias 'texinfo-show-structure #[(&optional nodes-too) "\306\212\306\210\307\310\306\311#\203\312 \210`\306\210`{\202\313)\212eb\210\314\315 \205)\316\n\317R!\210)\320\321!\210eb\210\311\322\323!\210db\210\306\307\324\306\325#\203n\326\224Sb\210\327\330\326! \"\211A@)\206^\331i\f\331Z\332_\\j\210\312 \210\202A*eb\210\333\306\311#\210\312 )\207" [current-location nodes-too outline-regexp inhibit-read-only level texinfo-section-list nil re-search-backward "^@\\(chapter \\|sect\\|subs\\|subh\\|unnum\\|major\\|chapheading \\|heading \\|appendix\\)" t beginning-of-line "tex" occur "^\\(?:" "@node\\>\\|" "\\)" pop-to-buffer "*Occur*" flush-lines "-----" "^ *[0-9]*:@\\(\\sw+\\)" 0 1 assoc match-string 2 4 re-search-forward x] 6 (#$ . 31177) "P"]) #@76 *Command used by `texinfo-tex-buffer' to run TeX and texindex on a buffer. (custom-declare-variable 'texinfo-texi2dvi-command '"texi2dvi" '(#$ . -32525) :type 'string :group 'texinfo) #@63 *Command used by `texinfo-tex-region' to run TeX on a region. (custom-declare-variable 'texinfo-tex-command '"tex" '(#$ . -32715) :type 'string :group 'texinfo) #@67 *Command used by `texinfo-texindex' to sort unsorted index files. (custom-declare-variable 'texinfo-texindex-command '"texindex" '(#$ . -32882) :type 'string :group 'texinfo) #@193 *Command string used to delete a job from the line printer queue. Command is used by \[texinfo-delete-from-print-queue] based on number provided by a previous \[tex-show-print-queue] command. (custom-declare-variable 'texinfo-delete-from-print-queue-command '"lprm" '(#$ . -33064) :type 'string :group 'texinfo) #@69 String appended after a region sent to TeX by `texinfo-tex-region'. (defvar texinfo-tex-trailer "@bye" (#$ . 33382)) #@588 Run TeX on the current region. This works by writing a temporary file (`tex-zap-file') in the directory that is the value of `tex-directory', then running TeX on that file. The first line of the buffer is copied to the temporary file; and if the buffer has a header, it is written to the temporary file before the region itself. The buffer's header is all lines between the strings defined by `tex-start-of-header' and `tex-end-of-header' inclusive. The header must start in the first 100 lines. The value of `texinfo-tex-trailer' is appended to the temporary file after the region. (defalias 'texinfo-tex-region #[(beg end) "\306\307!\210 \310\f \"*\207" [texinfo-tex-command texinfo-tex-trailer tex-trailer tex-command beg end require tex-mode tex-region] 3 (#$ . 33506) "r"]) #@72 Run TeX on visited file, once or twice, to make a correct `.dvi' file. (defalias 'texinfo-tex-buffer #[nil "\303\304!\210\305\306 *\207" [texinfo-texi2dvi-command tex-start-options-string tex-command require tex-mode "" tex-buffer] 2 (#$ . 34298) nil]) #@184 Run `texindex' on unsorted index files. The index files are made by \[texinfo-tex-region] or \[texinfo-tex-buffer]. This runs the shell command defined by `texinfo-texindex-command'. (defalias 'texinfo-texindex #[nil "\302\303!\210\304 \305P\"\210\306\307!\207" [texinfo-texindex-command tex-zap-file require tex-mode tex-send-command ".??" tex-recenter-output-buffer nil] 4 (#$ . 34561) nil]) #@139 Print `.dvi' file made by \[texinfo-tex-region] or \[texinfo-tex-buffer]. This runs the shell command defined by `tex-dvi-print-command'. (defalias 'texinfo-tex-print #[nil "\300\301!\210\302 \207" [require tex-mode tex-print] 2 (#$ . 34963) nil]) #@137 View `.dvi' file made by \[texinfo-tex-region] or \[texinfo-tex-buffer]. This runs the shell command defined by `tex-dvi-view-command'. (defalias 'texinfo-tex-view #[nil "\300\301!\210\302 \207" [require tex-mode tex-view] 2 (#$ . 35218) nil]) #@58 Quit currently running TeX job, by sending an `x' to it. (defalias 'texinfo-quit-job #[nil "\300\301!\204\n\302\303!\210\304\305!\207" [get-process "tex-shell" error "No TeX shell running" tex-send-command "x"] 2 (#$ . 35468) nil]) #@154 Delete job from the line printer spooling queue. You are prompted for the job number (use a number shown by a previous \[tex-show-print-queue] command). (defalias 'texinfo-delete-from-print-queue #[(job-number) "\302\303!\210\304 \203\305 \210\202\306 \210\307 \"\210\310\311!\207" [texinfo-delete-from-print-queue-command job-number require tex-mode tex-shell-running tex-kill-job tex-start-shell tex-send-command tex-recenter-output-buffer nil] 3 (#$ . 35708) "nPrinter job number for deletion: "]) (provide 'texinfo)