MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.117.158.174
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/emacs/24.3/lisp/textmodes/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/textmodes/text-mode.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:12:51 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/textmodes/text-mode.el
;;; in Emacs version 24.3
;;; 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.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


#@65 Normal hook run when entering Text mode and many related modes.
(custom-declare-variable 'text-mode-hook nil '(#$ . 560) :type 'hook :options '(turn-on-auto-fill turn-on-flyspell) :group 'wp)
#@105 Non-nil if this buffer's major mode is a variant of Text mode.
Use (derived-mode-p 'text-mode) instead.
(defvar text-mode-variant nil (#$ . 759))
#@41 Syntax table used while in `text-mode'.
(defvar text-mode-syntax-table (byte-code "\301 \302\303\304#\210\302\305\304#\210\302\306\307#\210)\207" [st make-syntax-table modify-syntax-entry 34 ".   " 92 39 "w p"] 4) (#$ . 911))
#@151 Keymap for `text-mode'.
Many other modes, such as `mail-mode', `outline-mode' and `indented-text-mode',
inherit all the commands defined in this map.
(defvar text-mode-map (byte-code "\301 \302\303\304#\210)\207" [map make-sparse-keymap define-key "	" ispell-complete-word] 4) (#$ . 1149))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\305\306!\204\302\306\307\310#\210\300\207" [text-mode-hook variable-documentation put purecopy "Hook run when entering Text mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp text-mode-map definition-name text-mode] 5)
(defvar text-mode-map (make-sparse-keymap))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\305\306!\204\302\306\307\310#\210\300\207" [text-mode-map variable-documentation put purecopy "Keymap for `text-mode'." boundp text-mode-syntax-table definition-name text-mode] 5)
(defvar text-mode-syntax-table (make-syntax-table))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\302\305\306\307#\207" [text-mode-syntax-table variable-documentation put purecopy "Syntax table for `text-mode'." text-mode-abbrev-table definition-name text-mode] 5)
(defvar text-mode-abbrev-table (progn (define-abbrev-table 'text-mode-abbrev-table nil) text-mode-abbrev-table))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\302\305\306\307#\207" [text-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `text-mode'." text-mode derived-mode-parent nil] 5)
#@299 Major mode for editing text written for humans to read.
In this mode, paragraphs are delimited only by blank or white lines.
You can thus get the full benefit of adaptive filling
 (see the variable `adaptive-fill-mode').
\{text-mode-map}
Turning on Text mode runs the normal hook `text-mode-hook'.
(defalias 'text-mode #[nil "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210
\306\315!\210\307
\306\316!\210\306\317!\210\320)\321\322!\207" [delay-mode-hooks major-mode mode-name text-mode-map text-mode-syntax-table text-mode-abbrev-table make-local-variable t kill-all-local-variables text-mode "Text" use-local-map set-syntax-table text-mode-variant require-final-newline indent-line-function indent-relative run-mode-hooks text-mode-hook local-abbrev-table mode-require-final-newline] 2 (#$ . 2687) nil])
(byte-code "\300\301N\204\302\300\301\303\304!#\210\305\306!\204\302\306\307\310#\210\300\207" [paragraph-indent-text-mode-hook variable-documentation put purecopy "Hook run when entering Parindent mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" boundp paragraph-indent-text-mode-map definition-name paragraph-indent-text-mode] 5)
(defvar paragraph-indent-text-mode-map (make-sparse-keymap))
(byte-code "\300\301N\204\302\300\301\303\304!#\210\302\305\306\307#\207" [paragraph-indent-text-mode-map variable-documentation put purecopy "Keymap for `paragraph-indent-text-mode'." paragraph-indent-text-mode derived-mode-parent text-mode] 5)
#@430 Major mode for editing text, with leading spaces starting a paragraph.
In this mode, you do not need blank lines between paragraphs
when the first line of the following paragraph starts with whitespace.
`paragraph-indent-minor-mode' provides a similar facility as a minor mode.
Special commands:
\{text-mode-map}
Turning on Paragraph-Indent Text mode runs the normal hooks
`text-mode-hook' and `paragraph-indent-text-mode-hook'.
(defalias 'paragraph-indent-text-mode #[nil "\304\300!\210\305\306 \210\307\310\306\311N\203\312\307\311\306\311N#\210\313!\204'\314\315 \"\210\316!\210\317 \210)\320\321!\207" [delay-mode-hooks major-mode mode-name paragraph-indent-text-mode-map make-local-variable t text-mode paragraph-indent-text-mode "Parindent" mode-class put keymap-parent set-keymap-parent current-local-map use-local-map paragraph-indent-minor-mode run-mode-hooks paragraph-indent-text-mode-hook] 5 (#$ . 4250) nil])
#@123 Non-nil if Paragraph-Indent minor mode is enabled.
Use the command `paragraph-indent-minor-mode' to change this variable.
(defvar paragraph-indent-minor-mode nil (#$ . 5188))
(make-variable-buffer-local 'paragraph-indent-minor-mode)
#@337 Minor mode for editing text, with leading spaces starting a paragraph.
In this mode, you do not need blank lines between paragraphs when the
first line of the following paragraph starts with whitespace, as with
`paragraph-indent-text-mode'.
Turning on Paragraph-Indent minor mode runs the normal hook
`paragraph-indent-text-mode-hook'.
(defalias 'paragraph-indent-minor-mode #[(&optional arg) "\306 	\307=\203\n?\202\310	!\311V\312\313\314\211\f\314G&\315=\2036\n\204B\316\304!\210\fG\314O\202B\n\203B\316\304!\210\fP)\n\203P\316\305!\210\317\202\\
\317=\203\\\316\305!\210\320\321\322\n\203f\323\202g\324\"\210\325\326!\203\210\306 \203{\306 \232\203\210\327\330\n\203\205\331\202\206\332\"\210)\333 \210\n\207" [#1=#:last-message arg paragraph-indent-minor-mode ps-re paragraph-start indent-line-function current-message toggle prefix-numeric-value 0 "[ 	\n\f]\\|" compare-strings nil t make-local-variable indent-to-left-margin indent-region run-hooks paragraph-indent-minor-mode-hook paragraph-indent-minor-mode-on-hook paragraph-indent-minor-mode-off-hook called-interactively-p any message "Paragraph-Indent minor mode %sabled" "en" "dis" force-mode-line-update] 7 (#$ . 5428) (list (or current-prefix-arg 'toggle))])
(byte-code "\301\302\303\304\300!\205\n\303\211%\210\305\306\307\"\207" [paragraph-indent-minor-mode-map add-minor-mode paragraph-indent-minor-mode nil boundp defalias indented-text-mode text-mode] 6)
#@123 Mark that this mode has run `text-mode-hook'.
This is how `toggle-text-mode-auto-fill' knows which buffers to operate on.
(defalias 'text-mode-hook-identify #[nil "\301\300!\210\302\211\207" [text-mode-variant make-local-variable t] 2 (#$ . 6893)])
(add-hook 'text-mode-hook 'text-mode-hook-identify)
#@199 Toggle whether to use Auto Fill in Text mode and related modes.
This command affects all buffers that use modes related to Text mode,
both existing buffers and buffers that you subsequently create.
(defalias 'toggle-text-mode-auto-fill #[nil "\305>?\211\203\306\300\305\"\210\202\307\300\305\"\210\310 \311\211\203D@r\nq\210\312\313!\2040\f\203<\314	\2039\315\202:\316!\210)A\211\204*\317\320	\203O\321\202P\322\")\207" [text-mode-hook enable-mode buffer --dolist-tail-- text-mode-variant turn-on-auto-fill add-hook remove-hook buffer-list nil derived-mode-p text-mode auto-fill-mode 1 0 message "Auto Fill %s in Text modes" "enabled" "disabled"] 4 (#$ . 7202) nil])
(define-key facemenu-keymap "S" 'center-paragraph)
#@96 Center each nonblank line in the paragraph at or after point.
See `center-line' for more info.
(defalias 'center-paragraph #[nil "\212\301 \210n\204\f\302\303!\210`\304 \210\305`\"*\207" [end forward-paragraph newline 1 backward-paragraph center-region] 3 (#$ . 7948) nil])
#@84 Center each nonblank line starting in the region.
See `center-line' for more info.
(defalias 'center-region #[(from to) "	V\203
	\n)\212\214	}\210b\210m?\205.\212\303\304w\210l)\204(\305 \210\306y\210\202*\207" [from to tem " 	" nil center-line 1] 2 (#$ . 8231) "r"])
(define-key facemenu-keymap "s" 'center-line)
#@241 Center the line point is on, within the width specified by `fill-column'.
This means adjusting the indentation so that it equals
the distance between the end of the text and `fill-column'.
The argument NLINES says how many lines to center.
(defalias 'center-line #[(&optional nlines) "\203\304!\305=?\205b\212\306 \307\310 \210\311 \210\307\210\311 \210i\312\n	#\305V\2039\313\n\312\n	#\314\245\\!\210+\204D\305\211\202	\305V\203SS\315y\210\202\305W\203T\316y\210\202\207" [nlines line-length lm fill-column prefix-numeric-value 0 current-left-margin nil beginning-of-line delete-horizontal-space - indent-line-to 2 1 -1] 7 (#$ . 8565) "P"])

MMCT - 2023