%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/textmodes/ |
Current File : //usr/local/share/emacs/27.2/lisp/textmodes/flyspell.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306\307\310\311\312\301\312\313&\210\314\315\316\317\320DD\321\312\303\322\323&\210\314\324\316\317\325DD\326\312\303\322\323&\210\314\327\316\317\330DD\331\312\303\322\323\332\333& \210\314\334\316\317\335DD\336\312\303\322\337\332\340& \210\314\341\316\317\342DD\343\312\303\332\344\322\323& \210\314\345\316\317\346DD\347\332\350\322\317\312\303& \207" [require ispell custom-declare-group flyspell nil "Spell checking on the fly." :tag "FlySpell" :prefix "flyspell-" :group processes custom-declare-variable flyspell-highlight-flag funcall function #[0 "\300\207" [t] 1] "How Flyspell should indicate misspelled words.\nNon-nil means use highlight, nil means use minibuffer messages." :type boolean flyspell-mark-duplications-flag #[0 "\300\207" [t] 1] "Non-nil means Flyspell reports a repeated word as an error.\nSee `flyspell-mark-duplications-exceptions' to add exceptions to this rule.\nDetection of repeated words is not implemented in\n\"large\" regions; see variable `flyspell-large-region'." flyspell-case-fold-duplications #[0 "\300\207" [t] 1] "Non-nil means Flyspell matches duplicate words case-insensitively." :version "27.1" flyspell-mark-duplications-exceptions #[0 "\300\207" [((nil "that" "had") ("\\`francais" "nous" "vous"))] 1] "A list of exceptions for duplicated words.\nIt should be a list of (LANGUAGE . EXCEPTION-LIST).\n\nLANGUAGE is nil, which means the exceptions apply regardless of\nthe current dictionary, or a regular expression matching the\ndictionary name (`ispell-local-dictionary' or\n`ispell-dictionary') for which the exceptions should apply.\n\nEXCEPTION-LIST is a list of strings. The checked word is\ndowncased before comparing with these exceptions." (alist :key-type (choice (const :tag "All dictionaries" nil) string) :value-type (repeat string)) "24.1" flyspell-sort-corrections #[0 "\300\207" [nil] 1] "If non-nil, sort the corrections before popping them.\nThe sorting is controlled by the `flyspell-sort-corrections-function'\nvariable, and defaults to sorting alphabetically." "21.1" flyspell-sort-corrections-function #[0 "\300\207" [flyspell-sort-corrections-alphabetically] 1] "The function used to sort corrections.\nThis only happens if `flyspell-sort-corrections' is non-nil. The\nfunction takes three parameters -- the two correction candidates\nto be sorted, and the third parameter is the word that's being\ncorrected." "26.1"] 12) #@22 (fn CORR1 CORR2 _) (defalias 'flyspell-sort-corrections-alphabetically #[771 "\231\207" [] 5 (#$ . 2851)]) #@19 (fn CORRS WORD) (defalias 'flyspell-sort #[514 "\203 \301\302\303\304\305\306!\307\"\310\311%\"\207\207" [flyspell-sort-corrections sort make-byte-code 514 " \300#\207" vconcat vector [flyspell-sort-corrections-function] 6 "\n\n(fn C1 C2)"] 10 (#$ . 2968)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\300\314\302\303\315DD\316\306\307\312\317&\210\300\320\302\303\321DD\322\306\307\312\323&\210\300\324\302\303\325DD\326\306\307\312\323&\210\300\327\302\303\330DD\331\306\307\310\332\312\333& \210\300\334\302\303\335DD\336\306\307\312\337&\210\300\340\302\303\341DD\342\306\307\310\332\312\343& \210\300\344\302\303\345DD\346\306\307\310\332\312\347& \210\300\350\302\303\351DD\352\306\307\312\323&\210\300\353\302\303\354DD\355\306\307\312\323&\210\300\356\302\303\357DD\360\306\307\310\332\312\361& \210\300\362\302\303\363DD\364\306\307\310\332\312\365& \210\300\366\302\303\367DD\370\306\307\310\332\312\371& \210\300\372\302\303\373DD\374\306\307\312\323&\210\300\375\302\303\376DD\377\306\307\310\332\312\201@ & \210\300\201A \302\303\201B DD\201C \306\307\310\332\312\323& \210\300\201D \302\303\201E DD\201F \306\307\310\332\312\323& \210\300\201G \302\303\201H DD\201I \306\307\312\201J &\210\300\201K \302\303\201L DD\201M \306\307\310\332\312\201N & \210\300\201O \302\303\201P DD\201Q \306\307\312\303&\210\300\201R \302\303\201S DD\201T \306\307\312\201U &\210\300\201V \302\303\201W DD\201X \306\307\312\201Y &\210\300\201Z \302\303\201[ DD\201\\ \306\307\312\323\201] \201^ \201_ \201` &\210\300\201a \302\303\201b DD\201c \312\201d \306\307&\210\201e \201f \201g \201h #\210\201i \211\203\211@\201f N\203\201g N\204\201j \201g \201f N#\210A\266\202\202\335\210\201k \201f \201g \201l #\207" [custom-declare-variable flyspell-duplicate-distance funcall function #[0 "\300\207" [400000] 1] "The maximum distance for finding duplicates of unrecognized words.\nThis applies to the feature that when a word is not found in the dictionary,\nif the same spelling occurs elsewhere in the buffer,\nFlyspell uses a different face (`flyspell-duplicate') to highlight it.\nThis variable specifies how far to search to find such a duplicate.\n-1 means no limit (search the whole buffer).\n0 means do not search for duplicate unrecognized spellings." :group flyspell :version "24.5" :type (choice (const :tag "no limit" -1) number) flyspell-delay #[0 "\300\207" [3] 1] "The number of seconds to wait before checking, after a \"delayed\" command." number flyspell-persistent-highlight #[0 "\300\207" [t] 1] "Non-nil means misspelled words remain highlighted until corrected.\nIf this variable is nil, only the most recently detected misspelled word\nis highlighted, and the highlight is turned off as soon as point moves\noff the misspelled word.\n\nMake sure this variable is non-nil if you use `flyspell-region'." boolean flyspell-highlight-properties #[0 "\300\207" [t] 1] "Non-nil means highlight incorrect words even if a property exists for this word." flyspell-default-delayed-commands #[0 "\300\207" [(self-insert-command delete-backward-char backward-or-forward-delete-char delete-char scrollbar-vertical-drag backward-delete-char-untabify)] 1] "The standard list of delayed commands for Flyspell.\nSee `flyspell-delayed-commands'." "21.1" (repeat (symbol)) flyspell-delayed-commands #[0 "\300\207" [nil] 1] "List of commands that are \"delayed\" for Flyspell mode.\nAfter these commands, Flyspell checking is delayed for a short time,\nwhose length is specified by `flyspell-delay'." (repeat (symbol)) flyspell-default-deplacement-commands #[0 "\300\207" [(next-line previous-line handle-switch-frame handle-select-window scroll-up scroll-down)] 1] "The standard list of deplacement commands for Flyspell.\nSee variable `flyspell-deplacement-commands'." (repeat (symbol)) flyspell-deplacement-commands #[0 "\300\207" [nil] 1] "List of commands that are \"deplacement\" for Flyspell mode.\nAfter these commands, Flyspell checking is performed only if the previous\ncommand was not the very same command." (repeat (symbol)) flyspell-issue-welcome-flag #[0 "\300\207" [t] 1] "Non-nil means that Flyspell should display a welcome message when started." flyspell-issue-message-flag #[0 "\300\207" [t] 1] "Non-nil means that Flyspell emits messages when checking words." flyspell-incorrect-hook #[0 "\300\207" [nil] 1] "List of functions to be called when incorrect words are encountered.\nEach function is given three arguments. The first two\narguments are the beginning and the end of the incorrect region.\nThe third is either the symbol `doublon' or the list\nof possible corrections as returned by `ispell-parse-output'.\n\nIf any of the functions return non-nil, the word is not highlighted as\nincorrect." hook flyspell-default-dictionary #[0 "\300\207" [nil] 1] "A string that is the name of the default dictionary.\nThis is passed to the `ispell-change-dictionary' when flyspell is started.\nIf the variable `ispell-local-dictionary' or `ispell-dictionary' is non-nil\nwhen flyspell is started, the value of that variable is used instead\nof `flyspell-default-dictionary' to select the default dictionary.\nOtherwise, if `flyspell-default-dictionary' is nil, it means to use\nIspell's ultimate default dictionary." (choice string (const :tag "Default" nil)) flyspell-tex-command-regexp #[0 "\300\207" [#1="\\(\\(begin\\|end\\)[ ]*{\\|\\(cite[a-z*]*\\|label\\|ref\\|eqref\\|usepackage\\|documentclass\\)[ ]*\\(\\[[^]]*\\]\\)?{[^{}]*\\)"] 1 #1#] "A string that is the regular expression that matches TeX commands." string flyspell-check-tex-math-command #[0 "\300\207" [nil] 1] "Non-nil means check even inside TeX math environment.\nTeX math environments are discovered by `texmathp', implemented\ninside AUCTeX package. That package may be found at\nURL `https://www.gnu.org/software/auctex/'" flyspell-dictionaries-that-consider-dash-as-word-delimiter #[0 "\300\207" [("francais" "deutsch8" "norsk")] 1] "List of dictionary names that consider `-' as word delimiter." (repeat (string)) flyspell-abbrev-p #[0 "\300\207" [nil] 1] "If non-nil, add correction to abbreviation table." flyspell-use-global-abbrev-table-p #[0 "\300\207" [nil] 1] "If non-nil, prefer global abbrev table to local abbrev table." flyspell-mode-line-string #[0 "\300\207" [#2=" Fly"] 1 #2#] "String displayed on the mode line when flyspell is active.\nSet this to nil if you don't want a mode line indicator." (choice string (const :tag "None" nil)) flyspell-large-region #[0 "\300\207" [1000] 1] "The threshold that determines if a region is small.\nIf the region is smaller than this number of characters,\n`flyspell-region' checks the words sequentially using regular\nflyspell methods. Else, if the region is large, a new Ispell process is\nspawned for speed.\n\nDoubled words are not detected in a large region, because Ispell\ndoes not check for them.\n\nIf this variable is nil, all regions are treated as small." (choice number (const :tag "All small" nil)) flyspell-insert-function #[0 "\300\207" [insert] 1] "Function for inserting word by flyspell upon correction." flyspell-before-incorrect-word-string #[0 "\300\207" [nil] 1] "String used to indicate an incorrect word starting." (choice string (const nil)) flyspell-after-incorrect-word-string #[0 "\300\207" [nil] 1] "String used to indicate an incorrect word ending." (choice string (const nil)) flyspell-use-meta-tab #[0 "\300\207" [t] 1] "Non-nil means that flyspell uses M-TAB to correct word." :initialize custom-initialize-default :set #[514 "\301\302L\205\n \303#\207" [flyspell-mode-map define-key "\211" flyspell-auto-correct-word] 7 "\n\n(fn SYM VAL)"] flyspell-auto-correct-binding #[0 "\300\207" [[(control 59)]] 1] "The key binding for flyspell auto correction." key-sequence defvaralias flyspell-generic-check-word-p flyspell-generic-check-word-predicate nil (saved-value saved-variable-comment) put make-obsolete-variable "25.1"] 12) #@234 Function providing per-mode customization over which words are flyspelled. Returns t to continue checking, nil otherwise. Flyspell mode sets this variable to whatever is the `flyspell-mode-predicate' property of the major mode name. (defvar flyspell-generic-check-word-predicate nil (#$ . 10947)) (byte-code "\300\301!\210\302\303\304\305#\210\302\306\304\305#\207" [make-variable-buffer-local flyspell-generic-check-word-predicate put mail-mode flyspell-mode-predicate mail-mode-flyspell-verify message-mode] 4) #@73 Function used for `flyspell-generic-check-word-predicate' in Mail mode. (defalias 'mail-mode-flyspell-verify #[0 "\212eb\210\302\303\304!\305Q\306\307#\210`)\310\301!\204 d\202+ \212db\210\311 `\312Z]\307#\210`)`W\203C \212\313 \210\314\315!)\205V `\316\225V\202V `V\203M \306\202V \212\313 \210\314\317!)?\207" [mail-header-separator message-signature-separator re-search-forward "^\\(?:" regexp-quote "\\)?$" nil t boundp re-search-backward 4000 beginning-of-line looking-at "^Subject:" 0 "[>}|]\\|To:"] 6 (#$ . 11466)]) (put 'texinfo-mode 'flyspell-mode-predicate 'texinfo-mode-flyspell-verify) #@76 Function used for `flyspell-generic-check-word-predicate' in Texinfo mode. (defalias 'texinfo-mode-flyspell-verify #[0 "\212\300\301!\210\302\303!)?\207" [forward-word-strictly -1 looking-at "@"] 2 (#$ . 12075)]) (put 'tex-mode 'flyspell-mode-predicate 'tex-mode-flyspell-verify) #@74 Function used for `flyspell-generic-check-word-predicate' in LaTeX mode. (defalias 'tex-mode-flyspell-verify #[0 "\212\300\301\302\303#)?\205( \212`\304 \210\305\306\307 \303#\205$ \211\310\224Y\205$ \211\310\225X\262)?\207" [re-search-backward "^[ ]*%%%[ ]+Local" nil t beginning-of-line re-search-forward "\\\\\\(cite\\|label\\|ref\\){[^}]*}" line-end-position 0] 5 (#$ . 12361)]) (byte-code "\300\301\302\303#\210\300\304\302\303#\210\300\305\302\303#\210\306\307\310\"\207" [put sgml-mode flyspell-mode-predicate sgml-mode-flyspell-verify html-mode nxml-mode autoload sgml-lexical-context "sgml-mode"] 4) #@236 Function used for `flyspell-generic-check-word-predicate' in SGML mode. Tag and attribute names are not spell checked, everything else is. String values of attributes are checked because they can be text like <img alt="Some thing.">. (defalias 'sgml-mode-flyspell-verify #[0 "\300 @\301>?\207" [sgml-lexical-context (tag pi)] 2 (#$ . 12980)]) #@58 Faces corresponding to text in programming-mode buffers. (defvar flyspell-prog-text-faces '(font-lock-string-face font-lock-comment-face font-lock-doc-face) (#$ . 13330)) #@72 Used for `flyspell-generic-check-word-predicate' in programming modes. (defalias 'flyspell-generic-progmode-verify #[0 "\301`e\"?\205 \302`S\303\"\211>\262\207" [flyspell-prog-text-faces eql get-text-property face] 3 (#$ . 13507)]) #@51 Turn on `flyspell-mode' for comments and strings. (defalias 'flyspell-prog-mode #[0 "\302\303\301!\210\304\305\306\"\206 \307\305\306\"\310\311!\210\312\313!\207" [flyspell-generic-check-word-predicate flyspell--prev-meta-tab-binding flyspell-generic-progmode-verify make-local-variable local-key-binding "\211" t global-key-binding flyspell-mode 1 run-hooks flyspell-prog-mode-hook] 3 (#$ . 13748) nil]) #@28 Overlay compatibility kit. (autoload 'make-overlay "overlay" '(#$ . 14162) t) #@28 Overlay compatibility kit. (autoload 'overlayp "overlay" '(#$ . 14246) t) #@28 Overlay compatibility kit. (autoload 'overlays-in "overlay" '(#$ . 14326) t) #@28 Overlay compatibility kit. (autoload 'delete-overlay "overlay" '(#$ . 14409) t) #@28 Overlay compatibility kit. (autoload 'overlays-at "overlay" '(#$ . 14495) t) #@28 Overlay compatibility kit. (autoload 'overlay-put "overlay" '(#$ . 14578) t) #@28 Overlay compatibility kit. (autoload 'overlay-get "overlay" '(#$ . 14661) t) #@28 Overlay compatibility kit. (autoload 'previous-overlay-change "overlay" '(#$ . 14744) t) #@48 Keymap for Flyspell to put on erroneous words. (defvar flyspell-mouse-map (byte-code "\300 \301\302\303#\210\211\207" [make-sparse-keymap define-key [mouse-2] flyspell-correct-word] 5) (#$ . 14839)) #@60 Minor mode keymap for Flyspell mode--for the whole buffer. (defvar flyspell-mode-map (byte-code "\302 \203\f \303\304\305#\210\303 \306#\210\303\307\310#\210\303\311\305#\210\303\312\313#\210\211\207" [flyspell-use-meta-tab flyspell-auto-correct-binding make-sparse-keymap define-key "\211" flyspell-auto-correct-word flyspell-auto-correct-previous-word [(control 44)] flyspell-goto-next-error [(control 46)] [3 36] flyspell-correct-word-before-point] 5) (#$ . 15045)) #@68 Non-nil means that the `-' char is considered as a word delimiter. (defvar flyspell-consider-dash-as-word-delimiter-flag nil (#$ . 15526)) (make-variable-buffer-local 'flyspell-consider-dash-as-word-delimiter-flag) (defvar flyspell-dash-dictionary nil) (make-variable-buffer-local 'flyspell-dash-dictionary) (defvar flyspell-dash-local-dictionary nil) (byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\210\302\312\313\314\306\307\310\311&\207" [make-variable-buffer-local flyspell-dash-local-dictionary custom-declare-face flyspell-incorrect ((((supports :underline (:style wave))) :underline (:style wave :color "Red1")) (t :underline t :inherit error)) "Flyspell face for misspelled words." :version "24.4" :group flyspell flyspell-duplicate ((((supports :underline (:style wave))) :underline (:style wave :color "DarkOrange")) (t :underline t :inherit warning)) "Flyspell face for words that appear twice in a row.\nSee also `flyspell-duplicate-distance'."] 8) (defvar flyspell-overlay nil) #@95 Non-nil if Flyspell mode is enabled. Use the command `flyspell-mode' to change this variable. (defvar flyspell-mode nil (#$ . 16537)) (make-variable-buffer-local 'flyspell-mode) #@1294 Toggle on-the-fly spell checking (Flyspell mode). If called interactively, enable Flyspell 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. Flyspell mode is a buffer-local minor mode. When enabled, it spawns a single Ispell process and checks each word. The default flyspell behavior is to highlight incorrect words. Bindings: \[ispell-word]: correct words (using Ispell). \[flyspell-auto-correct-word]: automatically correct word. \[flyspell-auto-correct-previous-word]: automatically correct the last misspelled word. \[flyspell-correct-word] (or down-mouse-2): popup correct words. Hooks: This runs `flyspell-mode-hook' after flyspell mode is entered or exit. Remark: `flyspell-mode' uses `ispell-mode'. Thus all Ispell options are valid. For instance, a different dictionary can be used by invoking `ispell-change-dictionary'. Consider using the `ispell-parser' to check your text. For instance consider adding: (add-hook \='tex-mode-hook (function (lambda () (setq ispell-parser \='tex)))) in your init file. \[flyspell-region] checks all words inside a region. \[flyspell-buffer] checks the whole buffer. (fn &optional ARG) (defalias 'flyspell-mode #[256 "\301 \302=\203 ?\202 \303!\304V\211\2030 \3051! \306 0\202, \307\310A\"\210\300\311!\262\210\2023 \312 \210\313\314\203= \315\202>