403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.71
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/emacs/28.2/lisp/obsolete/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/obsolete/fast-lock.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(byte-code "\301\302!\210\303=\203\304 \204\305\306!\210\307\310\311\312\313\310\314\302&\207" [system-type require font-lock ms-dos msdos-long-file-names error "`fast-lock' was written for long file name systems" custom-declare-group fast-lock nil "Font Lock support mode to cache fontification." :load :group] 8)
(defvar fast-lock-mode nil)
(defvar fast-lock-cache-timestamp nil)
(defvar fast-lock-cache-filename nil)
(byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\313%\210\314\310\315\316#\210\300\317\302\303\320DD\321\306\322%\210\300\323\302\303\324DD\325\306\326%\210\300\327\302\303\330DD\331\306\332%\207" [custom-declare-variable fast-lock-minimum-size funcall function #[0 "\300\207" [25600] 1 #1=""] "Minimum size of a buffer for cached fontification.\nOnly buffers more than this can have associated Font Lock cache files saved.\nIf nil, means cache files are never created.\nIf a list, each element should be a cons pair of the form (MAJOR-MODE . SIZE),\nwhere MAJOR-MODE is a symbol or t (meaning the default).  For example:\n ((c-mode . 25600) (c++-mode . 25600) (rmail-mode . 1048576))\nmeans that the minimum size is 25K for buffers in C or C++ modes, one megabyte\nfor buffers in Rmail mode, and size is irrelevant otherwise." :type (choice (const :tag "none" nil) (integer :tag "size") (repeat :menu-tag "mode specific" :tag "mode specific" :value ((t)) (cons :tag "Instance" (radio :tag "Mode" (const :tag "all" t) (symbol :tag "name")) (radio :tag "Size" (const :tag "none" nil) (integer :tag "size"))))) fast-lock-cache-directories #[0 "\300\207" [("~/.emacs-flc")] 1 #1#] "Directories in which Font Lock cache files are saved and read.\nEach item should be either DIR or a cons pair of the form (REGEXP . DIR) where\nDIR is a directory name (relative or absolute) and REGEXP is a regexp.\n\nAn attempt will be made to save or read Font Lock cache files using these items\nuntil one succeeds (i.e., until a readable or writable one is found).  If an\nitem contains REGEXP, DIR is used only if the buffer file name matches REGEXP.\nFor example:\n\n (let ((home (expand-file-name (abbreviate-file-name (file-truename \"~/\")))))\n   (list (cons (concat \"^\" (regexp-quote home)) \".\") \"~/.emacs-flc\"))\n    =>\n ((\"^/your/true/home/directory/\" . \".\") \"~/.emacs-flc\")\n\nwould cause a file's current directory to be used if the file is under your\nhome directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'.\nFor security reasons, it is not advisable to use the file's current directory\nto avoid the possibility of using the cache of another user." (repeat (radio (directory :tag "directory") (cons :tag "Matching" (regexp :tag "regexp") (directory :tag "directory")))) put risky-local-variable t fast-lock-save-events #[0 "\300\207" [(kill-buffer kill-emacs)] 1 #1#] "Events under which caches will be saved.\nValid events are `save-buffer', `kill-buffer' and `kill-emacs'.\nIf concurrent editing sessions use the same associated cache file for a file's\nbuffer, then you should add `save-buffer' to this list." (set (const :tag "buffer saving" save-buffer) (const :tag "buffer killing" kill-buffer) (const :tag "emacs killing" kill-emacs)) fast-lock-save-others #[0 "\300\207" [t] 1 #1#] "If non-nil, save Font Lock cache files irrespective of file owner.\nIf nil, means only buffer files known to be owned by you can have associated\nFont Lock cache files saved.  Ownership may be unknown for networked files." boolean fast-lock-verbose #[0 "\207" [font-lock-verbose] 1 #1#] "If non-nil, means show status messages for cache processing.\nIf a number, only buffers greater than this size have processing messages." (choice (const :tag "never" nil) (other :tag "always" t) (integer :tag "size"))] 6)
#@108 Faces that will be saved in a Font Lock cache file.
If nil, means information for all faces will be saved.
(defvar fast-lock-save-faces nil (#$ . 3877))
#@1144 Toggle Fast Lock mode.
With arg, turn Fast Lock mode on if and only if arg is positive and the buffer
is associated with a file.  Enable it automatically in your `~/.emacs' by:

 (setq font-lock-support-mode \='fast-lock-mode)

If Fast Lock mode is enabled, and the current buffer does not contain any text
properties, any associated Font Lock cache is used if its timestamp matches the
buffer's file, and its `font-lock-keywords' match those that you are using.

Font Lock caches may be saved:
- When you save the file's buffer.
- When you kill an unmodified file's buffer.
- When you exit Emacs, for all unmodified or saved buffers.
Depending on the value of `fast-lock-save-events'.
See also the commands `fast-lock-read-cache' and `fast-lock-save-cache'.

Use \[font-lock-fontify-buffer] to fontify the buffer if the cache is bad.

Various methods of control are provided for the Font Lock cache.  In general,
see variable `fast-lock-cache-directories' and function `fast-lock-cache-name'.
For saving, see variables `fast-lock-minimum-size', `fast-lock-save-events',
`fast-lock-save-others' and `fast-lock-save-faces'.

(fn &optional ARG)
(defalias 'fast-lock-mode #[256 "\306\302!\210\205\302	>?\205\211\203\307!\310V\202\n?\211\203.\204.\311\312!\210\313\314!\207\306\304!\210\315\306\305!\210\315\n\205F?\205F\316 \207" [buffer-file-truename font-lock-inhibit-thing-lock fast-lock-mode font-lock-mode fast-lock-cache-timestamp fast-lock-cache-filename make-local-variable prefix-numeric-value 0 message "Use font-lock-support-mode rather than calling fast-lock-mode" sit-for 2 nil fast-lock-read-cache font-lock-fontified] 4 (#$ . 4038) "P"])
#@400 Read the Font Lock cache for the current buffer.

The following criteria must be met for a Font Lock cache file to be read:
- Fast Lock mode must be turned on in the buffer.
- The buffer must not be modified.
- The buffer's `font-lock-keywords' must match the cache's.
- The buffer file's timestamp must match the cache's.
- Criteria imposed by `fast-lock-cache-directories'.

See `fast-lock-mode'.
(defalias 'fast-lock-read-cache #[0 "\304 \305	\306\301!\210\307\203J	\204J\310@\307\"\3111A\3121<\211\2056\313!\314!\2056\315\305\211\211$00\210\202B0\210\202B\210A\262\210\202
\316!\210	?\205X\307\211\211)\207" [fast-lock-cache-directories font-lock-fontified inhibit-read-only fast-lock-cache-filename buffer-modified-p t make-local-variable nil fast-lock-cache-directory (quit) (error) fast-lock-cache-name file-readable-p load set-buffer-modified-p] 10 (#$ . 5715) nil])
#@721 Save the Font Lock cache of BUFFER or the current buffer.

The following criteria must be met for a Font Lock cache file to be saved:
- Fast Lock mode must be turned on in the buffer.
- The event must be one of `fast-lock-save-events'.
- The buffer must be at least `fast-lock-minimum-size' bytes long.
- The buffer file must be owned by you, or `fast-lock-save-others' must be t.
- The buffer must contain at least one `face' text property.
- The buffer must not be modified.
- The buffer file's timestamp must be the same as the file's on disk.
- The on disk file's timestamp must be different than the buffer's cache.
- Criteria imposed by `fast-lock-cache-directories'.

See `fast-lock-mode'.

(fn &optional BUFFER)
(defalias 'fast-lock-save-cache #[256 "\212\211\203\211q\210\306!\307 \310	\205|\311 ?\205|\312p!\205|\n\232?\205|\205|\313 Y\205|\204B\314 \315\f!\3168\262=\205|\317ed\320\310$\205|
\211\205z\321>\205z\322@\323\"\211\205b\324!\211\203s\325!\203s\326\"\262A\266\203\202L\262\266\203)\207" [fast-lock-minimum-size fast-lock-mode fast-lock-cache-timestamp fast-lock-save-others buffer-file-name fast-lock-cache-directories font-lock-value-in-major-mode visited-file-modtime nil buffer-modified-p verify-visited-file-modtime buffer-size user-uid file-attributes 2 text-property-not-all face (nil error) fast-lock-cache-directory t fast-lock-cache-name file-writable-p fast-lock-save-cache-1] 10 (#$ . 6622) nil])
#@41 Unconditionally turn on Fast Lock mode.
(defalias 'turn-on-fast-lock #[0 "\300\301!\207" [fast-lock-mode t] 2 (#$ . 8092)])
(defalias 'fast-lock-after-fontify-buffer #[0 "\203\302!\203\303!\210\202\304\305\306 \"\210\307\211\207" [fast-lock-cache-filename fast-lock-cache-timestamp file-writable-p delete-file message "File %s font lock cache cannot be deleted" buffer-name nil] 3])
(defalias 'fast-lock-after-unfontify-buffer 'ignore)
(defalias 'fast-lock-save-cache-after-save-file #[0 "\301>\205\302 \207" [fast-lock-save-events save-buffer fast-lock-save-cache] 2])
(defalias 'fast-lock-save-cache-before-kill-buffer #[0 "\301>\205\302 \207" [fast-lock-save-events kill-buffer fast-lock-save-cache] 2])
(defalias 'fast-lock-save-caches-before-kill-emacs #[0 "\301>\205\302\303\304 \"\207" [fast-lock-save-events kill-emacs mapcar fast-lock-save-cache buffer-list] 3])
#@260 Return usable directory based on DIRECTORY.
Returns nil if the directory does not exist, or, if CREATE non-nil, cannot be
created.  DIRECTORY may be a string or a cons pair of the form (REGEXP . DIR).
See `fast-lock-cache-directories'.

(fn DIRECTORY CREATE)
(defalias 'fast-lock-cache-directory #[514 "\204\303\202-;\203\202-\304	!\303\305 \306\307\"\216\310@\")\262\205*A)\262\211\2043\303\207\311!\203:\207\205L\3121J\313\314\"\210\2110\207\210\303\207" [buffer-file-name buffer-file-truename case-fold-search nil expand-file-name match-data make-closure #[0 "\301\300\302\"\207" [V0 set-match-data evaporate] 3] string-match file-accessible-directory-p (error) make-directory t] 7 (#$ . 8990)])
#@762 Return full cache file name using caching DIRECTORY.
If DIRECTORY is `.', the file name is the buffer file name appended with `.flc'.
Otherwise, the file name is constructed from DIRECTORY and the buffer's true
abbreviated file name, with all `/' characters in the name replaced with `#'
characters, and appended with `.flc'.

If the same file has different cache file names when edited on different
machines, e.g., on one machine the cache file name has the prefix `#home',
perhaps due to automount, try putting in your `~/.emacs' something like:

 (setq directory-abbrev-alist (cons \='("^/home/" . "/") directory-abbrev-alist))

Emacs automagically removes the common `/tmp_mnt' automount prefix by default.

See `fast-lock-cache-directory'.

(fn DIRECTORY)
(defalias 'fast-lock-cache-name #[257 "\211\303\230\203\n\304P\207\305	!\n\306>\203\307\202\310\311\312\"\313\305!!\314\315\316\317\320	\"\"\321#\304Q\207" [buffer-file-name buffer-file-truename system-type "." ".flc" expand-file-name (windows-nt cygwin) ((47 35) (35 35 35) (58 59) (59 59 59)) ((47 35) (35 35 35)) make-closure #[257 "\211\300\236A\206	\211C\207" [V0] 3 "\n\n(fn C)"] file-name-as-directory mapconcat char-to-string apply append mapcar ""] 12 (#$ . 9720)])
#@23 

(fn FILE TIMESTAMP)
(defalias 'fast-lock-save-cache-1 #[514 "\305\306!\247\203\307 V\202\310\205\311\312\313 \"\314C\315\316#\216\2030\211\317 \240\210\320\321\"\210\3221u\3231m\212\324\325\326\327	D\327	D\327\330 D\327\nD\327\331 D\257\"\210q\210\332ed	\314\333%\210\211)00\210\202y0\210\334\262\202y\210\335\262\336!\210)\266\211\337\267\207\320\340\313 \"\210\207\320\341\313 \"\210\207" [fast-lock-verbose font-lock-syntactic-keywords font-lock-keywords fast-lock-cache-timestamp fast-lock-cache-filename generate-new-buffer " *fast-lock*" buffer-size t format "Saving %s font lock cache..." buffer-name nil make-closure #[0 "\300\205\301\242\203\302\303\301\242\"\207\302\304!\207" [V0 V1 message #1="%s" nil] 3] current-message message #1# (quit) (error) print fast-lock-cache-data 3 quote fast-lock-get-syntactic-properties fast-lock-get-face-properties write-region quietly error quit kill-buffer #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (quit 132 error 139)) "Saving %s font lock cache...quit" "Saving %s font lock cache...failed"] 16 (#$ . 10974)])
#@105 

(fn VERSION TIMESTAMP SYNTACTIC-KEYWORDS SYNTACTIC-PROPERTIES KEYWORDS FACE-PROPERTIES &rest IGNORED)
(defalias 'fast-lock-cache-data #[1670 "\305!\211\203
\306\307\"\203\306\307\"\262\306	!\306!\262\310 \n\247\203.\311 \nV\202/\n\307	\312U\203P\313 \204P\232\203P\232\203P	\232\204V\314\262\202\255\205_\315\316\317 \"\314C\320\321#\216\203u\211\322 \240\210\323\324\"\210\3251\221\3261\211\327	\"00\210\202\2250\210\330\262\202\225\210\331\262)\266\211\332\267\202\255\323\333\317 \"\210\202\255\323\334\317 \"\210\211\307=\211\307=\205\271\211\207" [font-lock-syntactic-keywords font-lock-keywords fast-lock-verbose font-lock-fontified fast-lock-cache-timestamp font-lock-eval-keywords font-lock-compile-keywords t visited-file-modtime buffer-size 3 buffer-modified-p nil format "Loading %s font lock cache..." buffer-name make-closure #[0 "\300\205\301\242\203\302\303\301\242\"\207\302\304!\207" [V0 V1 message #1="%s" nil] 3] current-message message #1# (quit) (error) fast-lock-add-properties error quit #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (quit 158 error 167)) "Loading %s font lock cache...quit" "Loading %s font lock cache...failed"] 17 (#$ . 12124)])
#@214 Return a list of `face' text properties in the current buffer.
Each element of the list is of the form (VALUE START1 END1 START2 END2 ...)
where VALUE is a `face' property value and STARTx and ENDx are positions.
(defalias 'fast-lock-get-face-properties #[0 "\214~\210\301ed\302\303$\303\211\211\211\203m\304\302\303d$\262\305\302\"\262\306\"\211\262\2035\211ABB\241\210\202b\203Z9\203D>\202W\211@>\204T\211A\211\262\204E\211\262\203bEB\262\301d\302\303$\262\202
\266\205)\207" [fast-lock-save-faces text-property-not-all face nil next-single-property-change get-text-property assoc] 10 (#$ . 13402)])
#@109 Return a list of `syntax-table' text properties in the current buffer.
See `fast-lock-get-face-properties'.
(defalias 'fast-lock-get-syntactic-properties #[0 "\214~\210\300ed\301\302$\302\211\211\211\203H\303\301\302d$\262\304\301\"\262\305\"\211\262\2035\211ABB\241\210\202=EB\262\300d\301\302$\262\202
\266\205)\207" [text-property-not-all syntax-table nil next-single-property-change get-text-property assoc] 10 (#$ . 14048)])
#@224 Add `syntax-table' and `face' text properties to the current buffer.
Any existing `syntax-table' and `face' text properties are removed first.
See `fast-lock-get-face-properties'.

(fn SYNTACTIC-PROPERTIES FACE-PROPERTIES)
(defalias 'fast-lock-add-properties #[514 "\304 \305\211\305\306\307\"\216\305\214~\210\310ed\"\210\211\203A\211@\211\242\243\211\211\2038\311@A@#\210\211AA\262\202#\266A\266\202\202\210\211\205l\211@\211\242\243\211\211\203c\311@A@#\210\211AA\262\202N\266A\266\202\202C\262.\207" [buffer-undo-list inhibit-read-only inhibit-modification-hooks inhibit-point-motion-hooks buffer-modified-p t make-closure #[0 "\300?\205\301\302!\207" [V0 restore-buffer-modified-p nil] 2] font-lock-unfontify-region add-text-properties] 13 (#$ . 14508)])
(byte-code "\302\303!\204\n\304\305!\210\302\306!\204\307\305!\210\310\311!\204\312\311\313\"\210\310\314!\204*\312\314\315\"\210\310\316!\2045\312\316\317\"\210\310\320!\204@\312\320\321\"\210\322\323\324\"\210\322\325\326\"\210\204S\322\327\330\"\210\310\331!\203b\332\305!\210\331\333\305\"\210\333	\236\204m\334	\335\"\336\337!\207" [noninteractive minor-mode-alist boundp font-lock-syntactic-keywords (lambda (#1=#:def-tmp-var) (defvar font-lock-syntactic-keywords #1#)) nil font-lock-inhibit-thing-lock (lambda (#1#) (defvar font-lock-inhibit-thing-lock #1#)) fboundp font-lock-compile-keywords defalias identity font-lock-eval-keywords #[257 "\2119\203\300\301!\203 \202\302\303\"!\207\207" [font-lock-eval-keywords fboundp eval t] 5 "\n\n(fn KEYWORDS)"] font-lock-value-in-major-mode #[257 "\211:\203\236\206\301\236A\207\207" [major-mode t] 3 "\n\n(fn ALIST)"] current-message #[0 "\300\207" [#2=""] 1 #2#] add-hook after-save-hook fast-lock-save-cache-after-save-file kill-buffer-hook fast-lock-save-cache-before-kill-buffer kill-emacs-hook fast-lock-save-caches-before-kill-emacs add-minor-mode (lambda (#1#) (defvar fast-lock-mode #1#)) fast-lock-mode append ((fast-lock-mode nil)) provide fast-lock] 3)

Youez - 2016 - github.com/yon3zu
LinuXploit