Server IP : 111.118.215.189 / Your IP : 18.117.158.174 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/progmodes/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:20 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/progmodes/cc-guess.el ;;; in Emacs version 24.3.1 ;;; 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\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313\314\315& \210\304\316\317\320\310\311\312\313\314\315& \207" [require cc-defs cc-engine cc-styles custom-declare-variable c-guess-offset-threshold 10 "Threshold of acceptable offsets when examining indent information.\nDiscard an examined offset if its absolute value is greater than this.\n\nThe offset of a line included in the indent information returned by\n`c-guess-basic-syntax'." :version "24.1" :type integer :group c c-guess-region-max 50000 "The maximum region size for examining indent information with `c-guess'.\nIt takes a long time to examine indent information from a large region;\nthis option helps you limit that time. `nil' means no limit."] 10) #@34 Currently guessed offsets-alist. (defvar c-guess-guessed-offsets-alist nil (#$ . 1311)) #@33 Currently guessed basic-offset. (defvar c-guess-guessed-basic-offset nil (#$ . 1405)) (defvar c-guess-accumulator nil) (defconst c-guess-conversions '((c . c-lineup-C-comments) (inher-cont . c-lineup-multi-inher) (string . -1000) (comment-intro . c-lineup-comment) (arglist-cont-nonempty . c-lineup-arglist) (arglist-close . c-lineup-close-paren) (cpp-macro . -1000))) #@303 Guess the style in the region up to `c-guess-region-max', and install it. The style is given a name based on the file's absolute file name. If given a prefix argument (or if the optional argument ACCUMULATE is non-nil) then the previous guess is extended, otherwise a new guess is made from scratch. (defalias 'c-guess #[(&optional accumulate) "\302ed\206 d^ #\207" [c-guess-region-max accumulate c-guess-region] 4 (#$ . 1781) "P"]) #@238 Guess the style in the region up to `c-guess-region-max'; don't install it. If given a prefix argument (or if the optional argument ACCUMULATE is non-nil) then the previous guess is extended, otherwise a new guess is made from scratch. (defalias 'c-guess-no-install #[(&optional accumulate) "\302ed\206 d^ #\207" [c-guess-region-max accumulate c-guess-region-no-install] 4 (#$ . 2225) "P"]) #@290 Guess the style on the whole current buffer, and install it. The style is given a name based on the file's absolute file name. If given a prefix argument (or if the optional argument ACCUMULATE is non-nil) then the previous guess is extended, otherwise a new guess is made from scratch. (defalias 'c-guess-buffer #[(&optional accumulate) "\301ed#\207" [accumulate c-guess-region] 4 (#$ . 2626) "P"]) #@225 Guess the style on the whole current buffer; don't install it. If given a prefix argument (or if the optional argument ACCUMULATE is non-nil) then the previous guess is extended, otherwise a new guess is made from scratch. (defalias 'c-guess-buffer-no-install #[(&optional accumulate) "\301ed#\207" [accumulate c-guess-region-no-install] 4 (#$ . 3036) "P"]) #@275 Guess the style on the region and install it. The style is given a name based on the file's absolute file name. If given a prefix argument (or if the optional argument ACCUMULATE is non-nil) then the previous guess is extended, otherwise a new guess is made from scratch. (defalias 'c-guess-region #[(start end &optional accumulate) "\303 \n#\210\304 \207" [start end accumulate c-guess-region-no-install c-guess-install] 4 (#$ . 3403) "r\nP"]) (defalias 'c-guess-empty-line-p #[nil "\300 \301 =\207" [line-beginning-position line-end-position] 2]) (put 'c-guess-empty-line-p 'byte-optimizer 'byte-compile-inline-expand) #@794 Guess the style on the region; don't install it. Every line of code in the region is examined and values for the following two variables are guessed: * `c-basic-offset', and * the indentation values of the various syntactic symbols in `c-offsets-alist'. The guessed values are put into `c-guess-guessed-basic-offset' and `c-guess-guessed-offsets-alist'. Frequencies of use are taken into account when guessing, so minor inconsistencies in the indentation style shouldn't produce wrong guesses. If given a prefix argument (or if the optional argument ACCUMULATE is non-nil) then the previous examination is extended, otherwise a new guess is made from scratch. Note that the larger the region to guess in, the slower the guessing. So you can limit the region with `c-guess-region-max'. (defalias 'c-guess-region-no-install #[(start end &optional accumulate) "\205 \306\f\n#\307 !\211@ A\211 *\207" [accumulate c-guess-accumulator accumulator start end pair c-guess-examine c-guess-guess c-guess-guessed-basic-offset c-guess-guessed-offsets-alist] 5 (#$ . 4034) "r\nP"]) (defalias 'c-guess-examine #[(start end accumulator) "\306\307!\205 \307\310 #\212b\210` W\203e \311 \312 =\204A \313\314\315 \316\211\316\317\211\317\211\317\320\216\321 .\n\"\210\n\203_ \n`\247\203X \n@Y\205] \322\n\"*\210\323y\210\202 )\n\203n \324\n!\210)\325!\207" [start end reporter modified buffer-undo-list inhibit-read-only fboundp make-progress-reporter "Examining Indentation " line-beginning-position line-end-position mapc #[(s) "\302 \"\206 \211\207" [accumulator s c-guess-accumulate] 3] buffer-modified-p t nil ((byte-code "\204 \301 \203 \302\303!\210\303\207" [modified buffer-modified-p set-buffer-modified-p nil] 2)) c-guess-basic-syntax progress-reporter-do-update 1 progress-reporter-done c-guess-sort-accumulator inhibit-point-motion-hooks before-change-functions after-change-functions deactivate-mark buffer-file-name buffer-file-truename value accumulator] 5]) (defalias 'c-guess-guess #[(accumulator) "\306!\307!\310\n \"\311\312\f!\" ,B\207" [accumulator basic-offset typical-offsets-alist symbolic-offsets-alist c-guess-conversions merged-offsets-alist c-guess-make-basic-offset c-guess-make-offsets-alist c-guess-symbolize-offsets-alist c-guess-merge-offsets-alists copy-tree] 3]) (defalias 'c-guess-current-offset #[(relpos) "\301 \210i\212b\210i)Z\207" [relpos back-to-indentation] 2]) (defalias 'c-guess-accumulate #[(accumulator syntax-element) "@\211A@)\n\247\205\"