%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/textmodes/ |
Current File : //usr/local/share/emacs/27.2/lisp/textmodes/nroff-mode.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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\302\303\304\305\306\307\310\311& \210\312\313\302\314\306\301\315\316&\207" [custom-declare-group nroff nil "Nroff mode." :link (custom-group-link :tag "Font Lock Faces group" font-lock-faces) :group text :prefix "nroff-" custom-declare-variable nroff-electric-mode "Non-nil means automatically closing requests when you insert an open." :type boolean] 10) #@37 Major mode keymap for `nroff-mode'. (defvar nroff-mode-map (byte-code "\302 \302 \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\323B#\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 *\207" [menu-map map make-sparse-keymap define-key " " tab-to-tab-stop "s" center-line "?" nroff-count-text-lines "\n" nroff-electric-newline "n" nroff-forward-text-line "p" nroff-backward-text-line "" nroff-view [menu-bar nroff-mode] "Nroff" [nn] (menu-item "Newline" nroff-electric-newline :help "Insert newline for nroff mode; special if nroff-electric mode") [nc] (menu-item "Count text lines" nroff-count-text-lines :help "Count lines in region, except for nroff request lines.") [nf] (menu-item "Forward text line" nroff-forward-text-line :help "Go forward one nroff text line, skipping lines of nroff requests") [nb] (menu-item "Backward text line" nroff-backward-text-line :help "Go backward one nroff text line, skipping lines of nroff requests") [ne] (menu-item "Electric newline mode" nroff-electric-mode :help "Auto insert closing requests if necessary" :button (:toggle . nroff-electric-mode)) [npm] (menu-item "Preview as man page" nroff-view :help "Run man on this file.")] 5) (#$ . 787)) #@42 Syntax table used while in `nroff-mode'. (defvar nroff-mode-syntax-table (byte-code "\302!\303\304\305 #\210\303\306\307 #\210\303\310\311 #\210\303\312\313 #\210 )\207" [text-mode-syntax-table st copy-syntax-table modify-syntax-entry 34 "\" 2" 35 ". 2" 92 "\\ 1" 10 ">"] 4) (#$ . 2141)) (defvar nroff-imenu-expression '((nil "^\\.SH \"?\\([^\"\n]*\\)\"?$" 1))) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\306\313\304\305&\207" [custom-declare-variable nroff-font-lock-keywords (list "^[.']\\s-*\\sw+" (concat "\\\\" "\\(" (mapconcat 'identity '("[f*n]*\\[.+?]" "(.." "[^(\"#]") "\\|") "\\)")) "Font-lock highlighting control in `nroff-mode'." :group nroff :type (repeat regexp) nroff-mode-hook nil "Hook run by function `nroff-mode'." hook] 8) (defvar nroff-mode-hook nil) (byte-code "\300\301N\204\f \302\300\301\303#\210\304\305!\204 \302\305\306\307#\210\300\207" [nroff-mode-hook variable-documentation put "Hook run after entering Nroff mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp nroff-mode-map definition-name nroff-mode] 4) (defvar nroff-mode-map (make-sparse-keymap)) (byte-code "\301\302N\204 \303\301\302\304\305!#\210\306\307!\204 \303\307\310\311#\210\312\313 !\210\307\302N\204- \303\307\302\304\314!#\210\306\300!\204B \303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P \303\300\302\304\320!#\210\303\311\321\322#\207" [nroff-mode-abbrev-table nroff-mode-map variable-documentation put purecopy "Keymap for `nroff-mode'." boundp nroff-mode-syntax-table definition-name nroff-mode (lambda (#1=#:def-tmp-var) (defvar nroff-mode-syntax-table #1#)) make-syntax-table "Syntax table for `nroff-mode'." (lambda (#1#) (defvar nroff-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `nroff-mode'." derived-mode-parent text-mode] 5) #@269 Major mode for editing text intended for nroff to format. \{nroff-mode-map} Turning on Nroff mode runs `text-mode-hook', then `nroff-mode-hook'. Also, try `nroff-electric-mode', for automatically inserting closing requests for requests that are used in matched pairs. (defalias 'nroff-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<