| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 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/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\314DD\315\316\317\306\301&\210\310\320\312\313\321DD\322\316\317\306\301&\210\310\323\312\313\324DD\325\316\326\306\301&\210\310\327\312\313\330DD\331\316\332\306\301\333\334& \210\335\327\336\337#\210\310\340\312\313\341DD\342\316\343\333\344&\210\300\345\302\346\306\301\306\347&\210\350\351\352\353\306\345%\210\350\354\355\356\306\345%\210\350\357\360\356\306\345%\210\350\361\362\356\306\345%\210\350\363\364\356\306\345\333\365&\210\350\366\367\356\306\345\333\365&\210\350\370\371\356\306\345%\210\350\372\373\356\306\345%\210\350\374\375\356\306\345%\210\350\376\377\356\306\345%\210\350\201@ \201A \356\306\345%\207" [custom-declare-group hi-lock nil "Interactively add and remove font-lock patterns for highlighting text." :link (custom-manual "(emacs)Highlight Interactively") :group font-lock custom-declare-variable hi-lock-file-patterns-range funcall function #[0 "\300\207" [10000] 1 #1=""] "Limit of search in a buffer for hi-lock patterns.\nWhen a file is visited and hi-lock mode is on, patterns starting\nup to this limit are added to font-lock's patterns. See documentation\nof functions `hi-lock-mode' and `hi-lock-find-patterns'." :type integer hi-lock-highlight-range #[0 "\300\207" [2000000] 1 #1#] "Size of area highlighted by hi-lock when font-lock not active.\nFont-lock is not active in buffers that do their own highlighting,\nsuch as the buffer created by `list-colors-display'. In those buffers\nhi-lock patterns will only be applied over a range of\n`hi-lock-highlight-range' characters. If font-lock is active then\nhighlighting will be applied throughout the buffer." hi-lock-exclude-modes #[0 "\300\207" [(rmail-mode mime/viewer-mode gnus-article-mode term-mode)] 1 #1#] "List of major modes in which hi-lock will not run.\nFor security reasons since font lock patterns can specify function\ncalls." (repeat symbol) hi-lock-file-patterns-policy #[0 "\300\207" [ask] 1 #1#] "Specify when hi-lock should use patterns found in file.\nIf `ask', prompt when patterns found in buffer; if bound to a function,\nuse patterns when function returns t (function is called with patterns\nas first argument); if nil or `never' or anything else, don't use file\npatterns." (choice (const :tag "Do not use file patterns" never) (const :tag "Ask about file patterns" ask) (function :tag "Function to check file patterns")) :version "22.1" put risky-local-variable t hi-lock-auto-select-face #[0 "\300\207" [nil] 1 #1#] "When nil, highlighting commands prompt for the face to use.\nWhen non-nil, highlighting command determine the faces to use\nby cycling through the faces in `hi-lock-face-defaults'." boolean "24.4" hi-lock-faces "Faces for hi-lock." faces custom-declare-face hi-yellow ((((min-colors 88) (background dark)) (:background "yellow1" :foreground "black")) (((background dark)) (:background "yellow" :foreground "black")) (((min-colors 88)) (:background "yellow1")) (t (:background "yellow"))) "Default face for hi-lock mode." hi-pink ((((background dark)) (:background "pink" :foreground "black")) (t (:background "pink"))) "Face for hi-lock mode." hi-green ((((min-colors 88) (background dark)) (:background "light green" :foreground "black")) (((background dark)) (:background "green" :foreground "black")) (((min-colors 88)) (:background "light green")) (t (:background "green"))) hi-blue ((((background dark)) (:background "light blue" :foreground "black")) (t (:background "light blue"))) hi-salmon ((((min-colors 88) (background dark)) (:background "light salmon" :foreground "black")) (((background dark)) (:background "red" :foreground "black")) (((min-colors 88)) (:background "light salmon")) (t (:background "red"))) "27.1" hi-aquamarine ((((min-colors 88) (background dark)) (:background "aquamarine" :foreground "black")) (((background dark)) (:background "blue" :foreground "black")) (((min-colors 88)) (:background "aquamarine")) (t (:background "blue"))) hi-black-b ((t (:weight bold))) hi-blue-b ((((min-colors 88)) (:weight bold :foreground "blue1")) (t (:weight bold :foreground "blue"))) hi-green-b ((((min-colors 88)) (:weight bold :foreground "green3")) (t (:weight bold :foreground "green"))) hi-red-b ((((min-colors 88)) (:weight bold :foreground "firebrick2")) (t (:weight bold :foreground "red"))) hi-black-hb ((t (:weight bold :height 1.67 :inherit variable-pitch)))] 10)
#@61 Patterns found in file for hi-lock. Should not be changed.
(defvar hi-lock-file-patterns nil (#$ . 4494))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local hi-lock-file-patterns put permanent-local t] 4)
#@63 Patterns provided to hi-lock by user. Should not be changed.
(defvar hi-lock-interactive-patterns nil (#$ . 4731))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local hi-lock-interactive-patterns put permanent-local t] 4)
#@61 Human-readable lighters for `hi-lock-interactive-patterns'.
(defvar hi-lock-interactive-lighters nil (#$ . 4984))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local hi-lock-interactive-lighters put permanent-local t] 4)
#@50 Default faces for hi-lock interactive functions.
(defvar hi-lock-face-defaults '("hi-yellow" "hi-pink" "hi-green" "hi-blue" "hi-salmon" "hi-aquamarine" "hi-black-b" "hi-blue-b" "hi-red-b" "hi-green-b" "hi-black-hb") (#$ . 5235))
#@65 String used to identify hi-lock patterns at the start of files.
(defvar hi-lock-file-patterns-prefix "Hi-lock" (#$ . 5470))
#@289 Non-nil if user alerted that `global-hi-lock-mode' is now the global switch.
Earlier versions of hi-lock used `hi-lock-mode' as the global switch;
the message is issued if it appears that `hi-lock-mode' is used assuming
that older functionality. This variable avoids multiple reminders.
(defvar hi-lock-archaic-interface-message-used nil (#$ . 5601))
#@178 If non-nil, sometimes assume that `hi-lock-mode' means `global-hi-lock-mode'.
Assumption is made if `hi-lock-mode' used in the *scratch* buffer while
a library is being loaded.
(defvar hi-lock-archaic-interface-deduce nil (#$ . 5960))
#@24 Menu for hi-lock mode.
(defvar hi-lock-menu nil (#$ . 6201))
(easy-menu-do-define 'hi-lock-menu nil "Menu for hi-lock mode." '("Hi Lock" ["Highlight Regexp..." highlight-regexp :help "Highlight text matching PATTERN (a regexp)."] ["Highlight Phrase..." highlight-phrase :help "Highlight text matching PATTERN (a regexp processed to match phrases)."] ["Highlight Lines..." highlight-lines-matching-regexp :help "Highlight lines containing match of PATTERN (a regexp)."] ["Highlight Symbol at Point" highlight-symbol-at-point :help "Highlight symbol found near point without prompting."] ["Remove Highlighting..." unhighlight-regexp :help "Remove previously entered highlighting pattern." :enable hi-lock-interactive-patterns] ["Patterns to Buffer" hi-lock-write-interactive-patterns :help "Insert interactively added REGEXPs into buffer at point." :enable hi-lock-interactive-patterns] ["Patterns from Buffer" hi-lock-find-patterns :help "Use patterns (if any) near top of buffer."]))
#@22 Key map for hi-lock.
(defvar hi-lock-map (byte-code "\300\301!\302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\207" [make-sparse-keymap "Hi Lock" define-key "wi" hi-lock-find-patterns "wl" highlight-lines-matching-regexp "wp" highlight-phrase "wh" highlight-regexp "w." highlight-symbol-at-point "wr" unhighlight-regexp "wb" hi-lock-write-interactive-patterns] 5) (#$ . 7191))
#@93 Non-nil if Hi-Lock mode is enabled.
Use the command `hi-lock-mode' to change this variable.
(defvar hi-lock-mode nil (#$ . 7659))
(make-variable-buffer-local 'hi-lock-mode)
#@3330 Toggle selective highlighting of patterns (Hi Lock mode).
This is a minor mode. If called interactively, toggle the `Hi-Lock
mode' mode. If the prefix argument is positive, enable the mode, and
if it is zero or negative, disable the mode.
If called from Lisp, toggle the mode if ARG is `toggle'. Enable the
mode if ARG is nil, omitted, or is a positive number. Disable the
mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate `hi-lock-mode'.
The mode's hook is called both when the mode is enabled and when it is
disabled.
Hi Lock mode is automatically enabled when you invoke any of the
highlighting commands listed below, such as \[highlight-regexp].
To enable Hi Lock mode in all buffers, use `global-hi-lock-mode'
or add (global-hi-lock-mode 1) to your init file.
In buffers where Font Lock mode is enabled, patterns are
highlighted using font lock. In buffers where Font Lock mode is
disabled, patterns are applied using overlays; in this case, the
highlighting will not be updated as you type. The Font Lock mode
is considered "enabled" in a buffer if its `major-mode'
causes `font-lock-specified-p' to return non-nil, which means
the major mode specifies support for Font Lock.
When Hi Lock mode is enabled, a "Regexp Highlighting" submenu
is added to the "Edit" menu. The commands in the submenu,
which can be called interactively, are:
\[highlight-regexp] REGEXP FACE
Highlight matches of pattern REGEXP in current buffer with FACE.
\[highlight-phrase] PHRASE FACE
Highlight matches of phrase PHRASE in current buffer with FACE.
(PHRASE can be any REGEXP, but spaces will be replaced by matches
to whitespace and initial lower-case letters will become case insensitive.)
\[highlight-lines-matching-regexp] REGEXP FACE
Highlight lines containing matches of REGEXP in current buffer with FACE.
\[highlight-symbol-at-point]
Highlight the symbol found near point without prompting, using the next
available face automatically.
\[unhighlight-regexp] REGEXP
Remove highlighting on matches of REGEXP in current buffer.
\[hi-lock-write-interactive-patterns]
Write active REGEXPs into buffer as comments (if possible). They may
be read the next time file is loaded or when the \[hi-lock-find-patterns] command
is issued. The inserted regexps are in the form of font lock keywords.
(See `font-lock-keywords'.) They may be edited and re-loaded with \[hi-lock-find-patterns],
any valid `font-lock-keywords' form is acceptable. When a file is
loaded the patterns are read if `hi-lock-file-patterns-policy' is
`ask' and the user responds y to the prompt, or if
`hi-lock-file-patterns-policy' is bound to a function and that
function returns t.
\[hi-lock-find-patterns]
Re-read patterns stored in buffer (in the format produced by \[hi-lock-write-interactive-patterns]).
When hi-lock is started and if the mode is not excluded or patterns
rejected, the beginning of the buffer is searched for lines of the
form:
Hi-lock: (FOO ...)
where (FOO ...) is a list of patterns. The patterns must start before
position (number of characters into buffer)
`hi-lock-file-patterns-range'. Patterns will be read until
Hi-lock: end is found. A mode is excluded if it's in the list
`hi-lock-exclude-modes'.
(fn &optional ARG)
(defalias 'hi-lock-mode #[256 "\306 \307=\203
?\202 \247\203 \310W\203 \311\202 \312\313\301!\2031 \314\300 \"\2031 \300 B\315 \316\232\203X \n\203X \317\320!\204X \204X \312\f\203S \321!\210\202X \322\323\324\"\210\203y \325
\326\327/B#\210\330 \210\331\332\333\311\312$\210\331\334\335\311\312$\210\202\270 0\204\203 1\203\254 0\203\224 \336\3110\"\210\311\211021\203\242 \336\3111\"\210\3111\337\311\211\340\312$\210\341 \210\325
\342\311#\210\343\332\333\312#\210\344\345\203\302 \346\202\303 \347\"\210\317\350!\203\345 \306 \203\327 \211\306 \232\203\345 \351\352\203\341 \353\202\342 \354\355#\210\210\356 \210\207" [hi-lock-mode local-minor-modes load-in-progress hi-lock-archaic-interface-message-used hi-lock-archaic-interface-deduce menu-bar-edit-menu current-message toggle 1 nil t boundp delq buffer-name "*scratch*" called-interactively-p interactive global-hi-lock-mode warn "%s" "Possible archaic use of (hi-lock-mode).\nUse (global-hi-lock-mode 1) in .emacs to enable hi-lock for all buffers,\nuse (hi-lock-mode 1) for individual buffers." define-key-after [hi-lock] "Regexp Highlighting" hi-lock-find-patterns add-hook font-lock-mode-hook hi-lock-font-lock-hook change-major-mode-hook #[0 "\300\301!\207" [hi-lock-mode -1] 2] font-lock-remove-keywords remove-overlays hi-lock-overlay font-lock-flush [hi-lock] remove-hook run-hooks hi-lock-mode-hook hi-lock-mode-on-hook hi-lock-mode-off-hook any message "Hi-Lock mode %sabled%s" "en" "dis" " in current buffer" force-mode-line-update hi-lock-menu hi-lock-interactive-patterns hi-lock-file-patterns hi-lock-interactive-lighters] 8 (#$ . 7840) (byte-code "\203\n \301!\202 \302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
(defvar hi-lock-mode-hook nil)
(byte-code "\301\302N\204\f \303\301\302\304#\210\303\301\305\306#\210\303\301\307\310C#\210\311\312\313\310\211%\210\303\314\315\316#\207" [hi-lock-map hi-lock-mode-hook variable-documentation put "Hook run after entering or leaving `hi-lock-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" custom-type hook standard-value nil add-minor-mode hi-lock-mode (:eval (if (or hi-lock-interactive-patterns hi-lock-file-patterns) " Hi" "")) global-hi-lock-mode globalized-minor-mode t] 6)
(defvar hi-lock-mode-major-mode nil nil)
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313\314\315\316\317&\207" [make-variable-buffer-local hi-lock-mode-major-mode custom-declare-variable global-hi-lock-mode funcall function #[0 "\300\207" [nil] 1 ""] "Non-nil if Global Hi-Lock mode is enabled.\nSee the `global-hi-lock-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-hi-lock-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :type boolean :group hi-lock] 12)
#@459 Toggle Hi-Lock mode in all buffers.
With prefix ARG, enable Global Hi-Lock mode if ARG is positive;
otherwise, disable it.
If called from Lisp, toggle the mode if ARG is `toggle'.
Enable the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.
Hi-Lock mode is enabled in all buffers where
`turn-on-hi-lock-if-enabled' would do it.
See `hi-lock-mode' for more information on Hi-Lock mode.
(fn &optional ARG)
(defalias 'global-hi-lock-mode #[256 "\303 \304\301\305=\203 \306\301!?\202! \247\203 \307W\203 \310\202! \311\"\210\312\300!\2038 \313\301\"\306\301!\2038 \301B \203N \314\315\316\"\210\314\317\320\"\210\314\321\322\"\210\202] \323\315\316\"\210\323\317\320\"\210\323\321\322\"\210\324 \211\203\203 \211@r\211q\210 \203s \325 \210\202{ \n\203{ \302\326!\210)A\266\202\202_ \210\327\330\306\301!\203\220 \331\202\221 \332\"\210\333\334!\203\271 \335\301!\210\303 \203\251 \211\303 \232\203\271 \336\337\306\301!\203\265 \340\202\266 \341\342#\210\210\343 \210\306\301!\207" [global-minor-modes global-hi-lock-mode hi-lock-mode current-message set-default toggle default-value 1 nil t boundp delq add-hook after-change-major-mode-hook global-hi-lock-mode-enable-in-buffers find-file-hook global-hi-lock-mode-check-buffers change-major-mode-hook global-hi-lock-mode-cmhh remove-hook buffer-list turn-on-hi-lock-if-enabled -1 run-hooks global-hi-lock-mode-hook global-hi-lock-mode-on-hook global-hi-lock-mode-off-hook called-interactively-p any customize-mark-as-set message "Global Hi-Lock mode %sabled%s" "en" "dis" "" force-mode-line-update] 6 (#$ . 14169) (byte-code "\203\n \301!\202 \302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
(defvar global-hi-lock-mode-hook nil)
(byte-code "\301\302N\204\f \303\301\302\304#\210\303\301\305\306#\210\303\301\307\310C#\210\311\312\310\313\300!\205# \310\211%\207" [global-hi-lock-mode-map global-hi-lock-mode-hook variable-documentation put "Hook run after entering or leaving `global-hi-lock-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" custom-type hook standard-value nil add-minor-mode global-hi-lock-mode boundp] 6)
(defvar hi-lock-mode-set-explicitly nil nil)
(make-variable-buffer-local 'hi-lock-mode-set-explicitly)
(defalias 'hi-lock-mode-set-explicitly #[0 "\301\211\207" [hi-lock-mode-set-explicitly t] 2])
(byte-code "\300\301\302\303#\210\304\305\301\"\207" [put hi-lock-mode-set-explicitly definition-name global-hi-lock-mode add-hook hi-lock-mode-hook] 4)
(defvar global-hi-lock-mode-buffers nil)
(defalias 'global-hi-lock-mode-enable-in-buffers #[0 "\305\211\211\2059 \211@\306!\2032 r\211q\210 \204/ \n=\204/ \f\203, \304\307!\210\310 \210\202/ \310 \210)A\266\202\202 \207" [global-hi-lock-mode-buffers hi-lock-mode-set-explicitly hi-lock-mode-major-mode major-mode hi-lock-mode nil buffer-live-p -1 turn-on-hi-lock-if-enabled] 5])
(put 'global-hi-lock-mode-enable-in-buffers 'definition-name 'global-hi-lock-mode)
(defalias 'global-hi-lock-mode-check-buffers #[0 "\300 \210\301\302\303\"\207" [global-hi-lock-mode-enable-in-buffers remove-hook post-command-hook global-hi-lock-mode-check-buffers] 3])
(put 'global-hi-lock-mode-check-buffers 'definition-name 'global-hi-lock-mode)
(defalias 'global-hi-lock-mode-cmhh #[0 "p\211\235\203
\266\202 \211B\210\301\302\303\"\207" [global-hi-lock-mode-buffers add-hook post-command-hook global-hi-lock-mode-check-buffers] 3])
(put 'global-hi-lock-mode-cmhh 'definition-name 'global-hi-lock-mode)
(defalias 'turn-on-hi-lock-if-enabled #[0 "\303 \n>?\205\f \304\305!\207" [hi-lock-archaic-interface-message-used major-mode hi-lock-exclude-modes t hi-lock-mode 1] 2])
(defalias 'highlight-lines-matching-regexp 'hi-lock-line-face-buffer)
#@628 Highlight all lines that match REGEXP using FACE.
The lines that match REGEXP will be displayed by merging
the attributes of FACE with any other face attributes
of text in those lines.
Interactively, prompt for REGEXP using `read-regexp', then FACE.
Use the global history list for FACE.
If REGEXP contains upper case characters (excluding those preceded by `\')
and `search-upper-case' is non-nil, the matching is case-sensitive.
Use Font lock mode, if enabled, to highlight REGEXP. Otherwise,
use overlays for highlighting. If overlays are used, the
highlighting will not update as you type.
(fn REGEXP &optional FACE)
(defalias 'hi-lock-line-face-buffer #[513 "\303!\204 \304\262\204 \300\305!\210\306\307\310Q\311\211 \203) \n\203) \312\313\"\202* %\207" [hi-lock-mode case-fold-search search-upper-case facep hi-yellow 1 hi-lock-set-pattern "^.*\\(?:" "\\).*\\(?:$\\)\n?" nil isearch-no-upper-case-p t] 10 (#$ . 18010) (byte-code "\300\301\302\303\"!\304 D\207" [hi-lock-regexp-okay read-regexp "Regexp to highlight line" regexp-history-last hi-lock-read-face-name] 4)])
(defalias 'highlight-regexp 'hi-lock-face-buffer)
#@1002 Set face of each match of REGEXP to FACE.
Interactively, prompt for REGEXP using `read-regexp', then FACE.
Use the global history list for FACE. Limit face setting to the
corresponding SUBEXP (interactively, the prefix argument) of REGEXP.
If SUBEXP is omitted or nil, the entire REGEXP is highlighted.
LIGHTER is a human-readable string that can be used to select
a regexp to unhighlight by its name instead of selecting a possibly
complex regexp or closure.
If REGEXP contains upper case characters (excluding those preceded by `\')
and `search-upper-case' is non-nil, the matching is case-sensitive.
Use Font lock mode, if enabled, to highlight REGEXP. Otherwise,
use overlays for highlighting. If overlays are used, the
highlighting will not update as you type. The Font Lock mode
is considered "enabled" in a buffer if its `major-mode'
causes `font-lock-specified-p' to return non-nil, which means
the major mode specifies support for Font Lock.
(fn REGEXP &optional FACE SUBEXP LIGHTER)
(defalias 'hi-lock-face-buffer #[1025 ";\203\n \304!\262\305!\204 \306\262\204 \300\307!\210\310 \2030 \n\2030 \311 \312\"\2021 &\207" [hi-lock-mode case-fold-search search-upper-case search-spaces-regexp intern facep hi-yellow 1 hi-lock-set-pattern isearch-no-upper-case-p t] 12 (#$ . 19160) (byte-code "\301\302\303\304 \203 \305 \306 {\307 \210\202 \310\"!\311 E\207" [current-prefix-arg hi-lock-regexp-okay read-regexp "Regexp to highlight" use-region-p region-beginning region-end deactivate-mark regexp-history-last hi-lock-read-face-name] 5)])
(defalias 'highlight-phrase 'hi-lock-face-phrase-buffer)
#@753 Set face of each match of phrase REGEXP to FACE.
Interactively, prompt for REGEXP using `read-regexp', then FACE.
Use the global history list for FACE.
If REGEXP contains upper case characters (excluding those preceded by `\')
and `search-upper-case' is non-nil, the matching is case-sensitive.
Also set `search-spaces-regexp' to the value of `search-whitespace-regexp'.
Use Font lock mode, if enabled, to highlight REGEXP. Otherwise,
use overlays for highlighting. If overlays are used, the
highlighting will not update as you type. The Font Lock mode
is considered "enabled" in a buffer if its `major-mode'
causes `font-lock-specified-p' to return non-nil, which means
the major mode specifies support for Font Lock.
(fn REGEXP &optional FACE)
(defalias 'hi-lock-face-phrase-buffer #[513 "\304!\204 \305\262\204 \300\306!\210\307\310\211 \203&