commit | author | age
|
76bbd0
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\302%\210\312\313\314\315\316DD\317\311\306\320\321&\210\312\322\314\315\323DD\324\311\306\320\321&\210\312\325\314\315\326DD\327\311\306\320\330&\210\312\331\314\315\332DD\333\311\306\320\334&\210\312\335\314\315\336DD\337\311\306\320\321&\210\312\340\314\315\341DD\342\311\306\320\343&\210\312\344\314\315\345DD\346\311\306\320\347&\210\312\350\314\315\351DD\352\311\306\320\321&\210\353\354\355\356\311\306%\210\353\357\360\361\311\306%\207" [require cl-lib helm helm-help helm-utils custom-declare-group helm-regexp nil "Regexp related Applications and libraries for Helm." :group custom-declare-variable helm-moccur-always-search-in-current funcall function #[0 "\300\207" [nil] 1] "Helm multi occur always search in current buffer when non--nil." :type boolean helm-moccur-use-ioccur-style-keys #[0 "\300\207" [t] 1] "Similar to `helm-grep-use-ioccur-style-keys' but for multi occur." helm-moccur-auto-update-on-resume #[0 "\300\207" [nil] 1] "Allow auto updating helm-(m)occur buffer when outdated.\nnoask => Always update without asking\nnil => Don't update but signal buffer needs update\nnever => Never update and do not signal buffer needs update\nAny other non--nil value update after confirmation." (radio :tag "Allow auto updating helm-(m)occur buffer when outdated." (const :tag "Always update without asking" noask) (const :tag "Never update and do not signal buffer needs update" never) (const :tag "Don't update but signal buffer needs update" nil) (const :tag "Update after confirmation" t)) helm-source-multi-occur-actions #[0 "\300\207" [(("Go to Line" . helm-moccur-goto-line) ("Goto line other window (C-u vertically)" . helm-moccur-goto-line-ow) ("Goto line new frame" . helm-moccur-goto-line-of) ("Save buffer" . helm-moccur-save-results))] 1] "Actions for helm-occur and helm-moccur." (alist :key-type string :value-type function) helm-moccur-truncate-lines #[0 "\300\207" [t] 1] "When nil the (m)occur line that appears will not be truncated." helm-moccur-show-buffer-fontification #[0 "\300\207" [nil] 1] "Show fontification of searched buffer in results when non nil.\n\nThis enable or disable fontification globally in results, but you can\noverride this default setting with `helm-moccur-buffer-substring-fn-for-modes'." (radio :tag "Allow preserving fontification of searched buffer in results" (const :tag "Don't preserve buffer fontification" nil) (const :tag "Preserve buffer fontification" t)) helm-moccur-buffer-substring-fn-for-modes #[0 "\300\207" [((mu4e-headers-mode . buffer-substring) (package-menu-mode . buffer-substring-no-properties))] 1] "Alist that allow configuring the function to use for storing a buffer.\n\nCan be one of `buffer-substring' or `buffer-substring-no-properties'.\nAllow overriding the global effect of `helm-moccur-show-buffer-fontification'\nfor a specific mode." (alist :key-type (symbol :tag "Mode") :value-type (radio (const :tag "With text properties" buffer-substring) (const :tag "Without text properties" buffer-substring-no-properties))) helm-occur-show-buffer-name #[0 "\300\207" [nil] 1] "Show buffer name in `helm-occur' results when non-nil.\n\nNot that this doesn't affect `helm-moccur' results and\n`helm-moccur-mode' buffers where buffer names are always shown." custom-declare-face helm-moccur-buffer ((t (:foreground "DarkTurquoise" :underline t))) "Face used to highlight moccur buffer names." helm-resume-need-update ((t (:background "red"))) "Face used to flash moccur buffer when it needs update."] 8) |
|
16 |
#@31 Keymap used in Moccur source. |
|
17 |
(defvar helm-moccur-map (byte-code "\302 \303\"\210\304\305\306#\210\304\307\310#\210\304\311\312#\210\304\313\314#\210\304\315\316#\210 \2035 \304\317\320#\210\304\321\322#\210\323\324\"\207" [helm-map helm-moccur-use-ioccur-style-keys make-sparse-keymap set-keymap-parent define-key [M-down] helm-goto-next-file [M-up] helm-goto-precedent-file "o" helm-moccur-run-goto-line-ow "" helm-moccur-run-goto-line-of "" helm-moccur-run-save-buffer [right] helm-execute-persistent-action [left] helm-moccur-run-default-action delq nil] 5) (#$ . 3994)) |
|
18 |
(defvar helm-build-regexp-history nil) |
|
19 |
(defvar helm-occur-history nil) |
|
20 |
#@199 Query replace regexp from `helm-regexp'. |
|
21 |
With a prefix arg replace only matches surrounded by word boundaries, |
|
22 |
i.e Don't replace inside a word, regexp is surrounded with \bregexp\b. |
|
23 |
|
|
24 |
(fn CANDIDATE) |
|
25 |
(defalias 'helm-query-replace-regexp #[257 "\301\302\303!\"\207" [helm-input apply query-replace-regexp helm-query-replace-args] 6 (#$ . 4662)]) |
|
26 |
#@62 Kill regexp in a format usable in lisp code. |
|
27 |
|
|
28 |
(fn CANDIDATE) |
|
29 |
(defalias 'helm-kill-regexp-as-sexp #[257 "\301\302!!\207" [helm-input helm-regexp-kill-new prin1-to-string] 4 (#$ . 5013)]) |
|
30 |
#@57 Kill regexp as it is in `helm-pattern'. |
|
31 |
|
|
32 |
(fn CANDIDATE) |
|
33 |
(defalias 'helm-kill-regexp #[257 "\301!\207" [helm-input helm-regexp-kill-new] 3 (#$ . 5206)]) |
|
34 |
#@82 create arguments of `query-replace-regexp' action in `helm-regexp'. |
|
35 |
|
|
36 |
(fn REGEXP) |
|
37 |
(defalias 'helm-query-replace-args #[257 "\301 \302\303\304\203 \305\202 \306\203 \307\202 \306#\310#\205$ \311 \205* \312 \257\207" [helm-current-prefix-arg helm-region-active-p query-replace-read-to format "Query replace %sregexp %s" "word " "" "in region " t region-beginning region-end] 9 (#$ . 5365)]) |
|
38 |
(defvar helm-source-regexp (helm-make-source "Regexp Builder" 'helm-source-in-buffer :init #[0 "\301\302\303\304!r\211q\210\305\306\307\310\311!\312\"\313$\216\314!\210\315 *\262\"\207" [helm-current-buffer helm-init-candidates-in-buffer global generate-new-buffer " *temp*" make-byte-code 0 "\301\300!\205 |