| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/textmodes/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301\302\303\304\305\306\307\310\311& \210\312\313\314\315\316DD\317\320\321%\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 funcall function #[0 "\300\207" [nil] 1 ""] "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 "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\301\312\313#\210\301\314\315#\210\207" [make-sparse-keymap define-key " " tab-to-tab-stop "?" nroff-count-text-lines "\n" nroff-electric-newline "n" nroff-forward-text-line "p" nroff-backward-text-line "" nroff-view] 5) (#$ . 508))
#@24 Menu for `nroff-mode'.
(defvar nroff-mode-menu nil (#$ . 902))
(easy-menu-do-define 'nroff-mode-menu nroff-mode-map "Menu for `nroff-mode'." '("Nroff" ["Preview as man page" nroff-view :help "Run man on this file."] ["Electric newline mode" nroff-electric-mode :help "Auto insert closing requests if necessary" :style toggle :selected nroff-electric-mode] ["Backward text line" nroff-backward-text-line :help "Go backward one nroff text line, skipping lines of nroff requests"] ["Forward text line" nroff-forward-text-line :help "Go forward one nroff text line, skipping lines of nroff requests"] ["Count text lines" nroff-count-text-lines :help "Count lines in region, except for nroff request lines."] ["Newline" nroff-electric-newline :help "Insert newline for nroff mode; special if nroff-electric mode"]))
#@42 Syntax table used while in `nroff-mode'.
(defvar nroff-mode-syntax-table (byte-code "\301!\302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\207" [text-mode-syntax-table copy-syntax-table modify-syntax-entry 34 "\" 2" 35 ". 2" 92 "\\ 1" 10 ">"] 5) (#$ . 1719))
(defvar nroff-imenu-expression '((nil "^\\.SH \"?\\([^\"\n]*\\)\"?$" 1)))
(byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\313%\207" [custom-declare-variable nroff-font-lock-keywords funcall function #[0 "\300\301\302\303\304\305#\306QD\207" ["^[.']\\s-*\\sw+" "\\\\\\(" mapconcat identity ("[f*n]*\\[.+?]" "(.." "[^(\"#]") "\\|" "\\)"] 6 #1=""] "Font-lock highlighting control in `nroff-mode'." :type (repeat regexp) nroff-mode-hook #[0 "\300\207" [nil] 1 #1#] "Hook run by function `nroff-mode'." hook] 6)
(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 #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204'