%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/whitespace.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301\302\303\304\305\306\307\310\311& \210\312\313\314\315\316DD\317\320\321\310\301&\207" [custom-declare-group whitespace nil "Visualize blanks (TAB, (HARD) SPACE and NEWLINE)." :link (emacs-library-link :tag "Source Lisp File" "whitespace.el") :version "23.1" :group convenience custom-declare-variable whitespace-style funcall function #[0 "\300\207" [(face tabs spaces trailing lines space-before-tab newline indentation empty space-after-tab space-mark tab-mark newline-mark)] 1] "Specify which kind of blank is visualized.\n\nIt's a list containing some or all of the following values:\n\n face enable all visualization via faces (see below).\n\n trailing trailing blanks are visualized via faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n tabs TABs are visualized via faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n spaces SPACEs and HARD SPACEs are visualized via\n faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n lines lines which have columns beyond\n `whitespace-line-column' are highlighted via\n faces.\n Whole line is highlighted.\n It has precedence over `lines-tail' (see\n below).\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n lines-tail lines which have columns beyond\n `whitespace-line-column' are highlighted via\n faces.\n But only the part of line which goes\n beyond `whitespace-line-column' column.\n It has effect only if `lines' (see above)\n is not present in `whitespace-style'\n and if `face' (see above) is present in\n `whitespace-style'.\n\n newline NEWLINEs are visualized via faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n empty empty lines at beginning and/or end of buffer\n are visualized via faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n indentation::tab `tab-width' or more SPACEs at beginning of line\n are visualized via faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n indentation::space TABs at beginning of line are visualized via\n faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n indentation `tab-width' or more SPACEs at beginning of line\n are visualized, if `indent-tabs-mode' (which\n see) is non-nil; otherwise, TABs at beginning\n of line are visualized via faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n big-indent Big indentations are visualized via faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n space-after-tab::tab `tab-width' or more SPACEs after a TAB\n are visualized via faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n space-after-tab::space TABs are visualized when `tab-width' or\n more SPACEs occur after a TAB, via\n faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n space-after-tab `tab-width' or more SPACEs after a TAB\n are visualized, if `indent-tabs-mode'\n (which see) is non-nil; otherwise,\n the TABs are visualized via faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n space-before-tab::tab SPACEs before TAB are visualized via\n faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n space-before-tab::space TABs are visualized when SPACEs occur\n before TAB, via faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n space-before-tab SPACEs before TAB are visualized, if\n `indent-tabs-mode' (which see) is\n non-nil; otherwise, the TABs are\n visualized via faces.\n It has effect only if `face' (see above)\n is present in `whitespace-style'.\n\n space-mark SPACEs and HARD SPACEs are visualized via\n display table.\n\n tab-mark TABs are visualized via display table.\n\n newline-mark NEWLINEs are visualized via display table.\n\nAny other value is ignored.\n\nIf nil, don't visualize TABs, (HARD) SPACEs and NEWLINEs via faces and\nvia display table.\n\nThere is an evaluation order for some values, if they are\nincluded in `whitespace-style' list. For example, if\nindentation, indentation::tab and/or indentation::space are\nincluded in `whitespace-style' list. The evaluation order for\nthese values is:\n\n * For indentation:\n 1. indentation\n 2. indentation::tab\n 3. indentation::space\n\n * For SPACEs after TABs:\n 1. space-after-tab\n 2. space-after-tab::tab\n 3. space-after-tab::space\n\n * For SPACEs before TABs:\n 1. space-before-tab\n 2. space-before-tab::tab\n 3. space-before-tab::space\n\nFor example, if `indentation' and `indentation::space' are\nincluded in `whitespace-style', the `indentation' value is used\ninstead of the `indentation::space' value.\n\nOne reason to not use faces to visualize spaces (i.e., not\ninclude `face' in `whitespace-style') is to use `whitespace-mode'\nonly for cleaning up a buffer. See `whitespace-cleanup' and\n`whitespace-cleanup-region'.\n\nSee also `whitespace-display-mappings' for documentation." :type (set :tag "Kind of Blank" (const :tag "(Face) Face visualization" face) (const :tag "(Face) Trailing TABs, SPACEs and HARD SPACEs" trailing) (const :tag "(Face) TABs" tabs) (const :tag "(Face) SPACEs and HARD SPACEs" spaces) (const :tag "(Face) Lines" lines) (const :tag "(Face) Lines, only overlong part" lines-tail) (const :tag "(Face) NEWLINEs" newline) (const :tag "(Face) Empty Lines At BOB And/Or EOB" empty) (const :tag "(Face) Indentation SPACEs" indentation::tab) (const :tag "(Face) Indentation TABs" indentation::space) (const :tag "(Face) Indentation TABs or SPACEs" indentation) (const :tag "(Face) Too much line indentation" big-indent) (const :tag "(Face) SPACEs after TAB: SPACEs" space-after-tab::tab) (const :tag "(Face) SPACEs after TAB: TABs" space-after-tab::space) (const :tag "(Face) SPACEs after TAB" space-after-tab) (const :tag "(Face) SPACEs before TAB: SPACEs" space-before-tab::tab) (const :tag "(Face) SPACEs before TAB: TABs" space-before-tab::space) (const :tag "(Face) SPACEs before TAB" space-before-tab) (const :tag "(Mark) SPACEs and HARD SPACEs" space-mark) (const :tag "(Mark) TABs" tab-mark) (const :tag "(Mark) NEWLINEs" newline-mark))] 10) #@96 Symbol face used to visualize SPACE. Used when `whitespace-style' includes the value `spaces'. (defvar whitespace-space 'whitespace-space (#$ . 6997)) (byte-code "\300\301\302\303#\210\304\301\305\306\307\310%\207" [make-obsolete-variable whitespace-space "use the face instead." "24.4" custom-declare-face ((((class color) (background dark)) :background "grey20" :foreground "darkgray") (((class color) (background light)) :background "LightYellow" :foreground "lightgray") (t :inverse-video t)) "Face used to visualize SPACE." :group whitespace] 6) #@101 Symbol face used to visualize HARD SPACE. Used when `whitespace-style' includes the value `spaces'. (defvar whitespace-hspace 'whitespace-hspace (#$ . 7555)) (byte-code "\300\301\302\303#\210\304\301\305\306\307\310%\207" [make-obsolete-variable whitespace-hspace "use the face instead." "24.4" custom-declare-face ((((class color) (background dark)) :background "grey24" :foreground "darkgray") (((class color) (background light)) :background "LemonChiffon3" :foreground "lightgray") (t :inverse-video t)) "Face used to visualize HARD SPACE." :group whitespace] 6) #@92 Symbol face used to visualize TAB. Used when `whitespace-style' includes the value `tabs'. (defvar whitespace-tab 'whitespace-tab (#$ . 8127)) (byte-code "\300\301\302\303#\210\304\301\305\306\307\310%\207" [make-obsolete-variable whitespace-tab "customize the face `whitespace-tab' instead." "24.4" custom-declare-face ((((class color) (background dark)) :background "grey22" :foreground "darkgray") (((class color) (background light)) :background "beige" :foreground "lightgray") (t :inverse-video t)) "Face used to visualize TAB." :group whitespace] 6) #@167 Symbol face used to visualize NEWLINE char mapping. See `whitespace-display-mappings'. Used when `whitespace-style' includes the values `newline-mark' and `newline'. (defvar whitespace-newline 'whitespace-newline (#$ . 8690)) (byte-code "\300\301\302\303#\210\304\301\305\306\307\310%\207" [make-obsolete-variable whitespace-newline "use the face instead." "24.4" custom-declare-face ((default :weight normal) (((class color) (background dark)) :foreground "darkgray") (((class color) (min-colors 88) (background light)) :foreground "lightgray") (((class color) (background light)) :foreground "brown") (t :underline t)) "Face used to visualize NEWLINE char mapping.\n\nSee `whitespace-display-mappings'." :group whitespace] 6) #@108 Symbol face used to visualize trailing blanks. Used when `whitespace-style' includes the value `trailing'. (defvar whitespace-trailing 'whitespace-trailing (#$ . 9425)) (byte-code "\300\301\302\303#\210\304\301\305\306\307\310%\207" [make-obsolete-variable whitespace-trailing "use the face instead." "24.4" custom-declare-face ((default :weight bold) (((class mono)) :inverse-video t :underline t) (t :background "red1" :foreground "yellow")) "Face used to visualize trailing blanks." :group whitespace] 6) #@131 Symbol face used to visualize "long" lines. See `whitespace-line-column'. Used when `whitespace-style' includes the value `line'. (defvar whitespace-line 'whitespace-line (#$ . 9940)) (byte-code "\300\301\302\303#\210\304\301\305\306\307\310%\207" [make-obsolete-variable whitespace-line "use the face instead." "24.4" custom-declare-face ((((class mono)) :inverse-video t :weight bold :underline t) (t :background "gray20" :foreground "violet")) "Face used to visualize \"long\" lines.\n\nSee `whitespace-line-column'." :group whitespace] 6) #@118 Symbol face used to visualize SPACEs before TAB. Used when `whitespace-style' includes the value `space-before-tab'. (defvar whitespace-space-before-tab 'whitespace-space-before-tab (#$ . 10490)) (byte-code "\300\301\302\303#\210\304\301\305\306\307\310%\207" [make-obsolete-variable whitespace-space-before-tab "use the face instead." "24.4" custom-declare-face ((((class mono)) :inverse-video t :weight bold :underline t) (t :background "DarkOrange" :foreground "firebrick")) "Face used to visualize SPACEs before TAB." :group whitespace] 6) #@144 Symbol face used to visualize `tab-width' or more SPACEs at beginning of line. Used when `whitespace-style' includes the value `indentation'. (defvar whitespace-indentation 'whitespace-indentation (#$ . 11041)) (byte-code "\300\301\302\303#\210\304\301\305\306\307\310%\210\304\311\312\313\307\310%\207" [make-obsolete-variable whitespace-indentation "use the face instead." "24.4" custom-declare-face ((((class mono)) :inverse-video t :weight bold :underline t) (t :background "yellow" :foreground "firebrick")) "Face used to visualize `tab-width' or more SPACEs at beginning of line." :group whitespace whitespace-big-indent ((((class mono)) :inverse-video t :weight bold :underline t) (t :background "red" :foreground "firebrick")) "Face used to visualize big indentation."] 6) #@135 Symbol face used to visualize empty lines at beginning and/or end of buffer. Used when `whitespace-style' includes the value `empty'. (defvar whitespace-empty 'whitespace-empty (#$ . 11830)) (byte-code "\300\301\302\303#\210\304\301\305\306\307\310%\207" [make-obsolete-variable whitespace-empty "use the face instead." "24.4" custom-declare-face ((((class mono)) :inverse-video t :weight bold :underline t) (t :background "yellow" :foreground "firebrick")) "Face used to visualize empty lines at beginning and/or end of buffer." :group whitespace] 6) #@136 Symbol face used to visualize `tab-width' or more SPACEs after TAB. Used when `whitespace-style' includes the value `space-after-tab'. (defvar whitespace-space-after-tab 'whitespace-space-after-tab (#$ . 12389)) (byte-code "\300\301\302\303#\210\304\301\305\306\307\310%\210\311\312\313\314\315DD\316\317\320\307\310&\210\311\321\313\314\322DD\323\317\324\307\310&\210\311\325\313\314\326DD\327\317\330\307\310&\210\311\331\313\314\332DD\333\317\334\307\310&\210\311\335\313\314\336DD\337\317\340\307\310&\210\311\341\313\314\342DD\343\317\344\307\310&\210\311\345\313\314\346DD\347\317\350\307\310&\210\311\351\313\314\352DD\353\317\354\307\310&\210\311\355\313\314\356DD\357\317\360\307\310&\210\311\361\313\314\362DD\363\364\365\317\366\307\310& \210\311\367\313\314\370DD\371\317\372\373\374\307\310& \210\311\375\313\314\376DD\377\317\201@ \307\310&\210\311\201A \313\314\201B DD\201C \317\201D \307\310&\210\311\201E \313\314\201F DD\201G \317\201H \307\310&\207" [make-obsolete-variable whitespace-space-after-tab "use the face instead." "24.4" custom-declare-face ((((class mono)) :inverse-video t :weight bold :underline t) (t :background "yellow" :foreground "firebrick")) "Face used to visualize `tab-width' or more SPACEs after TAB." :group whitespace custom-declare-variable whitespace-hspace-regexp funcall function #[0 "\300\207" [#1="\\( +\\)"] 1 #1#] "Specify HARD SPACE characters regexp.\n\nHere are some examples:\n\n \"\\\\(^\\xA0+\\\\)\" visualize only leading HARD SPACEs.\n \"\\\\(\\xA0+$\\\\)\" visualize only trailing HARD SPACEs.\n \"\\\\(^\\xA0+\\\\|\\xA0+$\\\\)\" visualize leading and/or trailing HARD SPACEs.\n \"\\t\\\\(\\xA0+\\\\)\\t\" visualize only HARD SPACEs between TABs.\n\nNOTE: Enclose always by \\\\( and \\\\) the elements to highlight.\n Use exactly one pair of enclosing \\\\( and \\\\).\n\nUsed when `whitespace-style' includes `spaces'." :type (regexp :tag "HARD SPACE Chars") whitespace-space-regexp #[0 "\300\207" [#2="\\( +\\)"] 1 #2#] "Specify SPACE characters regexp.\n\nIf you're using `mule' package, there may be other characters\nbesides \" \" that should be considered SPACE.\n\nHere are some examples:\n\n \"\\\\(^ +\\\\)\" visualize only leading SPACEs.\n \"\\\\( +$\\\\)\" visualize only trailing SPACEs.\n \"\\\\(^ +\\\\| +$\\\\)\" visualize leading and/or trailing SPACEs.\n \"\\t\\\\( +\\\\)\\t\" visualize only SPACEs between TABs.\n\nNOTE: Enclose always by \\\\( and \\\\) the elements to highlight.\n Use exactly one pair of enclosing \\\\( and \\\\).\n\nUsed when `whitespace-style' includes `spaces'." (regexp :tag "SPACE Chars") whitespace-tab-regexp #[0 "\300\207" [#3="\\( +\\)"] 1 #3#] "Specify TAB characters regexp.\n\nIf you're using `mule' package, there may be other characters\nbesides \"\\t\" that should be considered TAB.\n\nHere are some examples:\n\n \"\\\\(^\\t+\\\\)\" visualize only leading TABs.\n \"\\\\(\\t+$\\\\)\" visualize only trailing TABs.\n \"\\\\(^\\t+\\\\|\\t+$\\\\)\" visualize leading and/or trailing TABs.\n \" \\\\(\\t+\\\\) \" visualize only TABs between SPACEs.\n\nNOTE: Enclose always by \\\\( and \\\\) the elements to highlight.\n Use exactly one pair of enclosing \\\\( and \\\\).\n\nUsed when `whitespace-style' includes `tabs'." (regexp :tag "TAB Chars") whitespace-trailing-regexp #[0 "\300\207" [#4="\\([ ]+\\)$"] 1 #4#] "Specify trailing characters regexp.\n\nThere may be other characters besides:\n\n \" \" \"\\t\" \"\\u00A0\"\n\nthat should be considered blank.\n\nNOTE: Enclose always by \"\\\\(\" and \"\\\\)$\" the elements to highlight.\n Use exactly one pair of enclosing elements above.\n\nUsed when `whitespace-style' includes `trailing'." (regexp :tag "Trailing Chars") whitespace-space-before-tab-regexp #[0 "\300\207" [#5="\\( +\\)\\( +\\)"] 1 #5#] "Specify SPACEs before TAB regexp.\n\nUsed when `whitespace-style' includes `space-before-tab',\n`space-before-tab::tab' or `space-before-tab::space'." (regexp :tag "SPACEs Before TAB") whitespace-indentation-regexp #[0 "\300\207" [("^ *\\(\\( \\{%d\\}\\)+\\)[^\n ]" . "^ *\\( +\\)[^\n]")] 1] "Specify regexp for `tab-width' or more SPACEs at beginning of line.\n\nIt is a cons where the cons car is used for SPACEs visualization\nand the cons cdr is used for TABs visualization.\n\nUsed when `whitespace-style' includes `indentation',\n`indentation::tab' or `indentation::space'." (cons (string :tag "Indentation SPACEs") (string :tag "Indentation TABs")) whitespace-empty-at-bob-regexp #[0 "\300\207" [#6="\\`\\(\\([ ]*\n\\)+\\)"] 1 #6#] "Specify regexp for empty lines at beginning of buffer.\n\nUsed when `whitespace-style' includes `empty'." (regexp :tag "Empty Lines At Beginning Of Buffer") whitespace-empty-at-eob-regexp #[0 "\300\207" [#7="^\\([ \n]+\\)\\'"] 1 #7#] "Specify regexp for empty lines at end of buffer.\n\nUsed when `whitespace-style' includes `empty'." (regexp :tag "Empty Lines At End Of Buffer") whitespace-space-after-tab-regexp #[0 "\300\207" [(" +\\(\\( \\{%d,\\}\\)+\\)" . "\\( +\\) \\{%d,\\}")] 1] "Specify regexp for `tab-width' or more SPACEs after TAB.\n\nIt is a cons where the cons car is used for SPACEs visualization\nand the cons cdr is used for TABs visualization.\n\nUsed when `whitespace-style' includes `space-after-tab',\n`space-after-tab::tab' or `space-after-tab::space'." (cons (string :tag "SPACEs After TAB") string) whitespace-big-indent-regexp #[0 "\300\207" [#8="^\\(\\(?: \\{4,\\}\\| \\{32,\\}\\)[ ]*\\)"] 1 #8#] "Specify big indentation regexp.\n\nIf you're using `mule' package, there may be other characters\nbesides \"\\t\" that should be considered TAB.\n\nNOTE: Enclose always by \\\\( and \\\\) the elements to highlight.\n Use exactly one pair of enclosing \\\\( and \\\\).\n\nUsed when `whitespace-style' includes `big-indent'." :version "25.1" (regexp :tag "Detect too much indentation at the beginning of a line") whitespace-line-column #[0 "\300\207" [80] 1] "Specify column beyond which the line is highlighted.\n\nIt must be an integer or nil. If nil, the `fill-column' variable value is\nused.\n\nUsed when `whitespace-style' includes `lines' or `lines-tail'." (choice :tag "Line Length Limit" (integer :tag "Line Length") (const :tag "Use fill-column" nil)) :safe integerp whitespace-display-mappings #[0 "\300\207" [((space-mark 32 [183] [46]) (space-mark 160 [164] [95]) (newline-mark 10 [36 10]) (tab-mark 9 [187 9] [92 9]))] 1] "Specify an alist of mappings for displaying characters.\n\nEach element has the following form:\n\n (KIND CHAR VECTOR...)\n\nWhere:\n\nKIND is the kind of character.\n It can be one of the following symbols:\n\n tab-mark for TAB character\n\n space-mark for SPACE or HARD SPACE character\n\n newline-mark for NEWLINE character\n\nCHAR is the character to be mapped.\n\nVECTOR is a vector of characters to be displayed in place of CHAR.\n The first display vector that can be displayed is used;\n if no display vector for a mapping can be displayed, then\n that character is displayed unmodified.\n\nThe NEWLINE character is displayed using the face given by\n`whitespace-newline' variable.\n\nUsed when `whitespace-style' includes `tab-mark', `space-mark' or\n`newline-mark'." (repeat (list :tag "Character Mapping" (choice :tag "Char Kind" (const :tag "Tab" tab-mark) (const :tag "Space" space-mark) (const :tag "Newline" newline-mark)) (character :tag "Char") (repeat :inline t :tag "Vector List" (vector :tag "" (repeat :inline t :tag "Vector Characters" (character :tag "Char")))))) whitespace-global-modes #[0 "\300\207" [t] 1] "Modes for which global `whitespace-mode' is automagically turned on.\n\nGlobal `whitespace-mode' is controlled by the command\n`global-whitespace-mode'.\n\nIf nil, means no modes have `whitespace-mode' automatically\nturned on.\n\nIf t, all modes that support `whitespace-mode' have it\nautomatically turned on.\n\nElse it should be a list of `major-mode' symbol names for which\n`whitespace-mode' should be automatically turned on. The sense\nof the list is negated if it begins with `not'. For example:\n\n (c-mode c++-mode)\n\nmeans that `whitespace-mode' is turned on for buffers in C and\nC++ modes only." (choice :tag "Global Modes" (const :tag "None" nil) (const :tag "All" t) (set :menu-tag "Mode Specific" :tag "Modes" :value (not) (const :tag "Except" not) (repeat :inline t (symbol :tag "Mode")))) whitespace-action #[0 "\300\207" [nil] 1] "Specify which action is taken when a buffer is visited or written.\n\nIt's a list containing some or all of the following values:\n\n nil no action is taken.\n\n cleanup cleanup any bogus whitespace always when local\n whitespace is turned on.\n See `whitespace-cleanup' and\n `whitespace-cleanup-region'.\n\n report-on-bogus report if there is any bogus whitespace always\n when local whitespace is turned on.\n\n auto-cleanup cleanup any bogus whitespace when buffer is\n written.\n See `whitespace-cleanup' and\n `whitespace-cleanup-region'.\n\n abort-on-bogus abort if there is any bogus whitespace and the\n buffer is written.\n\n warn-if-read-only give a warning if `cleanup' or `auto-cleanup'\n is included in `whitespace-action' and the\n buffer is read-only.\n\nAny other value is treated as nil." (choice :tag "Actions" (const :tag "None" nil) (repeat :tag "Action List" (choice :tag "Action" (const :tag "Cleanup When On" cleanup) (const :tag "Report On Bogus" report-on-bogus) (const :tag "Auto Cleanup" auto-cleanup) (const :tag "Abort On Bogus" abort-on-bogus) (const :tag "Warn If Read-Only" warn-if-read-only))))] 10) #@99 Non-nil if Whitespace mode is enabled. Use the command `whitespace-mode' to change this variable. (defvar whitespace-mode nil (#$ . 22016)) (make-variable-buffer-local 'whitespace-mode) #@401 Toggle whitespace visualization (Whitespace mode). If called interactively, enable Whitespace mode if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'; disable the mode otherwise. See also `whitespace-style', `whitespace-newline' and `whitespace-display-mappings'. (fn &optional ARG) (defalias 'whitespace-mode #[256 "\302 \303=\203 ?\202 \304!\305V \203 \306\202, \203) \307 \210\310 \210\202, \311 \210\312\313\2036 \314\2027 \315\"\210\316\317!\203[ \302 \203K \211\302 \232\203[ \320\321\322\203V \323\202W \324#\266\210\325 \210\207" [whitespace-mode noninteractive current-message toggle prefix-numeric-value 0 nil whitespace-turn-on whitespace-action-when-on whitespace-turn-off run-hooks whitespace-mode-hook whitespace-mode-on-hook whitespace-mode-off-hook called-interactively-p any " in current buffer" message "Whitespace mode %sabled%s" "en" "dis" force-mode-line-update] 7 (#$ . 22209) (byte-code "\206 \301C\207" [current-prefix-arg toggle] 1)]) (defvar whitespace-mode-hook nil) (byte-code "\301\302N\204\f \303\301\302\304#\210\305\306\307\310\300!\205 \311\211%\207" [whitespace-mode-map whitespace-mode-hook variable-documentation put "Hook run after entering or leaving `whitespace-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode whitespace-mode " ws" boundp nil] 6) #@115 Non-nil if Whitespace-Newline mode is enabled. Use the command `whitespace-newline-mode' to change this variable. (defvar whitespace-newline-mode nil (#$ . 23739)) (make-variable-buffer-local 'whitespace-newline-mode) #@600 Toggle newline visualization (Whitespace Newline mode). If called interactively, enable Whitespace-Newline mode if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'; disable the mode otherwise. Use `whitespace-newline-mode' only for NEWLINE visualization exclusively. For other visualizations, including NEWLINE visualization together with (HARD) SPACEs and/or TABs, please, use `whitespace-mode'. See also `whitespace-newline' and `whitespace-display-mappings'. (fn &optional ARG) (defalias 'whitespace-newline-mode #[256 "\303 \304=\203 ?\202 \305!\306V\307\302\203 \310\202 \311!\210)\n\312\313\203. \314\202/ \315\"\210\316\317!\203S \303 \203C \211\303 \232\203S \320\321\322\203N \323\202O \324#\266\210\325 \210\207" [whitespace-newline-mode whitespace-style whitespace-mode current-message toggle prefix-numeric-value 0 (face newline-mark newline) 1 -1 run-hooks whitespace-newline-mode-hook whitespace-newline-mode-on-hook whitespace-newline-mode-off-hook called-interactively-p any " in current buffer" message "Whitespace-Newline mode %sabled%s" "en" "dis" force-mode-line-update] 7 (#$ . 23964) (byte-code "\206 \301C\207" [current-prefix-arg toggle] 1)]) (defvar whitespace-newline-mode-hook nil) (byte-code "\301\302N\204\f \303\301\302\304#\210\305\306\307\310\300!\205 \311\211%\210\312\313\314\315\316DD\317\320\321\322\323\324\325\326\327&\207" [whitespace-newline-mode-map whitespace-newline-mode-hook variable-documentation put "Hook run after entering or leaving `whitespace-newline-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode whitespace-newline-mode " nl" boundp nil custom-declare-variable global-whitespace-mode funcall function #[0 "\300\207" [nil] 1] "Non-nil if Global Whitespace mode is enabled.\nSee the `global-whitespace-mode' command\nfor a description of this minor mode.\nSetting this variable directly does not take effect;\neither customize it (see the info node `Easy Customization')\nor call the function `global-whitespace-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :group whitespace :type boolean] 12) #@424 Toggle whitespace visualization globally (Global Whitespace mode). If called interactively, enable Global Whitespace mode if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'; disable the mode otherwise. See also `whitespace-style', `whitespace-newline' and `whitespace-display-mappings'. (fn &optional ARG) (defalias 'global-whitespace-mode #[256 "\303 \304\301\305=\203 \306\301!?\202 \307!\310V\"\210\203! \311\202t \203N r\312\313\314\"\210\312\315\314\"\210\316 \211\203I \211@\211q\210\n\204B \314 \210A\266\202\2022 \210)\202t r\317\313\314\"\210\317\315\314\"\210\316 \211\203r \211@\211q\210\n\204k \320 \210A\266\202\202[ \210)\321\322\306\301!\203\200 \323\202\201 \324\"\210\325\326!\203\253 \327\301!\210\303 \203\231 \211\303 \232\203\253 \330\331\332\306\301!\203\246 \333\202\247 \334#\266\210\335 \210\306\301!\207" [noninteractive global-whitespace-mode whitespace-mode current-message set-default toggle default-value prefix-numeric-value 0 nil add-hook find-file-hook whitespace-turn-on-if-enabled after-change-major-mode-hook buffer-list remove-hook whitespace-turn-off run-hooks global-whitespace-mode-hook global-whitespace-mode-on-hook global-whitespace-mode-off-hook called-interactively-p any customize-mark-as-set "" message "Global Whitespace mode %sabled%s" "en" "dis" force-mode-line-update] 7 (#$ . 26287) (byte-code "\206 \301C\207" [current-prefix-arg toggle] 1)]) (defvar global-whitespace-mode-hook nil) (byte-code "\301\302N\204\f \303\301\302\304#\210\305\306\307\310\300!\205 \311\211%\207" [global-whitespace-mode-map global-whitespace-mode-hook variable-documentation put "Hook run after entering or leaving `global-whitespace-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode global-whitespace-mode " WS" boundp nil] 6) #@248 Predicate to decide which buffers obey `global-whitespace-mode'. This function is called with no argument and should return non-nil if the current buffer should obey `global-whitespace-mode'. This variable is normally modified via `add-function'. (defvar whitespace-enable-predicate #[0 "\303=\204$ <\203 \242\304=\203 A>?\202! >\202! \305\205A \n?\205A \306 \307H\310=?\205A \306 \307H\311=?\206A \306 \312\230\207" [whitespace-global-modes major-mode noninteractive t not nil buffer-name 0 32 42 "*scratch*"] 2] (#$ . 28285)) (defalias 'whitespace-turn-on-if-enabled #[0 " \205 \301 \207" [whitespace-enable-predicate whitespace-turn-on] 1]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313\314\315&\207" [custom-declare-variable global-whitespace-newline-mode funcall function #[0 "\300\207" [nil] 1] "Non-nil if Global Whitespace-Newline mode is enabled.\nSee the `global-whitespace-newline-mode' command\nfor a description of this minor mode.\nSetting this variable directly does not take effect;\neither customize it (see the info node `Easy Customization')\nor call the function `global-whitespace-newline-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :group whitespace :type boolean] 12) #@634 Toggle global newline visualization (Global Whitespace Newline mode). If called interactively, enable Global Whitespace-Newline mode if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'; disable the mode otherwise. Use `global-whitespace-newline-mode' only for NEWLINE visualization exclusively. For other visualizations, including NEWLINE visualization together with (HARD) SPACEs and/or TABs, please use `global-whitespace-mode'. See also `whitespace-newline' and `whitespace-display-mappings'. (fn &optional ARG) (defalias 'global-whitespace-newline-mode #[256 "\303 \304\301\305=\203 \306\301!?\202 \307!\310V\"\210\311\302 \203# \312\202$ \313!\210\n)\314\315\306\301!\2035 \316\2026 \317\"\210\320\321!\203` \322\301!\210\303 \203N \211\303 \232\203` \323\324\325\306\301!\203[ \326\202\\ \327#\266\210\330 \210\306\301!\207" [whitespace-style global-whitespace-newline-mode global-whitespace-mode current-message set-default toggle default-value prefix-numeric-value 0 (newline-mark newline) 1 -1 run-hooks global-whitespace-newline-mode-hook global-whitespace-newline-mode-on-hook global-whitespace-newline-mode-off-hook called-interactively-p any customize-mark-as-set "" message "Global Whitespace-Newline mode %sabled%s" "en" "dis" force-mode-line-update] 7 (#$ . 29541) (byte-code "\206 \301C\207" [current-prefix-arg toggle] 1)]) (defvar global-whitespace-newline-mode-hook nil) (byte-code "\301\302N\204\f \303\301\302\304#\210\305\306\307\310\300!\205 \311\211%\207" [global-whitespace-newline-mode-map global-whitespace-newline-mode-hook variable-documentation put "Hook run after entering or leaving `global-whitespace-newline-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode global-whitespace-newline-mode " NL" boundp nil] 6) #@42 List of valid `whitespace-style' values. (defconst whitespace-style-value-list '(face tabs spaces trailing lines lines-tail newline empty indentation indentation::tab indentation::space big-indent space-after-tab space-after-tab::tab space-after-tab::space space-before-tab space-before-tab::tab space-before-tab::space help-newline tab-mark space-mark newline-mark) (#$ . 31522)) #@216 Alist of toggle options. Each element has the form: (CHAR . SYMBOL) Where: CHAR is a char which the user will have to type. SYMBOL is a valid symbol associated with CHAR. See `whitespace-style-value-list'. (defconst whitespace-toggle-option-alist '((102 . face) (116 . tabs) (115 . spaces) (114 . trailing) (108 . lines) (76 . lines-tail) (110 . newline) (101 . empty) (9 . indentation) (73 . indentation::tab) (105 . indentation::space) (20 . big-indent) (1 . space-after-tab) (65 . space-after-tab::tab) (97 . space-after-tab::space) (2 . space-before-tab) (66 . space-before-tab::tab) (98 . space-before-tab::space) (84 . tab-mark) (83 . space-mark) (78 . newline-mark) (120 . whitespace-style)) (#$ . 31910)) #@48 Used to save locally `whitespace-style' value. (defvar whitespace-active-style nil (#$ . 32638)) #@102 Used to save locally current point value. Used by function `whitespace-trailing-regexp' (which see). (defvar whitespace-point (point) (#$ . 32742)) #@58 Region whose highlighting depends on `whitespace-point'. (defvar whitespace-point--used nil (#$ . 32896)) (make-variable-buffer-local 'whitespace-point--used) #@114 Used to save locally the font-lock refontify state. Used by function `whitespace-post-command-hook' (which see). (defvar whitespace-font-lock-refontify nil (#$ . 33062)) #@105 Used to save locally the bob marker value. Used by function `whitespace-post-command-hook' (which see). (defvar whitespace-bob-marker nil (#$ . 33239)) #@105 Used to save locally the eob marker value. Used by function `whitespace-post-command-hook' (which see). (defvar whitespace-eob-marker nil (#$ . 33398)) #@139 Used to indicate locally if buffer changed. Used by `whitespace-post-command-hook' and `whitespace-buffer-changed' functions (which see). (defvar whitespace-buffer-changed nil (#$ . 33557)) #@2748 Toggle local `whitespace-mode' options. If local whitespace-mode is off, toggle the option given by ARG and turn on local whitespace-mode. If local whitespace-mode is on, toggle the option given by ARG and restart local whitespace-mode. Interactively, it reads one of the following chars: CHAR MEANING (VIA FACES) f toggle face visualization t toggle TAB visualization s toggle SPACE and HARD SPACE visualization r toggle trailing blanks visualization l toggle "long lines" visualization L toggle "long lines" tail visualization n toggle NEWLINE visualization e toggle empty line at bob and/or eob visualization C-i toggle indentation SPACEs visualization (via `indent-tabs-mode') I toggle indentation SPACEs visualization i toggle indentation TABs visualization C-t toggle big indentation visualization C-a toggle SPACEs after TAB visualization (via `indent-tabs-mode') A toggle SPACEs after TAB: SPACEs visualization a toggle SPACEs after TAB: TABs visualization C-b toggle SPACEs before TAB visualization (via `indent-tabs-mode') B toggle SPACEs before TAB: SPACEs visualization b toggle SPACEs before TAB: TABs visualization (VIA DISPLAY TABLE) T toggle TAB visualization S toggle SPACEs before TAB visualization N toggle NEWLINE visualization x restore `whitespace-style' value ? display brief help Non-interactively, ARG should be a symbol or a list of symbols. The valid symbols are: face toggle face visualization tabs toggle TAB visualization spaces toggle SPACE and HARD SPACE visualization trailing toggle trailing blanks visualization lines toggle "long lines" visualization lines-tail toggle "long lines" tail visualization newline toggle NEWLINE visualization empty toggle empty line at bob and/or eob visualization indentation toggle indentation SPACEs visualization indentation::tab toggle indentation SPACEs visualization indentation::space toggle indentation TABs visualization big-indent toggle big indentation visualization space-after-tab toggle SPACEs after TAB visualization space-after-tab::tab toggle SPACEs after TAB: SPACEs visualization space-after-tab::space toggle SPACEs after TAB: TABs visualization space-before-tab toggle SPACEs before TAB visualization space-before-tab::tab toggle SPACEs before TAB: SPACEs visualization space-before-tab::space toggle SPACEs before TAB: TABs visualization tab-mark toggle TAB visualization space-mark toggle SPACEs before TAB visualization newline-mark toggle NEWLINE visualization whitespace-style restore `whitespace-style' value See `whitespace-style' and `indent-tabs-mode' for documentation. (fn ARG) (defalias 'whitespace-toggle-options #[257 "\302\303#\304\305!\210\304\306!)\207" [whitespace-active-style whitespace-style whitespace-toggle-list t whitespace-mode 0 1] 5 (#$ . 33755) (whitespace-interactive-char t)]) #@53 Used to toggle the global `whitespace-style' value. (defvar whitespace-toggle-style nil (#$ . 36730)) #@2755 Toggle global `whitespace-mode' options. If global whitespace-mode is off, toggle the option given by ARG and turn on global whitespace-mode. If global whitespace-mode is on, toggle the option given by ARG and restart global whitespace-mode. Interactively, it accepts one of the following chars: CHAR MEANING (VIA FACES) f toggle face visualization t toggle TAB visualization s toggle SPACE and HARD SPACE visualization r toggle trailing blanks visualization l toggle "long lines" visualization L toggle "long lines" tail visualization n toggle NEWLINE visualization e toggle empty line at bob and/or eob visualization C-i toggle indentation SPACEs visualization (via `indent-tabs-mode') I toggle indentation SPACEs visualization i toggle indentation TABs visualization C-t toggle big indentation visualization C-a toggle SPACEs after TAB visualization (via `indent-tabs-mode') A toggle SPACEs after TAB: SPACEs visualization a toggle SPACEs after TAB: TABs visualization C-b toggle SPACEs before TAB visualization (via `indent-tabs-mode') B toggle SPACEs before TAB: SPACEs visualization b toggle SPACEs before TAB: TABs visualization (VIA DISPLAY TABLE) T toggle TAB visualization S toggle SPACEs before TAB visualization N toggle NEWLINE visualization x restore `whitespace-style' value ? display brief help Non-interactively, ARG should be a symbol or a list of symbols. The valid symbols are: face toggle face visualization tabs toggle TAB visualization spaces toggle SPACE and HARD SPACE visualization trailing toggle trailing blanks visualization lines toggle "long lines" visualization lines-tail toggle "long lines" tail visualization newline toggle NEWLINE visualization empty toggle empty line at bob and/or eob visualization indentation toggle indentation SPACEs visualization indentation::tab toggle indentation SPACEs visualization indentation::space toggle indentation TABs visualization big-indent toggle big indentation visualization space-after-tab toggle SPACEs after TAB visualization space-after-tab::tab toggle SPACEs after TAB: SPACEs visualization space-after-tab::space toggle SPACEs after TAB: TABs visualization space-before-tab toggle SPACEs before TAB visualization space-before-tab::tab toggle SPACEs before TAB: SPACEs visualization space-before-tab::space toggle SPACEs before TAB: TABs visualization tab-mark toggle TAB visualization space-mark toggle SPACEs before TAB visualization newline-mark toggle NEWLINE visualization whitespace-style restore `whitespace-style' value See `whitespace-style' and `indent-tabs-mode' for documentation. (fn ARG) (defalias 'global-whitespace-toggle-options #[257 "\302\303#\211\304\305!\210\304\306!)\207" [whitespace-toggle-style whitespace-style whitespace-toggle-list nil global-whitespace-mode 0 1] 6 (#$ . 36840) (whitespace-interactive-char nil)]) #@2086 Cleanup some blank problems in all buffer or at region. It usually applies to the whole buffer, but in transient mark mode when the mark is active, it applies to the region. It also applies to the region when it is not in transient mark mode, the mark is active and \[universal-argument] was pressed just before calling `whitespace-cleanup' interactively. See also `whitespace-cleanup-region'. The problems cleaned up are: 1. empty lines at beginning of buffer. 2. empty lines at end of buffer. If `whitespace-style' includes the value `empty', remove all empty lines at beginning and/or end of buffer. 3. `tab-width' or more SPACEs at beginning of line. If `whitespace-style' includes the value `indentation': replace `tab-width' or more SPACEs at beginning of line by TABs, if `indent-tabs-mode' is non-nil; otherwise, replace TABs by SPACEs. If `whitespace-style' includes the value `indentation::tab', replace `tab-width' or more SPACEs at beginning of line by TABs. If `whitespace-style' includes the value `indentation::space', replace TABs by SPACEs. 4. SPACEs before TAB. If `whitespace-style' includes the value `space-before-tab': replace SPACEs by TABs, if `indent-tabs-mode' is non-nil; otherwise, replace TABs by SPACEs. If `whitespace-style' includes the value `space-before-tab::tab', replace SPACEs by TABs. If `whitespace-style' includes the value `space-before-tab::space', replace TABs by SPACEs. 5. SPACEs or TABs at end of line. If `whitespace-style' includes the value `trailing', remove all SPACEs or TABs at end of line. 6. `tab-width' or more SPACEs after TAB. If `whitespace-style' includes the value `space-after-tab': replace SPACEs by TABs, if `indent-tabs-mode' is non-nil; otherwise, replace TABs by SPACEs. If `whitespace-style' includes the value `space-after-tab::tab', replace SPACEs by TABs. If `whitespace-style' includes the value `space-after-tab::space', replace TABs by SPACEs. See `whitespace-style', `indent-tabs-mode' and `tab-width' for documentation. (defalias 'whitespace-cleanup #[0 "\203 \306\307!\207 \204 \n\203 \203 \310\311 \312 \"\207\212\313\f>\203D \314eb\210\315!\2034 \316\224\316\225|\210\317\314\320#\203C \316\224\316\225|\210))\310ed\"\207" [buffer-read-only transient-mark-mode current-prefix-arg mark-active whitespace-style overwrite-mode whitespace-warn-read-only "cleanup" whitespace-cleanup-region region-beginning region-end empty nil looking-at 1 re-search-forward t whitespace-empty-at-bob-regexp whitespace-empty-at-eob-regexp] 4 (#$ . 39847) "@"]) #@1557 Cleanup some blank problems at region. The problems cleaned up are: 1. `tab-width' or more SPACEs at beginning of line. If `whitespace-style' includes the value `indentation': replace `tab-width' or more SPACEs at beginning of line by TABs, if `indent-tabs-mode' is non-nil; otherwise, replace TABs by SPACEs. If `whitespace-style' includes the value `indentation::tab', replace `tab-width' or more SPACEs at beginning of line by TABs. If `whitespace-style' includes the value `indentation::space', replace TABs by SPACEs. 2. SPACEs before TAB. If `whitespace-style' includes the value `space-before-tab': replace SPACEs by TABs, if `indent-tabs-mode' is non-nil; otherwise, replace TABs by SPACEs. If `whitespace-style' includes the value `space-before-tab::tab', replace SPACEs by TABs. If `whitespace-style' includes the value `space-before-tab::space', replace TABs by SPACEs. 3. SPACEs or TABs at end of line. If `whitespace-style' includes the value `trailing', remove all SPACEs or TABs at end of line. 4. `tab-width' or more SPACEs after TAB. If `whitespace-style' includes the value `space-after-tab': replace SPACEs by TABs, if `indent-tabs-mode' is non-nil; otherwise, replace TABs by SPACEs. If `whitespace-style' includes the value `space-after-tab::tab', replace SPACEs by TABs. If `whitespace-style' includes the value `space-after-tab::space', replace TABs by SPACEs. See `whitespace-style', `indent-tabs-mode' and `tab-width' for documentation. (fn START END) (defalias 'whitespace-cleanup-region #[514 "\203 \306\307!\207^\310]!\311\211\212\312\n>\203A \313 b\210\314\315#\203= \316 \262\317\224b\210\320 \210l\204 j\210\202 \210\202d \321\n>\203T \322\323\313\324!\317%\210\202d \325\n>\203d \322\326\313\327!\317%\210\330\n>\203r \322\331\332%\210\333\n>\203\214 \322\f\203\201 \323\202\202 \326\334 \332%\210\202\257 \335\n>\203\237 \322\323\334\324!\332%\210\202\257 \336\n>\203\257 \322\326\334\327!\332%\210\337\n>\203\320 \322\f\203\276 \323\202\277 \326 \f\203\312 \317\202\313 \340%\210\202\357 \341\n>\203\341 \322\323 \317%\210\202\357 \342\n>\203\357 \322\326 \340%\210)\311\211\223)\207" [buffer-read-only overwrite-mode whitespace-style whitespace-trailing-regexp indent-tabs-mode whitespace-space-before-tab-regexp whitespace-warn-read-only "cleanup region" copy-marker nil indentation whitespace-indentation-regexp re-search-forward t current-indentation 0 delete-horizontal-space indentation::tab whitespace-replace-action tabify tab indentation::space untabify space trailing delete-region 1 space-after-tab whitespace-space-after-tab-regexp space-after-tab::tab space-after-tab::space space-before-tab 2 space-before-tab::tab space-before-tab::space] 12 (#$ . 42475) "@r"]) #@193 Do ACTION in the string matched by REGEXP between RSTART and REND. INDEX is the level group matched by REGEXP and used by ACTION. See also `tab-width'. (fn ACTION RSTART REND REGEXP INDEX) (defalias 'whitespace-replace-action #[1285 "b\210\300\301#\205 \211\225b\210\224\225\"\210\202 \207" [re-search-forward t] 9 (#$ . 45307)]) #@76 Return REGEXP depending on `indent-tabs-mode'. (fn REGEXP &optional KIND) (defalias 'whitespace-regexp #[513 "\302\303=\204 \203 @\202 \304=\204 ?\205 A \"\207" [indent-tabs-mode tab-width format tab space] 5 (#$ . 45654)]) #@85 Return the indentation regexp depending on `indent-tabs-mode'. (fn &optional KIND) (defalias 'whitespace-indentation-regexp #[256 "\301\"\207" [whitespace-indentation-regexp whitespace-regexp] 4 (#$ . 45896)]) #@89 Return the space-after-tab regexp depending on `indent-tabs-mode'. (fn &optional KIND) (defalias 'whitespace-space-after-tab-regexp #[256 "\301\"\207" [whitespace-space-after-tab-regexp whitespace-regexp] 4 (#$ . 46115)]) #@59 List of whitespace bogus symbol and corresponding regexp. (defconst whitespace-report-list (byte-code "\304B\304 B\305\nB\306\307B\310\307B\311\307B\312B\313B\314B\315\307B\316\307B\317\307B\257\f\207" [whitespace-empty-at-bob-regexp whitespace-empty-at-eob-regexp whitespace-trailing-regexp whitespace-space-before-tab-regexp empty trailing indentation nil indentation::tab indentation::space space-before-tab space-before-tab::tab space-before-tab::space space-after-tab space-after-tab::tab space-after-tab::space] 13) (#$ . 46346)) #@181 Text for whitespace bogus report. It is a cons of strings, where the car part is used when `indent-tabs-mode' is non-nil, and the cdr part is used when `indent-tabs-mode' is nil. (defconst whitespace-report-text '(" Whitespace Report\n\n Current Setting Whitespace Problem\n\n empty [] [] empty lines at beginning of buffer\n empty [] [] empty lines at end of buffer\n trailing [] [] SPACEs or TABs at end of line\n indentation [] [] >= `tab-width' SPACEs at beginning of line\n indentation::tab [] [] >= `tab-width' SPACEs at beginning of line\n indentation::space [] [] TABs at beginning of line\n space-before-tab [] [] SPACEs before TAB\n space-before-tab::tab [] [] SPACEs before TAB: SPACEs\n space-before-tab::space [] [] SPACEs before TAB: TABs\n space-after-tab [] [] >= `tab-width' SPACEs after TAB\n space-after-tab::tab [] [] >= `tab-width' SPACEs after TAB: SPACEs\n space-after-tab::space [] [] >= `tab-width' SPACEs after TAB: TABs\n\n indent-tabs-mode =\n tab-width = \n\n" . " Whitespace Report\n\n Current Setting Whitespace Problem\n\n empty [] [] empty lines at beginning of buffer\n empty [] [] empty lines at end of buffer\n trailing [] [] SPACEs or TABs at end of line\n indentation [] [] TABs at beginning of line\n indentation::tab [] [] >= `tab-width' SPACEs at beginning of line\n indentation::space [] [] TABs at beginning of line\n space-before-tab [] [] SPACEs before TAB\n space-before-tab::tab [] [] SPACEs before TAB: SPACEs\n space-before-tab::space [] [] SPACEs before TAB: TABs\n space-after-tab [] [] >= `tab-width' SPACEs after TAB\n space-after-tab::tab [] [] >= `tab-width' SPACEs after TAB: SPACEs\n space-after-tab::space [] [] >= `tab-width' SPACEs after TAB: TABs\n\n indent-tabs-mode =\n tab-width = \n\n") (#$ . 46893)) #@46 The buffer name for whitespace bogus report. (defconst whitespace-report-buffer-name "*Whitespace Report*" (#$ . 49060)) #@141 Report some whitespace problems in buffer. Perform `whitespace-report-region' on the current buffer. (fn &optional FORCE REPORT-IF-BOGUS) (defalias 'whitespace-report #[512 "\300ed$\207" [whitespace-report-region] 7 (#$ . 49188) (list current-prefix-arg)]) #@1360 Report some whitespace problems in a region. Return nil if there is no whitespace problem; otherwise, return non-nil. If FORCE is non-nil or \[universal-argument] was pressed just before calling `whitespace-report-region' interactively, it forces all classes of whitespace problem to be considered significant. If REPORT-IF-BOGUS is t, it reports only when there are any whitespace problems in buffer; if it is `never', it does not report problems. Report if some of the following whitespace problems exist: * If `indent-tabs-mode' is non-nil: empty 1. empty lines at beginning of buffer. empty 2. empty lines at end of buffer. trailing 3. SPACEs or TABs at end of line. indentation 4. line starts with `tab-width' or more SPACEs. space-before-tab 5. SPACEs before TAB. space-after-tab 6. `tab-width' or more SPACEs after TAB. * If `indent-tabs-mode' is nil: empty 1. empty lines at beginning of buffer. empty 2. empty lines at end of buffer. trailing 3. SPACEs or TABs at end of line. indentation 4. TABS at beginning of line. space-before-tab 5. SPACEs before TAB. space-after-tab 6. `tab-width' or more SPACEs after TAB. See `whitespace-style' for documentation. See also `whitespace-cleanup' and `whitespace-cleanup-region' for cleaning up these problems. (fn START END &optional FORCE REPORT-IF-BOGUS) (defalias 'whitespace-report-region #[1026 "C\211\206 \242\240\210\212\306C^]\307 \206 \n!C\310\311\312\313\314\315\n\n\n\n\n%\316\"\317\320%\"\203G \321=\204\271 \242\203\271 \322\f!\210 !r\323\f!q\210\324 \210\203a \"@\202d \"Ac\210eb\210\325y\210\211\203\222 \211@\326y\210\327\330@\242>\"\210\327\331@\"\210A\262A\266\202\202m \210\326y\210\332!\210\332!\210\242\203\262 db\210\333\334!\335\333\336!\337\261\210\340p!\210)\266\242\266\205)\207" [current-prefix-arg whitespace-active-style whitespace-style whitespace-report-list whitespace-report-buffer-name indent-tabs-mode nil copy-sequence mapcar make-byte-code 257 "\300\242\203 \304@\304\242B\240\210\302b\210\211@\305=\203 \306 \202^ \211@\307=\203) \306\310!\202^ \211@\311=\2036 \306\312!\202^ \211@\313=\203B \314 \202^ \211@\315=\203O \314\310!\202^ \211@\316=\203\\ \314\312!\202^ \211A\317\303\320#\205t \301\242\204s \301@\304\242>\240\210\320\207" vconcat vector [indentation whitespace-indentation-regexp indentation::tab tab indentation::space space space-after-tab whitespace-space-after-tab-regexp space-after-tab::tab space-after-tab::space re-search-forward t] 6 "\n\n(fn OPTION)" never whitespace-kill-buffer get-buffer-create erase-buffer 3 1 whitespace-mark-x 27 7 whitespace-insert-value substitute-command-keys " Type `\\[whitespace-cleanup]'" " to cleanup the buffer.\n\n" " Type `\\[whitespace-cleanup-region]'" " to cleanup a region.\n\n" whitespace-display-window tab-width whitespace-report-text] 20 (#$ . 49457) "r"]) #@76 Used to save the value `whitespace-color-on' adds to `font-lock-keywords'. (defvar whitespace-font-lock-keywords nil (#$ . 52373)) #@37 Text for whitespace toggle options. (defconst whitespace-help-text " Whitespace Toggle Options | scroll up : SPC or > |\n | scroll down: M-SPC or < |\n FACES \\__________________________/\n [] f - toggle face visualization\n [] t - toggle TAB visualization\n [] s - toggle SPACE and HARD SPACE visualization\n [] r - toggle trailing blanks visualization\n [] l - toggle \"long lines\" visualization\n [] L - toggle \"long lines\" tail visualization\n [] n - toggle NEWLINE visualization\n [] e - toggle empty line at bob and/or eob visualization\n [] C-i - toggle indentation SPACEs visualization (via `indent-tabs-mode')\n [] I - toggle indentation SPACEs visualization\n [] i - toggle indentation TABs visualization\n [] C-t - toggle big indentation visualization\n [] C-a - toggle SPACEs after TAB visualization (via `indent-tabs-mode')\n [] A - toggle SPACEs after TAB: SPACEs visualization\n [] a - toggle SPACEs after TAB: TABs visualization\n [] C-b - toggle SPACEs before TAB visualization (via `indent-tabs-mode')\n [] B - toggle SPACEs before TAB: SPACEs visualization\n [] b - toggle SPACEs before TAB: TABs visualization\n\n DISPLAY TABLE\n [] T - toggle TAB visualization\n [] S - toggle SPACE and HARD SPACE visualization\n [] N - toggle NEWLINE visualization\n\n x - restore `whitespace-style' value\n\n ? - display this text\n\n" (#$ . 52510)) #@48 The buffer name for whitespace toggle options. (defconst whitespace-help-buffer-name "*Whitespace Toggle Options*" (#$ . 54037)) #@53 Insert VALUE at column 20 of next line. (fn VALUE) (defalias 'whitespace-insert-value #[257 "\300y\210\301\302\303\"\210\304\305\"c\207" [1 move-to-column 20 t format "%s"] 4 (#$ . 54172)]) #@90 Insert the mark (`X' or ` ') after NCHARS depending on CONDITION. (fn NCHARS CONDITION) (defalias 'whitespace-mark-x #[514 "u\210\211\203 \300\202\f \301c\207" ["X" " "] 3 (#$ . 54370)]) #@88 Insert the option mark (`X' or ` ') in toggle options buffer. (fn THE-LIST THE-VALUE) (defalias 'whitespace-insert-option-mark #[514 "eb\210\300y\210\211\205* \211@\211\301=\203 \300y\210\202# \302y\210\303\300>\"\210A\266\202\202 \207" [2 help-newline 1 whitespace-mark-x] 8 (#$ . 54566)]) #@52 Display the whitespace toggle options. (fn STYLE) (defalias 'whitespace-help-on #[257 "\303!?\205\"