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/erc/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:37 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/erc/erc-goodies.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'erc) #@39 Setup Imenu support in an ERC buffer. (defalias 'erc-imenu-setup #[nil "\301\300!\210\302\211\207" [imenu-create-index-function make-local-variable erc-create-imenu-index] 2 (#$ . 573)]) (add-hook 'erc-mode-hook 'erc-imenu-setup) #@31 Imenu index creation function (autoload 'erc-create-imenu-index "erc-imenu" '(#$ . 810)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\302\311\312\313\314\315\304\316\306\317&\207" [custom-declare-variable erc-input-line-position nil "Specify where to position the input line when using `erc-scroll-to-bottom'.\n\nThis should be an integer specifying the line of the buffer on which\nthe input line should stay. A value of \"-1\" would keep the input\nline positioned on the last line in the buffer. This is passed as an\nargument to `recenter'." :group erc-display :type (choice integer (const nil)) erc-scrolltobottom-mode "Non-nil if Erc-Scrolltobottom mode is enabled.\nSee the command `erc-scrolltobottom-mode' for 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 `erc-scrolltobottom-mode'." :set custom-set-minor-mode :initialize custom-initialize-default erc-scrolltobottom boolean] 12) #@255 Toggle ERC scrolltobottom mode. With a prefix argument ARG, enable scrolltobottom if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil. This mode causes the prompt to stay at the end of the window. (defalias 'erc-scrolltobottom-mode #[(&optional arg) "\303 \304=\203 \n?\202 \305 !\306V\211\203 \307 \210\202! \310 \210\311\312\n\203+ \313\202, \314\"\210\315\316!\203Q \317\302!\210\303 \203D \303 \232\203Q \320\321\n\203N \322\202O \323\"\210)\324 \210\n\207" [#1=#:last-message arg erc-scrolltobottom-mode current-message toggle prefix-numeric-value 0 erc-scrolltobottom-enable erc-scrolltobottom-disable run-hooks erc-scrolltobottom-mode-hook erc-scrolltobottom-mode-on-hook erc-scrolltobottom-mode-off-hook called-interactively-p any customize-mark-as-set message "Erc-Scrolltobottom mode %sabled" "en" "dis" force-mode-line-update] 4 (#$ . 1850) (list (or current-prefix-arg 'toggle))]) (byte-code "\301\302\303\304\300!\205\n \303\211%\207" [erc-scrolltobottom-mode-map add-minor-mode erc-scrolltobottom-mode nil boundp] 6) #@33 Enable ERC scrolltobottom mode. (defalias 'erc-scrolltobottom-enable #[nil "\303\304\305\"\210\306\307\310\311\"\210\312 \313\211\205( \n@r q\210\311 \210)\nA\211\204 \313*\207" [erc-scrolltobottom-mode buffer --dolist-tail-- add-to-list erc-modules scrolltobottom t add-hook erc-mode-hook erc-add-scroll-to-bottom erc-buffer-list nil] 4 (#$ . 2952) nil]) #@34 Disable ERC scrolltobottom mode. (defalias 'erc-scrolltobottom-disable #[nil "\304\305\"\306\307\310\311\"\210\312 \306\211\205+ @r\nq\210\307\313\314\315#\210)A\211\204 \306*\207" [erc-modules erc-scrolltobottom-mode buffer --dolist-tail-- delq scrolltobottom nil remove-hook erc-mode-hook erc-add-scroll-to-bottom erc-buffer-list post-command-hook erc-scroll-to-bottom t] 5 (#$ . 3320) nil]) (byte-code "\300\301\302\303#\210\300\304\302\303#\210\300\305\302\303#\207" [put erc-scrolltobottom-mode definition-name scrolltobottom erc-scrolltobottom-enable erc-scrolltobottom-disable] 4) #@306 A hook function for `erc-mode-hook' to recenter output at bottom of window. If you find that ERC hangs when using this function, try customizing the value of `erc-input-line-position'. This works whenever scrolling happens, so it's added to `window-scroll-functions' rather than `erc-insert-post-hook'. (defalias 'erc-add-scroll-to-bottom #[nil "\300\301\302\303\304$\207" [add-hook post-command-hook erc-scroll-to-bottom nil t] 5 (#$ . 3925)]) #@229 Recenter WINDOW so that `point' is on the last line. This is added to `window-scroll-functions' by `erc-add-scroll-to-bottom'. You can control which line is recentered to by customizing the variable `erc-input-line-position'. (defalias 'erc-scroll-to-bottom #[nil "\303\214~\210 \205 ` V\205 \212db\210\304\n\206 \305!)*\207" [resize-mini-windows erc-insert-marker erc-input-line-position nil recenter -1] 2 (#$ . 4379)]) #@272 Non-nil if Erc-Readonly mode is enabled. See the command `erc-readonly-mode' for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node `Easy Customization') or call the function `erc-readonly-mode'. (custom-declare-variable 'erc-readonly-mode nil '(#$ . 4814) :set 'custom-set-minor-mode :initialize 'custom-initialize-default :group 'erc-readonly :type 'boolean) #@233 Toggle ERC readonly mode. With a prefix argument ARG, enable readonly if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil. This mode causes all inserted text to be read-only. (defalias 'erc-readonly-mode #[(&optional arg) "\303 \304=\203 \n?\202 \305 !\306V\211\203 \307 \210\202! \310 \210\311\312\n\203+ \313\202, \314\"\210\315\316!\203Q \317\302!\210\303 \203D \303 \232\203Q \320\321\n\203N \322\202O \323\"\210)\324 \210\n\207" [#1=#:last-message arg erc-readonly-mode current-message toggle prefix-numeric-value 0 erc-readonly-enable erc-readonly-disable run-hooks erc-readonly-mode-hook erc-readonly-mode-on-hook erc-readonly-mode-off-hook called-interactively-p any customize-mark-as-set message "Erc-Readonly mode %sabled" "en" "dis" force-mode-line-update] 4 (#$ . 5257) (list (or current-prefix-arg 'toggle))]) (byte-code "\301\302\303\304\300!\205\n \303\211%\207" [erc-readonly-mode-map add-minor-mode erc-readonly-mode nil boundp] 6) #@27 Enable ERC readonly mode. (defalias 'erc-readonly-enable #[nil "\301\302\303\"\210\304\305\306\307\"\210\305\310\307\"\207" [erc-readonly-mode add-to-list erc-modules readonly t add-hook erc-insert-post-hook erc-make-read-only erc-send-post-hook] 3 (#$ . 6277) nil]) #@28 Disable ERC readonly mode. (defalias 'erc-readonly-disable #[nil "\302\303\"\304\305\306\307\"\210\305\310\307\"\207" [erc-modules erc-readonly-mode delq readonly nil remove-hook erc-insert-post-hook erc-make-read-only erc-send-post-hook] 3 (#$ . 6551) nil]) (byte-code "\300\301\302\303#\210\300\304\302\303#\210\300\305\302\303#\207" [put erc-readonly-mode definition-name readonly erc-readonly-enable erc-readonly-disable] 4) #@125 Make all the text in the current buffer read-only. Put this function on `erc-insert-post-hook' and/or `erc-send-post-hook'. (defalias 'erc-make-read-only #[nil "\300ed\301\302$\210\300ed\303\302$\210\300ed\304\302$\207" [put-text-property read-only t front-sticky rear-nonsticky] 5 (#$ . 6990)]) #@290 Non-nil if Erc-Move-To-Prompt mode is enabled. See the command `erc-move-to-prompt-mode' for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node `Easy Customization') or call the function `erc-move-to-prompt-mode'. (custom-declare-variable 'erc-move-to-prompt-mode nil '(#$ . 7293) :set 'custom-set-minor-mode :initialize 'custom-initialize-default :group 'erc-move-to-prompt :type 'boolean) #@264 Toggle ERC move-to-prompt mode. With a prefix argument ARG, enable move-to-prompt if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil. This mode causes the point to be moved to the prompt when typing text. (defalias 'erc-move-to-prompt-mode #[(&optional arg) "\303 \304=\203 \n?\202 \305 !\306V\211\203 \307 \210\202! \310 \210\311\312\n\203+ \313\202, \314\"\210\315\316!\203Q \317\302!\210\303 \203D \303 \232\203Q \320\321\n\203N \322\202O \323\"\210)\324 \210\n\207" [#1=#:last-message arg erc-move-to-prompt-mode current-message toggle prefix-numeric-value 0 erc-move-to-prompt-enable erc-move-to-prompt-disable run-hooks erc-move-to-prompt-mode-hook erc-move-to-prompt-mode-on-hook erc-move-to-prompt-mode-off-hook called-interactively-p any customize-mark-as-set message "Erc-Move-To-Prompt mode %sabled" "en" "dis" force-mode-line-update] 4 (#$ . 7766) (list (or current-prefix-arg 'toggle))]) (byte-code "\301\302\303\304\300!\205\n \303\211%\207" [erc-move-to-prompt-mode-map add-minor-mode erc-move-to-prompt-mode nil boundp] 6) #@33 Enable ERC move-to-prompt mode. (defalias 'erc-move-to-prompt-enable #[nil "\303\304\305\"\210\306\307\310\311\"\210\312 \313\211\205( \n@r q\210\311 \210)\nA\211\204 \313*\207" [erc-move-to-prompt-mode buffer --dolist-tail-- add-to-list erc-modules move-to-prompt t add-hook erc-mode-hook erc-move-to-prompt-setup erc-buffer-list nil] 4 (#$ . 8877) nil]) #@34 Disable ERC move-to-prompt mode. (defalias 'erc-move-to-prompt-disable #[nil "\304\305\"\306\307\310\311\"\210\312 \306\211\205+ @r\nq\210\307\313\314\315#\210)A\211\204 \306*\207" [erc-modules erc-move-to-prompt-mode buffer --dolist-tail-- delq move-to-prompt nil remove-hook erc-mode-hook erc-move-to-prompt-setup erc-buffer-list pre-command-hook erc-move-to-prompt t] 5 (#$ . 9245) nil]) (byte-code "\300\301\302\303#\210\300\304\302\303#\210\300\305\302\303#\207" [put erc-move-to-prompt-mode definition-name move-to-prompt erc-move-to-prompt-enable erc-move-to-prompt-disable] 4) #@71 Move the point to the ERC prompt if this is a self-inserting command. (defalias 'erc-move-to-prompt #[nil "\205\223 `W\205\223 \306=\205\223 \307\204 \n\205\214 \f\310=\203'