;ELC ;;; Compiled by cyd@localhost on Mon Apr 23 22:25:16 2007 ;;; from file /home/cyd/emacs/lisp/textmodes/fill.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 "`fill.el' was compiled for Emacs 20 or later")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (custom-declare-group 'fill nil "Indenting and filling text." :link '(custom-manual "(emacs)Filling") :group 'editing) #@331 *Controls criterion for a new paragraph in `fill-individual-paragraphs'. Non-nil means changing indent doesn't end a paragraph. That mode can handle paragraphs with extra indentation on the first line, but it requires separator lines between paragraphs. A value of nil means that any change in indentation starts a new paragraph. (custom-declare-variable 'fill-individual-varying-indent 'nil '(#$ . -685) :type 'boolean :group 'fill) #@59 *Non-nil means put two spaces after a colon when filling. (custom-declare-variable 'colon-double-space 'nil '(#$ . -1125) :type 'boolean :group 'fill) #@195 Mode-specific function to fill a paragraph, or nil if there is none. If the function returns nil, then `fill-paragraph' does its normal work. A value of t means explicitly "do nothing special". (defvar fill-paragraph-function nil (#$ . 1283)) #@72 Non-nil means paragraph filling will try to pay attention to comments. (defvar fill-paragraph-handle-comment t (#$ . 1532)) #@249 *Non-nil means enable "kinsoku" processing on filling paragraphs. Kinsoku processing is designed to prevent certain characters from being placed at the beginning or end of a line by filling. See the documentation of `kinsoku' for more information. (custom-declare-variable 'enable-kinsoku 't '(#$ . -1663) :type 'boolean :group 'fill) #@160 Set the fill prefix to the current line up to point. Filling expects lines to start with the fill prefix and reinserts the fill prefix in each resulting line. (defalias 'set-fill-prefix #[nil "\212\302 \210`)`V\203`{\211\303\232\203\304\202\304) \203(\305\306 \"\207\305\307!\207" [left-margin-pos fill-prefix move-to-left-margin "" nil message "fill-prefix: \"%s\"" "fill-prefix cancelled"] 4 (#$ . 2005) nil]) #@67 *Non-nil means determine a paragraph's fill prefix from its text. (custom-declare-variable 'adaptive-fill-mode 't '(#$ . -2436) :type 'boolean :group 'fill) #@389 *Regexp to match text at start of line that constitutes indentation. If Adaptive Fill mode is enabled, a prefix matching this pattern on the first and second lines of a paragraph is used as the standard indentation for the whole paragraph. If the paragraph has just one line, the indentation is taken from that line, but in that case `adaptive-fill-first-line-regexp' also plays a role. (custom-declare-variable 'adaptive-fill-regexp '"[ ]*\\([-!|#%;>*Ü]+[ ]*\\)*" '(#$ . -2600) :type 'regexp :group 'fill) #@441 *Regexp specifying whether to set fill prefix from a one-line paragraph. When a paragraph has just one line, then after `adaptive-fill-regexp' finds the prefix at the beginning of the line, if it doesn't match this regexp, it is replaced with whitespace. By default, this regexp matches sequences of just spaces and tabs. However, we never use a prefix from a one-line paragraph if it would act as a paragraph-starter on the second line. (custom-declare-variable 'adaptive-fill-first-line-regexp '"\\`[ ]*\\'" '(#$ . -3134) :type 'regexp :group 'fill) #@127 *Function to call to choose a fill prefix for a paragraph, or nil. nil means the function has not determined the fill prefix. (custom-declare-variable 'adaptive-fill-function 'nil '(#$ . -3696) :type '(choice (const nil) function) :group 'fill) #@72 Whether or not filling should try to use the major mode's indentation. (defvar fill-indent-according-to-mode nil (#$ . 3947)) #@377 Return the fill-column to use for this line. The fill-column to use for a buffer is stored in the variable `fill-column', but can be locally modified by the `right-margin' text property, which is subtracted from `fill-column'. The fill column to use for a line is the first column at which the column number equals or exceeds the local fill-column - right-margin difference. (defalias 'current-fill-column #[nil "\212\205P\306 \210`\307\310\210`\310\211\310\211\f \311 \312\"\f\206&\307Z\313 \312\f$\211\f\203K\fSb\210i\211 W\203K\f \202\n ].)\207" [fill-column here here-col eol margin fill-col beginning-of-line 0 nil get-text-property right-margin text-property-not-all change col] 6 (#$ . 4080)]) #@263 Remove extra spaces between words in region. Leave one space between words, two at end of sentences or after colons (depending on values of `sentence-end-double-space', `colon-double-space', and `sentence-end-without-period'). Remove indentation from each line. (defalias 'canonically-space-region #[(beg end) "\306\307 \310Q\212 b\210\311 \n\312\313$\210`\nW\205\224\314\n\315#\205\224\316\225\2031\317\225\316\225V\2031\316\225\202\215\316\225\203Q\317\225 \203@\320\202A\316\212\317\225b\210\321\322x\210`)\\^\202\215\317\224\212\323\322x\210 \203qh\324>\204m\f\203qhz\325U\203q\320\202\213 \203h\326U\203\320\202\213\327h\330\"\203\212\317\202\213\316)\\\317\225|\210\202*\207" [end-spc-re beg end sentence-end-double-space sentence-end-without-period colon-double-space "\\(" sentence-end "\\) *\\| +" subst-char-in-region 9 32 re-search-forward t 1 0 2 " " nil " ]})\"'" (46 63 33) 119 58 char-equal 10] 5 (#$ . 4817) "*r"]) #@72 Return the longest common prefix of strings S1 and S2, or nil if none. (defalias 'fill-common-string-prefix #[(s1 s2) "\303\304\211 \304\211&\211\305=\203\202$\306\n!S\307\n!?\205$\310\nO)\207" [s1 s2 cmp compare-strings nil t abs zerop 0] 8 (#$ . 5780)]) (defalias 'fill-match-adaptive-prefix #[nil "\203  \206 \205\303 !\205\304\305!\306 \nG\\\307 Y?\205$\n)\207" [adaptive-fill-function adaptive-fill-regexp str looking-at match-string-no-properties 0 current-left-margin current-fill-column] 2]) #@311 Compute a fill prefix from the text between FROM and TO. This uses the variables `adaptive-fill-regexp' and `adaptive-fill-function' and `adaptive-fill-first-line-regexp'. `paragraph-start' also plays a role; we reject a prefix based on a one-line paragraph if that prefix would act as a paragraph-separator. (defalias 'fill-context-prefix #[(from to &optional first-line-regexp) "\204 \212\nb\210l\203\306y\210\307 \210\310\211\311 \306y\210` W\203y\307 \210\312!\2032\310\2024\311 \211\205\262\f\204?\313 \314\315\316\"\203e\317\320\321\306\"!Q\322\225\310O\202E\315\f\"\203q \202u\323\f \"*\202\262\f\205\262\203\210\315\f\"\204\225\203\231\315\f\"\203\231\f\202\237\324\325\f!\326\"\315\327P\"\322=?\205\261)+\207" [first-line-regexp adaptive-fill-first-line-regexp from second-line-prefix first-line-prefix to 1 move-to-left-margin nil fill-match-adaptive-prefix looking-at "" "\\`" string-match "\\`[ ]*\\([^ ]+\\)" ".*" regexp-quote match-string 0 fill-common-string-prefix make-string string-width 32 "a" paragraph-start re tmp comment-start-skip result] 7 (#$ . 6308)]) #@75 Don't break a line after the first or before the last word of a sentence. (defalias 'fill-single-word-nobreak-p #[nil "\300\301\302\303 \304R!\2060\212\305\306x\210\307\310!\311U?\205/\305\306x\311U?\205/\312\306x\311U?\205/\300\303 !)\207" [looking-at "[ ]*\\sw+" "\\(?:" sentence-end "\\)[ ]*$" " " nil skip-syntax-backward "w" 0 ".?!:"] 5 (#$ . 7458)]) #@356 Return nil if French style allows breaking the line at point. This is used in `fill-nobreak-predicate' to prevent breaking lines just after an opening paren or just before a closing paren or a punctuation mark such as `?' or `:'. It is common in French writing to put a space at such places, which would normally allow breaking the line at those places. (defalias 'fill-french-nobreak-p #[nil "\300\301!\206$\212\302\303x\210n?\205#\304u\210\300\305!\206#h\306>\205#gz\307=)\207" [looking-at "[ ]*[])}?!;:-]" " " nil -1 "[([{]" (9 32) 119] 2 (#$ . 7828)]) #@208 List of predicates for recognizing places not to break a line. The predicates are called with no arguments, with point at the place to be tested. If it returns t, fill commands do not break the line there. (custom-declare-variable 'fill-nobreak-predicate 'nil '(#$ . 8406) :group 'fill :type 'hook :options '(fill-french-nobreak-p fill-single-word-nobreak-p)) #@72 Non-nil means that fill commands do not break lines in invisible text. (custom-declare-variable 'fill-nobreak-invisible 'nil '(#$ . 8773) :type 'boolean :group 'fill) #@146 Return nil if breaking the line at point is allowed. Can be customized with the variables `fill-nobreak-predicate' and `fill-nobreak-invisible'. (defalias 'fill-nobreak-p #[nil "\203\n\304`!\206Tn?\205T \203%\212\305\306x\210h\307=\205!\310\311!)\206T\212\305\306x\210h\307=\2058\312u\210\310\313 !?)\206T\n\204Q\212\314\306w\210l?\205M\310 !)\206T\315\316!\207" [fill-nobreak-invisible sentence-end-double-space use-hard-newlines paragraph-start line-move-invisible-p " " nil 46 looking-at " \\([^ ]\\|$\\)" -1 sentence-end " " run-hook-with-args-until-success fill-nobreak-predicate] 2 (#$ . 8947)]) (byte-code "\302\303\211\203 @\304@\305A#\210 A\211\204*\303\207" [pair #:--cl-dolist-temp-- ((katakana-jisx0201 . kinsoku) (chinese-gb2312 . kinsoku) (japanese-jisx0208 . kinsoku) (japanese-jisx0212 . kinsoku) (chinese-big5-1 . kinsoku) (chinese-big5-2 . kinsoku)) nil put-charset-property fill-find-break-point-function] 5) #@432 Move point to a proper line breaking position of the current line. Don't move back past the buffer position LIMIT. This function is called when we are going to break the current line after or before a non-ASCII character. If the charset of the character has the property `fill-find-break-point-function', this function calls the property value as a function with one arg LINEBEG. If the charset has no such property, do nothing. (defalias 'fill-find-break-point #[(limit) "g\305!\306 \307=\203h\305! \2119\205 \310 \301N!)\203)\311 \312\"\n\2056\313\n!\2056\n\f!+\207" [ch charset func object limit char-charset nil ascii vectorp get-charset-property fill-find-break-point-function fboundp] 4 (#$ . 9905)]) #@169 Delete the fill prefix from every line except the first. The first line may not even have a fill prefix. Point is moved to just past the fill prefix on the first line. (defalias 'fill-delete-prefix #[(from to prefix) "\203\304\305\"\204\306\307\310\311\312!#\313Q\202\311\nb\210\314y\210` W\2037\315 !\2031`\316\225|\210\314y\210\202 \nb\210\315 !\203D\316\225b\210`)\207" [prefix fpre from to string-match "\\`[ ]*\\'" "[ ]*\\(" replace-regexp-in-string "[ ]+" "[ ]*" regexp-quote "\\)?[ ]*" 1 looking-at 0] 6 (#$ . 10636)]) (add-to-list 'text-property-default-nonsticky '(fill-space . t)) (defalias 'fill-delete-newlines #[(from to justify nosqueeze squeeze-after) "b\210 \204\306 \307P\202$\310\311\306 \"\203#\312\313\314\211\306 \315%\307P\202$\316\n\317 \314\")\320 &\321#\203T`&Y\204-`Sf\322>\204-\323\224f\f>\204-\324\325!\210\202-*b\210'\203\257\326\327&\321#\203\257\330\323\224\331\"\203y\312\330\323\224\331\"!\210\202]\323\224Sfg()\332(!\333H\204\224\332)!\333H\203\253\334\335)!\336\"\204\247\330\323\224S\336\"\203\253\337\340!\210*\202]b\210\341\314w\210\342&\343\325$\210*\203\312+\344=\203\340\345,\206\321`&\"\210&b\210\337\341\314x[!\210b\207" [from colon-double-space sentence-end-without-space string sentence-end-without-space-list eol-double-space-re sentence-end "$" string-match "\\[[^][]*\\(\\.\\)[^][]*\\]" replace-match ".:" nil 1 "[.?!:][])}\"']*$" append re-search-forward t (9 32) 0 insert-and-inherit 32 search-forward "\n" get-text-property fill-space char-category-set 124 get-charset-property char-charset nospace-between-words delete-char -1 " " subst-char-in-region 10 full canonically-space-region to enable-multibyte-characters next prev nosqueeze justify squeeze-after] 6]) #@131 Move to the position where the line should be broken. The break position will be always after LINEBEG and generally before point. (defalias 'fill-move-to-break-point #[(linebeg) "`V\203 b\210\305\306\307#\203\310u\210\311 \203\312x\204 \312\313x\210`Y\203q\314 \315b\210`\nW\205o \204@\311 \205o\312\313w\210\316\317!\203P\310u\210\202j\212\320\313w\210`)\321\317 \315#\203f\322u\210\202i b\210)\313\2021*\207\f\205\212\323`S!\324=\205\203\323`!\324=?\205\212\325!\207" [linebeg first to pos enable-multibyte-characters re-search-backward "[ ]\\|\\c|.\\|.\\c|" 0 1 fill-nobreak-p " " nil line-end-position t looking-at "\\c|" "^ \n " re-search-forward -1 charset-after ascii fill-find-break-point] 4 (#$ . 12423)]) (defalias 'fill-text-properties-at #[(pos) "\304!\305\211\203(\n@\306=\204\n@\n\211A@) BB\n\211AA)\211\204\n *\207" [pos prop-list l x text-properties-at nil composition] 4]) (defalias 'fill-newline #[nil "\303\304x\210\305c\210\306`S`\307`!#\210\310\311!\2034\312`SSf\206\313!\314H\204*\315\225\2034\316`S`\317\320\321!$\210\203?\322`S`\323#\210 \204G\n\204M\324 \210\202P\325 \210 \205^ \326\232?\205^\327 !\207" [fill-nobreak-invisible fill-prefix fill-indent-according-to-mode " " nil 10 set-text-properties fill-text-properties-at looking-at "\\( [ ]*\\)\\(\\c|\\)?" char-category-set 0 124 2 put-text-property fill-space match-string 1 remove-text-properties (invisible t) fill-indent-to-left-margin indent-according-to-mode "" insert-before-markers-and-inherit] 6]) #@67 Indent current line to the column given by `current-left-margin'. (defalias 'fill-indent-to-left-margin #[nil "`\301\302 !\210\303`\304\305$)\207" [beg indent-line-to current-left-margin put-text-property face default] 5 (#$ . 13973)]) #@948 Fill the region as one paragraph. It removes any paragraph breaks in the region and extra newlines at the end, indents and fills lines between the margins given by the `current-left-margin' and `current-fill-column' functions. (In most cases, the variable `fill-column' controls the width.) It leaves point at the beginning of the line following the paragraph. Normally performs justification according to the `current-justification' function, but with a prefix arg, does full justification instead. From a program, optional third arg JUSTIFY can specify any type of justification. Fourth arg NOSQUEEZE non-nil means not to make spaces between words canonical before filling. Fifth arg SQUEEZE-AFTER, if non-nil, means don't canonicalize spaces before that position. Return the `fill-prefix' used for filling. If `sentence-end-double-space' is non-nil, then period followed by one space does not end a sentence, so don't break a line there. (defalias 'fill-region-as-paragraph #[(from to &optional justify nosqueeze squeeze-after) "\306>\204\307 \n^b\210 \n]\310\311w\210`\311\312 \210` ]\nb\210` V\203P`Sf\313=\203P \203H \203A\314`S\315\"\204H\316\317!\210\202#\320u\210\321\202#\322`\321\"\fb\210*\n`V\205J\204f\323 &&'\203\225&\203{&\324\230\203\225\325 \n\"\211&\203\225(\203\225\326\327&\"\203\225\311& b\210\312 \210\204\275 b\210`\nW\203=l\204\267\330 \331 W\203\267\332 \210\317y\210\202\242 \203\307\333 \n\334#\210\335>\204\325\330 \331 W\203\330\332 \210\336 \n&#\210`\337 \n)*%\210 b\210\311+`\nW\203<`+\340\341 !\210`\nW\203,\317u\210\342+!\210\343\311w\210`\nW\203,\344 \210\203\361\212\320y\210\345\311\321#\210)\202\361\nb\210\203\361\345\321\211#\210\202\361)\nb\210m\204G\317u\210&)\207" [justify from to oneleft from-plus-indent use-hard-newlines (t nil none full center left right) full " \n" nil beginning-of-line 10 get-text-property hard delete-backward-char 1 -1 t copy-marker current-justification "" fill-context-prefix string-match "\\`[ ]*\\'" current-indentation current-left-margin fill-indent-to-left-margin remove-list-of-text-properties (hard) (right center) fill-delete-prefix fill-delete-newlines move-to-column current-fill-column fill-move-to-break-point " " fill-newline justify-current-line fill-prefix adaptive-fill-mode fill-indent-according-to-mode nosqueeze squeeze-after linebeg] 7 (#$ . 14218) (progn (barf-if-buffer-read-only) (list (region-beginning) (region-end) (if current-prefix-arg 'full)))]) #@78 If point is inside the string PREFIX at the beginning of line, move past it. (defalias 'skip-line-prefix #[(prefix) "\205`\301 ZGW\205\212\302 \210\303\304!!)\205\305\225b\207" [prefix line-beginning-position beginning-of-line looking-at regexp-quote 0] 3 (#$ . 16746)]) (put 'skip-line-prefix 'byte-optimizer 'byte-compile-inline-expand) #@58 Fill a paragraph in the minibuffer, ignoring the prompt. (defalias 'fill-minibuffer-function #[(arg) "\214\301 d}\210\302!)\207" [arg minibuffer-prompt-end fill-paragraph] 2 (#$ . 17100)]) #@479 Fill paragraph at or after point. Prefix ARG means justify as well. If `sentence-end-double-space' is non-nil, then period followed by one space does not end a sentence, so don't break a line there. the variable `fill-column' controls the width for filling. If `fill-paragraph-function' is non-nil, we call it (passing our argument to it), and if it returns non-nil, we simply return its value. If `fill-paragraph-function' is nil, return the `fill-prefix' used for filling. (defalias 'fill-paragraph #[(arg) "\306=\204'\204\307p!\203'e\310U\203'\206\311\312\306\211 !+\206\225 \203>\f\203> \313\232\203>\312\314 !)\206\225`\312 \203Z\203Z\315\316R\212\317 \210\320\321 !\204k\313\202\221`\322 \210`b\210\203\207\323 #\202\216\324 #*)+\207" [fill-paragraph-function fill-paragraph-handle-comment function arg comment-start comment-end t minibufferp 1 fill-minibuffer-function nil "" fill-comment-paragraph "\\|[ ]*\\(?:" "\\)" move-to-left-margin zerop forward-paragraph backward-paragraph fill-region fill-region-as-paragraph paragraph-start fill-pfx before comment-start-skip beg end use-hard-newlines] 5 (#$ . 17297) (progn (barf-if-buffer-read-only) (list (if current-prefix-arg 'full)))]) #@152 Fill current comment. If we're not in a comment, just return nil so that the caller can take care of filling. JUSTIFY is used as in `fill-paragraph'. (defalias 'fill-comment-paragraph #[(&optional justify) "\306 \210\307\211\211\212\310 \210\311\312 \313\"\211\203#`b\210\314\307x\210n?)\205K \315 {\307\313#\316 \317\f\320Q\"\203K\321\322\f!\323\f\324\307O\325\260\202O\326 \327Q*\212b\210\n\203{+\204e\330i\331\"\202t\330i,\245\332\"\330i,\246\331\"P` {P\202\333 {)-\307\211./\212\214\310 \210\n\203\226\333 \202\303\212\334\324y!\203\245\335*!\204\227\333\311\312 \313\"\206\257`b\210\335*!\203\276`\336\202\301`\337!)\212\336y\210\335*!\204\304`)}\210#\340 \341\342\343!\327\260#$\340 \341\342\344!\327\260$\n\205\363\333\337!0\345 \210`/\346 \210`0=\203\324y\210`., \204*1\203'\347./\"\211\203'\316 \"\204*-\350.]/2\307\212.b\210\335 !?\205C\351 !)%\206I\313.+\207" [comstart comin has-code-and-comment fill-prefix commark comment-start-skip comment-normalize-vars nil beginning-of-line comment-search-forward line-end-position t " " comment-string-strip string-match "" "a" "[ ]*" regexp-quote "[^" -1 "]" "[ ]*\\(?:" "\\)" make-string 32 9 line-beginning-position zerop looking-at 1 2 "\\|[ ]*\\(?:" "\\)\\(?:" default-value paragraph-separate paragraph-start forward-paragraph backward-paragraph fill-context-prefix fill-region-as-paragraph re-search-forward comment-re indent-tabs-mode tab-width comment-fill-prefix beg end after-line adaptive-fill-mode justify] 8 (#$ . 18565)]) #@803 Fill each of the paragraphs in the region. A prefix arg means justify as well. Ordinarily the variable `fill-column' controls the width. Noninteractively, the third argument JUSTIFY specifies which kind of justification to do: `full', `left', `right', `center', or `none' (equivalent to nil). A value of t means handle each paragraph as specified by its text properties. The fourth arg NOSQUEEZE non-nil means to leave whitespace other than line breaks untouched, and fifth arg TO-EOP non-nil means to keep filling to the end of the paragraph (or next hard newline, if variable `use-hard-newlines' is on). Return the fill-prefix used for filling the last paragraph. If `sentence-end-double-space' is non-nil, then period followed by one space does not end a sentence, so don't break a line there. (defalias 'fill-region #[(from to &optional justify nosqueeze to-eop) "\306>\204\307\310\211\211\f ]b\210\203\311\310x\210\312 \210\313`\314\"\f ^\211b\210\315 \210` W\203\252`\310\203y\316` \317\314$\211\203bf\320U\204b Y\204bTb\210\202?\203o T^\202p b\210\202\206\312\321!\210 `^\312\322!\210`\nW\203\217\nb\210`Y\203\242\323`$\202\246b\210*\202. +\207" [justify fill-pfx beg max from to (t nil none full center left right) full nil "\n" forward-paragraph copy-marker t beginning-of-line text-property-any hard 10 1 -1 fill-region-as-paragraph to-eop end initial use-hard-newlines nosqueeze] 5 (#$ . 20142) (progn (barf-if-buffer-read-only) (list (region-beginning) (region-end) (if current-prefix-arg 'full)))]) #@260 *Method of justifying text not otherwise specified. Possible values are `left', `right', `full', `center', or `none'. The requested kind of justification is done whenever lines are filled. The `justification' text-property can locally override this variable. (custom-declare-variable 'default-justification ''left '(#$ . -21726) :type '(choice (const left) (const right) (const full) (const center) (const none)) :group 'fill) (make-variable-buffer-local 'default-justification) #@233 How should we justify this line? This returns the value of the text-property `justification', or the variable `default-justification' if there is no text-property. However, it returns nil rather than `none' to mean "don't justify". (defalias 'current-justification #[nil "\302\212\303\304w\210m\203o\204`S\202`)\305\"\206\211\306=?\205$ )\207" [default-justification j get-text-property " " nil justification none] 4 (#$ . 22212)]) #@711 Set the region's justification style to STYLE. This commands prompts for the kind of justification to use. If the mark is not active, this command operates on the current paragraph. If the mark is active, it operates on the region. However, if the beginning and end of the region are not at paragraph breaks, they are moved to the beginning and end (respectively) of the paragraphs they are in. If variable `use-hard-newlines' is true, all hard newlines are taken to be paragraph breaks. When calling from a program, operates just on region between BEGIN and END, unless optional fourth arg WHOLE-PAR is non-nil. In that case bounds are extended to include entire paragraphs as in the interactive command. (defalias 'set-justification #[(begin end style &optional whole-par) "\212\214\203= \203\306\202\n \203\307\202 \fb\210n\203+m\204+\310u\210\202\311 \210` b\210\312\fx\210\313 \210`*e }\210\314\fd\"\210\315\fd\316$\210\317\fd\320\307$*\207" [whole-par use-hard-newlines paragraph-start paragraph-ignore-fill-prefix begin end "." t 1 backward-paragraph " \n" forward-paragraph unjustify-region put-text-property justification fill-region nil style] 5 (#$ . 22663) (list (if mark-active (region-beginning) (point)) (if mark-active (region-end) (point)) (let ((s (completing-read "Set justification to: " '(("left") ("right") ("full") ("center") ("none")) nil t))) (if (equal s "") (error "")) (intern s)) t)]) #@123 Disable automatic filling for paragraphs in the region. If the mark is not active, this applies to the current paragraph. (defalias 'set-justification-none #[(b e) "\302 \303\304$\207" [b e set-justification none t] 5 (#$ . 24109) (list (if mark-active (region-beginning) (point)) (if mark-active (region-end) (point)))]) #@258 Make paragraphs in the region left-justified. This means they are flush at the left margin and ragged on the right. This is usually the default, but see the variable `default-justification'. If the mark is not active, this applies to the current paragraph. (defalias 'set-justification-left #[(b e) "\302 \303\304$\207" [b e set-justification left t] 5 (#$ . 24439) (list (if mark-active (region-beginning) (point)) (if mark-active (region-end) (point)))]) #@184 Make paragraphs in the region right-justified. This means they are flush at the right margin and ragged on the left. If the mark is not active, this applies to the current paragraph. (defalias 'set-justification-right #[(b e) "\302 \303\304$\207" [b e set-justification right t] 5 (#$ . 24904) (list (if mark-active (region-beginning) (point)) (if mark-active (region-end) (point)))]) #@188 Make paragraphs in the region fully justified. This makes lines flush on both margins by inserting spaces between words. If the mark is not active, this applies to the current paragraph. (defalias 'set-justification-full #[(b e) "\302 \303\304$\207" [b e set-justification full t] 5 (#$ . 25297) (list (if mark-active (region-beginning) (point)) (if mark-active (region-end) (point)))]) #@107 Make paragraphs in the region centered. If the mark is not active, this applies to the current paragraph. (defalias 'set-justification-center #[(b e) "\302 \303\304$\207" [b e set-justification center t] 5 (#$ . 25692) (list (if mark-active (region-beginning) (point)) (if mark-active (region-end) (point)))]) #@667 Do some kind of justification on this line. Normally does full justification: adds spaces to the line to make it end at the column given by `current-fill-column'. Optional first argument HOW specifies alternate type of justification: it can be `left', `right', `full', `center', or `none'. If HOW is t, will justify however the `current-justification' function says to. If HOW is nil or missing, full justification is done by default. Second arg EOP non-nil means that this is the last line of the paragraph, so it will not be stretched by full justification. Third arg NOSQUEEZE non-nil means to leave interior whitespace unchanged, otherwise it is made canonical. (defalias 'justify-current-line #[(&optional how eop nosqueeze) "\306=\203\307 \206\f\310\202!\204\311\202!\312>\204!\311\313>\204\344\314 \315 \316\211\211\211\211\211\317\211\316%&'()*\316\210+\203\\,\204\\\320`\321\"\203\\\306,\322\316x\210n\204\330\323>\203qi*U\204\330`&\324 \210\322\316w\210-\203\236-\325\230\204\236-`d-G`\\^{\232\203\236-Gu\210\202\256.\203\256\326/!\203\256\317\225b\210`(\322\316w\210i%`'&b\210i\327=\203* Z\211\317W\203\363(b\210i%\f\\W\203\347\330%\f\\\306\"\210`\330%!\210`|\210\202\330'b\210%\f\\j\210')U\203\330)`\316\223\210\202\330\331=\203^\332 *\332 Z %ZZ\333\245\\\211%W\203F(b\210i\fW\203:\330\f\306\"\210`\330%!\210`|\210\202\330'b\210\fj\210')U\203\330)`\316\223\210\202\330\311=\203\324\214'&}\2100\204w\334'&\"\210db\210\335\336\316\306#\203\214 T\336\316x\210\202z* Z\211\317V\203\320 \317V\203\320,\204\320\f T\333\245\\  \317V\203\320\336\316w\210\337\340\n \245\341\"!\210\342\336\316\306#\210 S\n \246\f\\\202\253)\202\330\343\344!\210)b\210)\316\211\223\210. \316\207" [how count curr-fracspace nspaces ncols endcol t current-justification none full (none left right center) (none left) current-fill-column point-marker nil 0 get-text-property hard " " (full right) beginning-of-line "" looking-at right move-to-column center current-left-margin 2 canonically-space-region search-backward " " insert-and-inherit make-string 32 search-forward error "Unknown justification value" indent end beg fp-end pos fc use-hard-newlines eop fill-prefix adaptive-fill-mode adaptive-fill-regexp nosqueeze] 12 (#$ . 26010) "*"]) #@274 Remove justification whitespace from current line. If the line is centered or right-justified, this function removes any indentation past the left margin. If the line is full-justified, it removes extra spaces between words. It does nothing in other justification modes. (defalias 'unjustify-current-line #[nil "\302 \211\303=\203 \304\202W\304=\203\304\202W\305=\203(\306 \210\307`\310 \"\202W\311>\205W\212\312\304\313\"\210 \203O \314\230\204O `d G`\\^{\232\203O Gu\210`\315\304w\210`|))\207" [justify fill-prefix current-justification left nil full beginning-of-line-text canonically-space-region line-end-position (center right) move-to-left-margin t "" " "] 6 (#$ . 28366)]) #@342 Remove justification whitespace from region. For centered or right-justified regions, this function removes any indentation past the left margin from each line. For full-justified lines, it removes extra spaces between words. It does nothing in other justification modes. Arguments BEGIN and END are optional; default is the whole buffer. (defalias 'unjustify-region #[(&optional begin end) "\212\214\203\ne}\210 \206eb\210m?\205\302 \210\303y\210\202*\207" [end begin unjustify-current-line 1] 2 (#$ . 29072)]) #@691 Fill paragraphs within the region, allowing varying indentation within each. This command divides the region into "paragraphs", only at paragraph-separator lines, then fills each paragraph using as the fill prefix the smallest indentation of any line in the paragraph. When calling from a program, pass range to fill as first two arguments. Optional third and fourth arguments JUSTIFYP and CITATION-REGEXP: JUSTIFYP to justify paragraphs (prefix arg). When filling a mail message, pass a regexp for CITATION-REGEXP which will match the prefix of a line which is a citation marker plus whitespace, but no other kind of prefix. Also, if CITATION-REGEXP is non-nil, don't fill header lines. (defalias 'fill-nonuniform-paragraphs #[(min max &optional justifyp citation-regexp) "\305\306 \n \f$)\207" [fill-individual-varying-indent min max justifyp citation-regexp t fill-individual-paragraphs] 5 (#$ . 29602) (progn (barf-if-buffer-read-only) (list (region-beginning) (region-end) (if current-prefix-arg 'full)))]) #@940 Fill paragraphs of uniform indentation within the region. This command divides the region into "paragraphs", treating every change in indentation level or prefix as a paragraph boundary, then fills each paragraph using its indentation level as the fill prefix. There is one special case where a change in indentation does not start a new paragraph. This is for text of this form: foo> This line with extra indentation starts foo> a paragraph that continues on more lines. These lines are filled together. When calling from a program, pass the range to fill as the first two arguments. Optional third and fourth arguments JUSTIFY and MAIL-FLAG: JUSTIFY to justify paragraphs (prefix arg), When filling a mail message, pass a regexp for CITATION-REGEXP which will match the prefix of a line which is a citation marker plus whitespace, but no other kind of prefix. Also, if CITATION-REGEXP is non-nil, don't fill header lines. (defalias 'fill-individual-paragraphs #[(min max &optional justify citation-regexp) "\214\212b\210\306 \210` }\210\n\2035m\2045\307\310!\204 \307\311!\2035\307\310!\203/\312\313\314\315#\210\202\316y\210\202` }\210m\204P\317 \210m\204P\307 !\203P\316y\210\2029\320\314w\210m?\205\374\317 \210`\314\211 \203m\307\f!\204u\321\n!\322 !\316y\210n\203\317 \210m\204\340\203\241\307 !\204\340\212\307\f!\205\234 Gu\210\307 !)?\202\335\307\f!\203\340\321\n! GGY)\203\340\212 Gu\210\307\323!\206\313\307 !\206\313\307!)\204\340 \324\232\205\334\n\205\334\307\n!?\204cn\325`#\210n\203\370\204\370\326\327!\210,\2029*\207" [min max citation-regexp paragraph-separate fill-prefix-regexp fill-prefix beginning-of-line looking-at "[ ]*[^ \n]+:" "[ ]*$" search-forward "\n\n" nil move 1 move-to-left-margin " \n" fill-individual-paragraphs-prefix regexp-quote "[ ]" "" fill-region-as-paragraph delete-char -1 start fill-individual-varying-indent this-line-fill-prefix paragraph-start had-newline justify] 4 (#$ . 30624) (progn (barf-if-buffer-read-only) (list (region-beginning) (region-end) (if current-prefix-arg 'full)))]) (defalias 'fill-individual-paragraphs-prefix #[(citation-regexp) "\306\307`\310\311!\"\307`\310\312!\" \204 `\212\313\314w\210`){\202X \203W\n\203W\315 \"\315\n \"\211\316\317\320 \"O\317\321\322!\320Q\f\"\205O\323\f!\323 !Y+\203W\n\202X +\207" [adaptive-fill-first-line-regexp just-one-line-prefix two-lines-prefix citation-regexp one-line-citation-part two-lines-citation-part ".*" fill-context-prefix line-beginning-position 2 3 " " nil fill-individual-paragraphs-citation 0 string-match "[ ]*\\'" "\\`" regexp-quote string-width adjusted-two-lines-citation-part] 6]) (defalias 'fill-individual-paragraphs-citation #[(string citation-regexp) "\203\302 \"\203\303\304 \"\207\305\207 \207" [citation-regexp string string-match match-string 0 ""] 3])