%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/erc/ |
Current File : //usr/local/share/emacs/27.2/lisp/erc/erc.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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\302\303#\210\304\305!\210\304\306!\210\304\307!\210\304\310!\210\304\311!\207" [load "erc-loaddefs" nil t require font-lock pp thingatpt auth-source erc-compat] 4) #@45 Location of the ERC client on the Internet. (defvar erc-official-location "https://www.gnu.org/software/emacs/erc.html (mailing list: emacs-erc@gnu.org)" (#$ . 593)) (byte-code "\300\301\302\303\304\305\304\306\307\310\311\312&\210\300\313\302\314\311\301%\210\300\315\302\316\311\301%\210\300\317\302\320\311\315%\210\300\321\302\322\311\301%\210\300\323\302\324\325\326\311\321&\210\300\327\302\330\311\301%\210\300\331\302\332\311\301%\210\300\333\302\334\311\301%\210\300\335\302\336\311\301%\210\337\340\341\302#\210\342\211\203\202 \211@\340N\203{ \341N\204{ \343\341\340N#\210A\266\202\202a \210\344\340\341\345#\210\337\346\347\302#\210\342\211\203\261 \211@\346N\203\252 \347N\204\252 \343\347\346N#\210A\266\202\202\220 \210\344\346\347\345#\210\337\350\351\302#\210\342\211\203\340 \211@\350N\203\331 \351N\204\331 \343\351\350N#\210A\266\202\202\277 \210\344\350\351\345#\210\352\353\354\302#\210\355\353\354\345#\210\356\357!\210\360\361\362\363\364DD\365\311\301\366\367&\210\360\370\362\363\371DD\372\311\301\366\373&\210\360\374\362\363\375DD\376\311\301\366\377&\210\360\201@ \362\363\201A DD\201B \311\301\366\201C &\210\360\201D \362\363\201E DD\201F \311\301\366\201G &\210\360\201H \362\363\201I DD\201J \311\301\366\201K \201L \201M & \210\360\201N \362\363\201O DD\201P \325\201Q \311\301\366\201G & \207" [custom-declare-group erc nil "Emacs Internet Relay Chat client." :link (url-link "https://www.gnu.org/software/emacs/erc.html") (custom-manual "(erc) Top") :prefix "erc-" :group applications erc-buffers "Creating new ERC buffers" erc-display "Settings for how various things are displayed" erc-mode-line-and-header "Displaying information in the mode-line and header" erc-ignore "Ignoring certain messages" erc-lurker "Hide specified message types sent by lurkers" :version "24.3" erc-query "Using separate buffers for private discussions" erc-quit-and-part "Quitting and parting channels" erc-paranoia "Know what is sent and received; control the display of sensitive data." erc-scripts "Running scripts at startup and with /LOAD" defvaralias erc-announced-server-name erc-server-announced-name (saved-value saved-variable-comment) put make-obsolete-variable "ERC 5.1" erc-process erc-server-process erc-default-coding-system erc-server-coding-system defalias erc-send-command erc-server-send make-obsolete require erc-backend custom-declare-variable erc-server funcall function #[0 "\300\207" [nil] 1] "IRC server to use if one is not provided.\nSee function `erc-compute-server' for more details on connection\nparameters and authentication." :type (choice (const :tag "None" nil) (string :tag "Server")) erc-port #[0 "\300\207" [nil] 1] "IRC port to use if not specified.\n\nThis can be either a string or a number." (choice (const :tag "None" nil) (integer :tag "Port number") (string :tag "Port string")) erc-nick #[0 "\300\207" [nil] 1] "Nickname to use if one is not provided.\n\nThis can be either a string, or a list of strings.\nIn the latter case, if the first nick in the list is already in use,\nother nicks are tried in the list order.\n\nSee function `erc-compute-nick' for more details on connection\nparameters and authentication." (choice (const :tag "None" nil) (string :tag "Nickname") (repeat (string :tag "Nickname"))) erc-nick-uniquifier #[0 "\300\207" [#1="`"] 1 #1#] "The string to append to the nick if it is already in use." string erc-try-new-nick-p #[0 "\300\207" [t] 1] "If the nickname you chose isn't available, and this option is non-nil,\nERC should automatically attempt to connect with another nickname.\n\nYou can manually set another nickname with the /NICK command." boolean erc-user-full-name #[0 "\300\207" [nil] 1] "User full name.\n\nThis can be either a string or a function to call.\n\nSee function `erc-compute-full-name' for more details on connection\nparameters and authentication." (choice (const :tag "No name" nil) (string :tag "Name") (function :tag "Get from function")) :set #[514 "\300!\203\f \202 L\207" [functionp] 5 "\n\n(fn SYM VAL)"] erc-rename-buffers #[0 "\300\207" [nil] 1] "Non-nil means rename buffers with network name, if available." "24.5"] 12) #@135 Password to use when authenticating to an IRC server. It is not strictly necessary to provide this, since ERC will prompt you for it. (defvar erc-password nil (#$ . 4773)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\310\315&\210\300\316\302\303\317DD\320\306\307\310\315&\210\300\321\302\303\322DD\323\306\307\310\315&\210\300\324\302\303\325DD\326\306\327\310\315&\210\300\330\302\303\331DD\332\306\327\310\315&\210\333\334\335\336\337\340%\210\300\341\302\303\342DD\343\306\344\310\334&\210\300\345\302\303\346DD\347\350\351\306\344\310\334& \210\300\352\302\303\353DD\354\350\351\306\344\310\334& \207" [custom-declare-variable erc-user-mode funcall function #[0 "\300\207" [nil] 1] "Initial user modes to be set after a connection is established." :group erc :type (choice (const nil) string function) erc-prompt-for-password #[0 "\300\207" [t] 1] "Asks before using the default password, or whether to enter a new one." boolean erc-warn-about-blank-lines #[0 "\300\207" [t] 1] "Warn the user if they attempt to send a blank line." erc-send-whitespace-lines #[0 "\300\207" [nil] 1] "If set to non-nil, send lines consisting of only whitespace." erc-hide-prompt #[0 "\300\207" [nil] 1] "If non-nil, do not display the prompt for commands.\n\n(A command is any input starting with a `/').\n\nSee also the variables `erc-prompt' and `erc-command-indicator'." erc-display erc-show-my-nick #[0 "\300\207" [t] 1] "If non-nil, display one's own nickname when sending a message.\n\nIf non-nil, \"<nickname>\" will be shown.\nIf nil, only \"> \" will be shown." define-widget erc-message-type set "A set of standard IRC Message types." :args ((const "JOIN") (const "KICK") (const "NICK") (const "PART") (const "QUIT") (const "MODE") (repeat :inline t :tag "Others" (string :tag "IRC Message Type"))) erc-hide-list #[0 "\300\207" [nil] 1] "A global list of IRC message types to hide.\nA typical value would be (\"JOIN\" \"PART\" \"QUIT\")." erc-ignore erc-network-hide-list #[0 "\300\207" [nil] 1] "A list of IRC networks to hide message types from.\nA typical value would be ((\"freenode\" \"MODE\")\n (\"OFTC\" \"JOIN\" \"QUIT\"))." :version "25.1" erc-channel-hide-list #[0 "\300\207" [nil] 1] "A list of IRC channels to hide message types from.\nA typical value would be ((\"#emacs\" \"QUIT\" \"JOIN\")\n (\"#erc\" \"NICK\")."] 10) #@44 The password used for the current session. (defvar erc-session-password nil (#$ . 7168)) (byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313&\210\302\314\304\305\315DD\316\310\311\312\313&\210\302\317\304\305\320DD\321\310\311\312\313&\210\302\322\304\305\323DD\324\310\311\312\313&\210\302\325\304\305\326DD\327\310\311\312\313&\210\302\330\304\305\331DD\332\310\311\312\313&\210\302\333\304\305\334DD\335\310\311\312\313&\210\302\336\304\305\337DD\340\310\311\312\313&\207" [make-variable-buffer-local erc-session-password custom-declare-variable erc-disconnected-hook funcall function #[0 "\300\207" [nil] 1] "Run this hook with arguments (NICK IP REASON) when disconnected.\nThis happens before automatic reconnection. Note, that\n`erc-server-QUIT-functions' might not be run when we disconnect,\nsimply because we do not necessarily receive the QUIT event." :group erc-hooks :type hook erc-complete-functions #[0 "\300\207" [nil] 1] "These functions get called when the user hits TAB in ERC.\nEach function in turn is called until one returns non-nil to\nindicate it has handled the input." erc-join-hook #[0 "\300\207" [nil] 1] "Hook run when we join a channel. Hook functions are called\nwithout arguments, with the current buffer set to the buffer of\nthe new channel.\n\nSee also `erc-server-JOIN-functions', `erc-part-hook'." erc-quit-hook #[0 "\300\207" [nil] 1] "Hook run when processing a quit command directed at our nick.\n\nThe hook receives one argument, the current PROCESS.\nSee also `erc-server-QUIT-functions' and `erc-disconnected-hook'." erc-part-hook #[0 "\300\207" [nil] 1] "Hook run when processing a PART message directed at our nick.\n\nThe hook receives one argument, the current BUFFER.\nSee also `erc-server-QUIT-functions', `erc-quit-hook' and\n`erc-disconnected-hook'." erc-kick-hook #[0 "\300\207" [nil] 1] "Hook run when processing a KICK message directed at our nick.\n\nThe hook receives one argument, the current BUFFER.\nSee also `erc-server-PART-functions' and `erc-part-hook'." erc-nick-changed-functions #[0 "\300\207" [nil] 1] "List of functions run when your nick was successfully changed.\n\nEach function should accept two arguments, NEW-NICK and OLD-NICK." erc-connect-pre-hook #[0 "\300\207" [(erc-initialize-log-marker)] 1] "Hook called just before `erc' calls `erc-connect'.\nFunctions are passed a buffer as the first argument."] 8) #@240 A hash table of members in the current channel, which associates nicknames with cons cells of the form: (USER . MEMBER-DATA) where USER is a pointer to an erc-server-user struct, and MEMBER-DATA is a pointer to an erc-channel-user struct. (defvar erc-channel-users nil (#$ . 9585)) (make-variable-buffer-local 'erc-channel-users) #@112 A hash table of users on the current server, which associates nicknames with erc-server-user struct instances. (defvar erc-server-users nil (#$ . 9922)) (make-variable-buffer-local 'erc-server-users) #@66 Convert STRING to IRC standard conforming downcase. (fn STRING) (defalias 'erc-downcase #[257 "\211\227\300\301 \302\303\304\305\306!\307\"\310$\216\311\312\"\203' \303\224\303\224H\236AI\210\202 )\210\207" [((91 . 123) (93 . 125) (92 . 124) (126 . 94)) match-data make-byte-code 0 "\301\300\302\"\207" vconcat vector [set-match-data evaporate] 3 string-match "[]\\[~]"] 10 (#$ . 10128)]) #@105 Execute BODY in the current ERC server buffer. If no server buffer exists, return nil. (fn &rest BODY) (defalias 'erc-with-server-buffer '(macro . #[128 "\300\301!\302\303BC\304\305D\306BBEE\207" [make-symbol "buffer" let ((erc-server-buffer)) when buffer-live-p with-current-buffer] 9 (#$ . 10532)])) (byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put erc-with-server-buffer lisp-indent-function 0 put edebug-form-spec (body)] 5) #@74 compiler-macro for inlining `erc-server-user-p'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-server-user-p--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-server-user-p (and (vectorp cl-x) (>= (length cl-x) 7) (memq (aref cl-x 0) cl-struct-erc-server-user-tags) t)) nil] 9 (#$ . 10990)]) (put 'erc-server-user-p 'compiler-macro 'erc-server-user-p--cmacro) #@13 (fn CL-X) (defalias 'erc-server-user-p #[257 "\301!\205 \211G\302Y\205 \211\303H>\205 \304\207" [cl-struct-erc-server-user-tags vectorp 7 0 t] 3 (#$ . 11390)]) (byte-code "\300\301\302\303#\304\305\306\301#\207" [function-put erc-server-user-p side-effect-free error-free put erc-server-user cl-deftype-satisfies] 5) #@81 compiler-macro for inlining `erc-server-user-nickname'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-server-user-nickname--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-server-user-nickname (progn (or (and (memq (aref cl-x 0) cl-struct-erc-server-user-tags)) (signal 'wrong-type-argument (list 'erc-server-user cl-x))) (aref cl-x 1))) nil] 9 (#$ . 11720)]) (put 'erc-server-user-nickname 'compiler-macro 'erc-server-user-nickname--cmacro) #@69 Access slot "nickname" of `erc-server-user' struct CL-X. (fn CL-X) (defalias 'erc-server-user-nickname #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-server-user-tags 0 signal wrong-type-argument erc-server-user 1] 5 (#$ . 12203)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-server-user-nickname side-effect-free t] 4) #@77 compiler-macro for inlining `erc-server-user-host'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-server-user-host--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-server-user-host (progn (or (and (memq (aref cl-x 0) cl-struct-erc-server-user-tags)) (signal 'wrong-type-argument (list 'erc-server-user cl-x))) (aref cl-x 2))) nil] 9 (#$ . 12570)]) (put 'erc-server-user-host 'compiler-macro 'erc-server-user-host--cmacro) #@65 Access slot "host" of `erc-server-user' struct CL-X. (fn CL-X) (defalias 'erc-server-user-host #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-server-user-tags 0 signal wrong-type-argument erc-server-user 2] 5 (#$ . 13033)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-server-user-host side-effect-free t] 4) #@78 compiler-macro for inlining `erc-server-user-login'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-server-user-login--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-server-user-login (progn (or (and (memq (aref cl-x 0) cl-struct-erc-server-user-tags)) (signal 'wrong-type-argument (list 'erc-server-user cl-x))) (aref cl-x 3))) nil] 9 (#$ . 13388)]) (put 'erc-server-user-login 'compiler-macro 'erc-server-user-login--cmacro) #@66 Access slot "login" of `erc-server-user' struct CL-X. (fn CL-X) (defalias 'erc-server-user-login #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-server-user-tags 0 signal wrong-type-argument erc-server-user 3] 5 (#$ . 13856)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-server-user-login side-effect-free t] 4) #@82 compiler-macro for inlining `erc-server-user-full-name'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-server-user-full-name--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-server-user-full-name (progn (or (and (memq (aref cl-x 0) cl-struct-erc-server-user-tags)) (signal 'wrong-type-argument (list 'erc-server-user cl-x))) (aref cl-x 4))) nil] 9 (#$ . 14214)]) (put 'erc-server-user-full-name 'compiler-macro 'erc-server-user-full-name--cmacro) #@70 Access slot "full-name" of `erc-server-user' struct CL-X. (fn CL-X) (defalias 'erc-server-user-full-name #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-server-user-tags 0 signal wrong-type-argument erc-server-user 4] 5 (#$ . 14702)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-server-user-full-name side-effect-free t] 4) #@77 compiler-macro for inlining `erc-server-user-info'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-server-user-info--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-server-user-info (progn (or (and (memq (aref cl-x 0) cl-struct-erc-server-user-tags)) (signal 'wrong-type-argument (list 'erc-server-user cl-x))) (aref cl-x 5))) nil] 9 (#$ . 15072)]) (put 'erc-server-user-info 'compiler-macro 'erc-server-user-info--cmacro) #@65 Access slot "info" of `erc-server-user' struct CL-X. (fn CL-X) (defalias 'erc-server-user-info #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-server-user-tags 0 signal wrong-type-argument erc-server-user 5] 5 (#$ . 15535)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-server-user-info side-effect-free t] 4) #@80 compiler-macro for inlining `erc-server-user-buffers'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-server-user-buffers--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-server-user-buffers (progn (or (and (memq (aref cl-x 0) cl-struct-erc-server-user-tags)) (signal 'wrong-type-argument (list 'erc-server-user cl-x))) (aref cl-x 6))) nil] 9 (#$ . 15890)]) (put 'erc-server-user-buffers 'compiler-macro 'erc-server-user-buffers--cmacro) #@68 Access slot "buffers" of `erc-server-user' struct CL-X. (fn CL-X) (defalias 'erc-server-user-buffers #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-server-user-tags 0 signal wrong-type-argument erc-server-user 6] 5 (#$ . 16368)]) (byte-code "\300\301\302\303#\304\305\306\"\207" [function-put erc-server-user-buffers side-effect-free t defalias copy-erc-server-user copy-sequence] 4) #@126 compiler-macro for inlining `make-erc-server-user'. (fn CL-WHOLE &cl-quote &key NICKNAME HOST LOGIN FULL-NAME INFO BUFFERS) (defalias 'make-erc-server-user--cmacro #[385 "\300\301\"A@\300\302\"A@\300\303\"A@\300\304\"A@\300\305\"A@\300\306\"A@\211\203R \211@\307>\203: \211AA\262\202' \310>A@\203I \311\262\202' \312\313@\"\210\202' \210\314\315\316\311\311&\207" [plist-member :nickname :host :login :full-name :info :buffers (:nickname :host :login :full-name :info :buffers :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:nickname :host :login :full-name :info :buffers)" cl--defsubst-expand (nickname host login full-name info buffers) (cl-block make-erc-server-user (vector 'erc-server-user nickname host login full-name info buffers))] 20 (#$ . 16787)]) (put 'make-erc-server-user 'compiler-macro 'make-erc-server-user--cmacro) #@106 Constructor for objects of type `erc-server-user'. (fn &key NICKNAME HOST LOGIN FULL-NAME INFO BUFFERS) (defalias 'make-erc-server-user #[128 "\300\301\"A@\300\302\"A@\300\303\"A@\300\304\"A@\300\305\"A@\300\306\"A@\211\203R \211@\307>\203: \211AA\262\202' \310>A@\203I \311\262\202' \312\313@\"\210\202' \210\314\315&\207" [plist-member :nickname :host :login :full-name :info :buffers (:nickname :host :login :full-name :info :buffers :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:nickname :host :login :full-name :info :buffers)" vector erc-server-user] 15 (#$ . 17691)]) (byte-code "\300\301\302\303#\304\305\306\211\307\303\310\311\305\306& \207" [function-put make-erc-server-user side-effect-free t cl-struct-define erc-server-user nil vector ((cl-tag-slot) (nickname) (host) (login) (full-name) (info) (buffers nil)) cl-struct-erc-server-user-tags] 11) #@75 compiler-macro for inlining `erc-channel-user-p'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-channel-user-p--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-channel-user-p (and (vectorp cl-x) (>= (length cl-x) 7) (memq (aref cl-x 0) cl-struct-erc-channel-user-tags) t)) nil] 9 (#$ . 18621)]) (put 'erc-channel-user-p 'compiler-macro 'erc-channel-user-p--cmacro) #@13 (fn CL-X) (defalias 'erc-channel-user-p #[257 "\301!\205 \211G\302Y\205 \211\303H>\205 \304\207" [cl-struct-erc-channel-user-tags vectorp 7 0 t] 3 (#$ . 19027)]) (byte-code "\300\301\302\303#\304\305\306\301#\207" [function-put erc-channel-user-p side-effect-free error-free put erc-channel-user cl-deftype-satisfies] 5) #@79 compiler-macro for inlining `erc-channel-user-voice'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-channel-user-voice--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-channel-user-voice (progn (or (and (memq (aref cl-x 0) cl-struct-erc-channel-user-tags)) (signal 'wrong-type-argument (list 'erc-channel-user cl-x))) (aref cl-x 1))) nil] 9 (#$ . 19361)]) (put 'erc-channel-user-voice 'compiler-macro 'erc-channel-user-voice--cmacro) #@67 Access slot "voice" of `erc-channel-user' struct CL-X. (fn CL-X) (defalias 'erc-channel-user-voice #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-channel-user-tags 0 signal wrong-type-argument erc-channel-user 1] 5 (#$ . 19836)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-channel-user-voice side-effect-free t] 4) #@80 compiler-macro for inlining `erc-channel-user-halfop'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-channel-user-halfop--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-channel-user-halfop (progn (or (and (memq (aref cl-x 0) cl-struct-erc-channel-user-tags)) (signal 'wrong-type-argument (list 'erc-channel-user cl-x))) (aref cl-x 2))) nil] 9 (#$ . 20199)]) (put 'erc-channel-user-halfop 'compiler-macro 'erc-channel-user-halfop--cmacro) #@68 Access slot "halfop" of `erc-channel-user' struct CL-X. (fn CL-X) (defalias 'erc-channel-user-halfop #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-channel-user-tags 0 signal wrong-type-argument erc-channel-user 2] 5 (#$ . 20679)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-channel-user-halfop side-effect-free t] 4) #@76 compiler-macro for inlining `erc-channel-user-op'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-channel-user-op--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-channel-user-op (progn (or (and (memq (aref cl-x 0) cl-struct-erc-channel-user-tags)) (signal 'wrong-type-argument (list 'erc-channel-user cl-x))) (aref cl-x 3))) nil] 9 (#$ . 21045)]) (put 'erc-channel-user-op 'compiler-macro 'erc-channel-user-op--cmacro) #@64 Access slot "op" of `erc-channel-user' struct CL-X. (fn CL-X) (defalias 'erc-channel-user-op #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-channel-user-tags 0 signal wrong-type-argument erc-channel-user 3] 5 (#$ . 21505)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-channel-user-op side-effect-free t] 4) #@79 compiler-macro for inlining `erc-channel-user-admin'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-channel-user-admin--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-channel-user-admin (progn (or (and (memq (aref cl-x 0) cl-struct-erc-channel-user-tags)) (signal 'wrong-type-argument (list 'erc-channel-user cl-x))) (aref cl-x 4))) nil] 9 (#$ . 21859)]) (put 'erc-channel-user-admin 'compiler-macro 'erc-channel-user-admin--cmacro) #@67 Access slot "admin" of `erc-channel-user' struct CL-X. (fn CL-X) (defalias 'erc-channel-user-admin #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-channel-user-tags 0 signal wrong-type-argument erc-channel-user 4] 5 (#$ . 22334)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-channel-user-admin side-effect-free t] 4) #@79 compiler-macro for inlining `erc-channel-user-owner'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-channel-user-owner--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-channel-user-owner (progn (or (and (memq (aref cl-x 0) cl-struct-erc-channel-user-tags)) (signal 'wrong-type-argument (list 'erc-channel-user cl-x))) (aref cl-x 5))) nil] 9 (#$ . 22697)]) (put 'erc-channel-user-owner 'compiler-macro 'erc-channel-user-owner--cmacro) #@67 Access slot "owner" of `erc-channel-user' struct CL-X. (fn CL-X) (defalias 'erc-channel-user-owner #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-channel-user-tags 0 signal wrong-type-argument erc-channel-user 5] 5 (#$ . 23172)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-channel-user-owner side-effect-free t] 4) #@91 compiler-macro for inlining `erc-channel-user-last-message-time'. (fn CL-WHOLE-ARG CL-X) (defalias 'erc-channel-user-last-message-time--cmacro #[514 "\300\301\302\303\211\211&\207" [cl--defsubst-expand (cl-x) (cl-block erc-channel-user-last-message-time (progn (or (and (memq (aref cl-x 0) cl-struct-erc-channel-user-tags)) (signal 'wrong-type-argument (list 'erc-channel-user cl-x))) (aref cl-x 6))) nil] 9 (#$ . 23535)]) (put 'erc-channel-user-last-message-time 'compiler-macro 'erc-channel-user-last-message-time--cmacro) #@79 Access slot "last-message-time" of `erc-channel-user' struct CL-X. (fn CL-X) (defalias 'erc-channel-user-last-message-time #[257 "\211\301H>\204 \302\303\304D\"\210\211\305H\207" [cl-struct-erc-channel-user-tags 0 signal wrong-type-argument erc-channel-user 6] 5 (#$ . 24070)]) (byte-code "\300\301\302\303#\304\305\306\"\207" [function-put erc-channel-user-last-message-time side-effect-free t defalias copy-erc-channel-user copy-sequence] 4) #@130 compiler-macro for inlining `make-erc-channel-user'. (fn CL-WHOLE &cl-quote &key VOICE HALFOP OP ADMIN OWNER LAST-MESSAGE-TIME) (defalias 'make-erc-channel-user--cmacro #[385 "\300\301\"A@\300\302\"A@\300\303\"A@\300\304\"A@\300\305\"A@\300\306\"A@\211\203R \211@\307>\203: \211AA\262\202' \310>A@\203I \311\262\202' \312\313@\"\210\202' \210\314\315\316\311\311&\207" [plist-member :voice :halfop :op :admin :owner :last-message-time (:voice :halfop :op :admin :owner :last-message-time :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:voice :halfop :op :admin :owner :last-message-time)" cl--defsubst-expand (voice halfop op admin owner last-message-time) (cl-block make-erc-channel-user (vector 'erc-channel-user voice halfop op admin owner last-message-time))] 20 (#$ . 24525)]) (put 'make-erc-channel-user 'compiler-macro 'make-erc-channel-user--cmacro) #@110 Constructor for objects of type `erc-channel-user'. (fn &key VOICE HALFOP OP ADMIN OWNER LAST-MESSAGE-TIME) (defalias 'make-erc-channel-user #[128 "\300\301\"A@\300\302\"A@\300\303\"A@\300\304\"A@\300\305\"A@\300\306\"A@\211\203R \211@\307>\203: \211AA\262\202' \310>A@\203I \311\262\202' \312\313@\"\210\202' \210\314\315&\207" [plist-member :voice :halfop :op :admin :owner :last-message-time (:voice :halfop :op :admin :owner :last-message-time :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:voice :halfop :op :admin :owner :last-message-time)" vector erc-channel-user] 15 (#$ . 25453)]) (byte-code "\300\301\302\303#\304\305\306\211\307\303\310\311\305\306& \207" [function-put make-erc-channel-user side-effect-free t cl-struct-define erc-channel-user nil vector ((cl-tag-slot) (voice) (halfop) (op) (admin) (owner) (last-message-time nil)) cl-struct-erc-channel-user-tags] 11) #@129 Find the (USER . CHANNEL-DATA) element corresponding to NICK in the current buffer's `erc-channel-users' hash table. (fn NICK) (defalias 'erc-get-channel-user #[257 "\301\302!\"\207" [erc-channel-users gethash erc-downcase] 4 (#$ . 26405)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-get-channel-user compiler-macro erc-get-channel-user--inliner] 4) #@26 (fn INLINE--FORM NICK) (defalias 'erc-get-channel-user--inliner #[514 "\3002 \301\302D\303E0\207" [inline--just-use gethash erc-downcase erc-channel-users] 5 (#$ . 26778)]) #@103 Find the USER corresponding to NICK in the current server's `erc-server-users' hash table. (fn NICK) (defalias 'erc-get-server-user #[257 "\301 \302!\205 r\211q\210\303\304!\")\207" [erc-server-users erc-server-buffer buffer-live-p gethash erc-downcase] 5 (#$ . 26962)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-get-server-user compiler-macro erc-get-server-user--inliner] 4) #@26 (fn INLINE--FORM NICK) (defalias 'erc-get-server-user--inliner #[514 "\3002. \211\301!\203 \211\202 \302\303!\304\305\306D\307ED=\203$ \211\202+ \310DC\"\266\2030\207" [inline--just-use macroexp-copyable-p make-symbol "nick" erc-with-server-buffer gethash erc-downcase erc-server-users macroexp-let*] 8 (#$ . 27365)]) #@125 This function is for internal use only. Adds USER with nickname NICK to the `erc-server-users' hash table. (fn NICK USER) (defalias 'erc-add-server-user #[514 "\301 \302!\205 r\211q\210\303\304!#)\207" [erc-server-users erc-server-buffer buffer-live-p puthash erc-downcase] 7 (#$ . 27701)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-add-server-user compiler-macro erc-add-server-user--inliner] 4) #@31 (fn INLINE--FORM NICK USER) (defalias 'erc-add-server-user--inliner #[771 "\3002P \301!\203 \211\202 \302\303!\301!\203 \211\202 \302\304!\305\306\307D\310FD=\2033 \211\202: \311DC\"\266\203=\203F \211\202M \311DC\"\266\2030\207" [inline--just-use macroexp-copyable-p make-symbol "nick" "user" erc-with-server-buffer puthash erc-downcase erc-server-users macroexp-let*] 12 (#$ . 28126)]) #@238 This function is for internal use only. Removes the user with nickname NICK from the `erc-server-users' hash table. This user is not removed from the `erc-channel-users' lists of other buffers. See also: `erc-remove-user'. (fn NICK) (defalias 'erc-remove-server-user #[257 "\301 \302!\205 r\211q\210\303\304!\")\207" [erc-server-users erc-server-buffer buffer-live-p remhash erc-downcase] 5 (#$ . 28543)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-remove-server-user compiler-macro erc-remove-server-user--inliner] 4) #@26 (fn INLINE--FORM NICK) (defalias 'erc-remove-server-user--inliner #[514 "\3002. \211\301!\203 \211\202 \302\303!\304\305\306D\307ED=\203$ \211\202+ \310DC\"\266\2030\207" [inline--just-use macroexp-copyable-p make-symbol "nick" erc-with-server-buffer remhash erc-downcase erc-server-users macroexp-let*] 8 (#$ . 29090)]) #@207 This function is for internal use only. Changes the nickname of USER to NEW-NICK in the `erc-server-users' hash table. The `erc-channel-users' lists of other buffers are also changed. (fn USER NEW-NICK) (defalias 'erc-change-user-nickname #[514 "\303H>\204 \304\305\306D\"\210\307H\303H>\204! \304\305\306D\"\210\211\307I\266\310 \311!\203D r\211q\210\312\313! \"\210\314\313! #\210)\210\303H>\204T \304\305\306D\"\210\315H\211\205\206 \211@\311!\203 r\211q\210\316\313!\n\"\312\313!\n\"\210\314\313!\n#\266)A\266\202\202W \262\207" [cl-struct-erc-server-user-tags erc-server-users erc-channel-users 0 signal wrong-type-argument erc-server-user 1 erc-server-buffer buffer-live-p remhash erc-downcase puthash 6 gethash] 10 (#$ . 29429)]) #@343 This function is for internal use only. Removes the user with nickname NICK from the `erc-channel-users' list for this channel. If this user is not in the `erc-channel-users' list of any other buffers, the user is also removed from the server's `erc-server-users' list. See also: `erc-remove-server-user' and `erc-remove-user'. (fn NICK) (defalias 'erc-remove-channel-user #[257 "\303\304!\"\211\205k \211@\211\305H >\204 \306\307\310D\"\210\211\211\311\312p\305H >\2040 \306\307\310D\"\210\311H\"I\266\313\304!\"\210\211\305H >\204M \306\307\310D\"\210\211\311H?\205i \314 \315!\205g r\211q\210\313\304!\n\")\262\262\207" [erc-channel-users cl-struct-erc-server-user-tags erc-server-users gethash erc-downcase 0 signal wrong-type-argument erc-server-user 6 delq remhash erc-server-buffer buffer-live-p] 12 (#$ . 30205)]) #@236 This function is for internal use only. Removes the user with nickname NICK from the `erc-server-users' list as well as from all `erc-channel-users' lists. See also: `erc-remove-server-user' and `erc-remove-channel-user'. (fn NICK) (defalias 'erc-remove-user #[257 "\303 \304!\205 r\211q\210\305\306!\")\262\211\205g \211\307H >\204( \310\311\312D\"\210\211\313H\211\211\203P \211@\304!\203I r\211q\210\314\306!\n\"\210\315\316!\210)A\266\202\202, \266\303 \304!\205e r\211q\210\314\306!\")\262\207" [erc-server-users cl-struct-erc-server-user-tags erc-channel-users erc-server-buffer buffer-live-p gethash erc-downcase 0 signal wrong-type-argument erc-server-user 6 remhash run-hooks erc-channel-members-changed-hook] 8 (#$ . 31054)]) #@144 This function is for internal use only. Removes all users in the current channel. This is called by `erc-server-PART' and `erc-server-QUIT'. (defalias 'erc-remove-channel-users #[0 "\205 \302 \205 \303 !\205 \304\305 \"\210\306 !\207" [erc-server-connected erc-channel-users erc-server-process-alive hash-table-p maphash #[514 "\300!\207" [erc-remove-channel-user] 4 "\n\n(fn NICK CDATA)"] clrhash] 3 (#$ . 31815)]) #@71 Return non-nil if NICK is an owner of the current channel. (fn NICK) (defalias 'erc-channel-user-owner-p #[257 "\211\2050 \302!\2050 \303\304!\"\211\205. \211A\205. \211A\305H >\204* \306\307\310AD\"\210\211A\311H\262\207" [erc-channel-users cl-struct-erc-channel-user-tags hash-table-p gethash erc-downcase 0 signal wrong-type-argument erc-channel-user 5] 6 (#$ . 32244)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-channel-user-owner-p compiler-macro erc-channel-user-owner-p--inliner] 4) #@26 (fn INLINE--FORM NICK) (defalias 'erc-channel-user-owner-p--inliner #[514 "\3002@ \211\301!\203 \211\202 \302\303!\304\305\306D\307\310\311DDC\304\310\312\310D\313\312\310DDFEF=\2036 \211\202= \314DC\"\266\2030\207" [inline--just-use macroexp-copyable-p make-symbol "nick" and hash-table-p erc-channel-users let cdata erc-get-channel-user cdr erc-channel-user-owner macroexp-let*] 15 (#$ . 32761)]) #@71 Return non-nil if NICK is an admin in the current channel. (fn NICK) (defalias 'erc-channel-user-admin-p #[257 "\211\2050 \302!\2050 \303\304!\"\211\205. \211A\205. \211A\305H >\204* \306\307\310AD\"\210\211A\311H\262\207" [erc-channel-users cl-struct-erc-channel-user-tags hash-table-p gethash erc-downcase 0 signal wrong-type-argument erc-channel-user 4] 6 (#$ . 33179)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-channel-user-admin-p compiler-macro erc-channel-user-admin-p--inliner] 4) #@26 (fn INLINE--FORM NICK) (defalias 'erc-channel-user-admin-p--inliner #[514 "\3002@ \211\301!\203 \211\202 \302\303!\304\305\306D\307\310\311DDC\304\310\312\310D\313\312\310DDFEF=\2036 \211\202= \314DC\"\266\2030\207" [inline--just-use macroexp-copyable-p make-symbol "nick" and hash-table-p erc-channel-users let cdata erc-get-channel-user cdr erc-channel-user-admin macroexp-let*] 15 (#$ . 33696)]) #@74 Return non-nil if NICK is an operator in the current channel. (fn NICK) (defalias 'erc-channel-user-op-p #[257 "\211\2050 \302!\2050 \303\304!\"\211\205. \211A\205. \211A\305H >\204* \306\307\310AD\"\210\211A\311H\262\207" [erc-channel-users cl-struct-erc-channel-user-tags hash-table-p gethash erc-downcase 0 signal wrong-type-argument erc-channel-user 3] 6 (#$ . 34114)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-channel-user-op-p compiler-macro erc-channel-user-op-p--inliner] 4) #@26 (fn INLINE--FORM NICK) (defalias 'erc-channel-user-op-p--inliner #[514 "\3002@ \211\301!\203 \211\202 \302\303!\304\305\306D\307\310\311DDC\304\310\312\310D\313\312\310DDFEF=\2036 \211\202= \314DC\"\266\2030\207" [inline--just-use macroexp-copyable-p make-symbol "nick" and hash-table-p erc-channel-users let cdata erc-get-channel-user cdr erc-channel-user-op macroexp-let*] 15 (#$ . 34625)]) #@78 Return non-nil if NICK is a half-operator in the current channel. (fn NICK) (defalias 'erc-channel-user-halfop-p #[257 "\211\2050 \302!\2050 \303\304!\"\211\205. \211A\205. \211A\305H >\204* \306\307\310AD\"\210\211A\311H\262\207" [erc-channel-users cl-struct-erc-channel-user-tags hash-table-p gethash erc-downcase 0 signal wrong-type-argument erc-channel-user 2] 6 (#$ . 35037)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-channel-user-halfop-p compiler-macro erc-channel-user-halfop-p--inliner] 4) #@26 (fn INLINE--FORM NICK) (defalias 'erc-channel-user-halfop-p--inliner #[514 "\3002@ \211\301!\203 \211\202 \302\303!\304\305\306D\307\310\311DDC\304\310\312\310D\313\312\310DDFEF=\2036 \211\202= \314DC\"\266\2030\207" [inline--just-use macroexp-copyable-p make-symbol "nick" and hash-table-p erc-channel-users let cdata erc-get-channel-user cdr erc-channel-user-halfop macroexp-let*] 15 (#$ . 35564)]) #@69 Return non-nil if NICK has voice in the current channel. (fn NICK) (defalias 'erc-channel-user-voice-p #[257 "\211\2050 \302!\2050 \303\304!\"\211\205. \211A\205. \211A\305H >\204* \306\307\310AD\"\210\211A\311H\262\207" [erc-channel-users cl-struct-erc-channel-user-tags hash-table-p gethash erc-downcase 0 signal wrong-type-argument erc-channel-user 1] 6 (#$ . 35984)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-channel-user-voice-p compiler-macro erc-channel-user-voice-p--inliner] 4) #@26 (fn INLINE--FORM NICK) (defalias 'erc-channel-user-voice-p--inliner #[514 "\3002@ \211\301!\203 \211\202 \302\303!\304\305\306D\307\310\311DDC\304\310\312\310D\313\312\310DDFEF=\2036 \211\202= \314DC\"\266\2030\207" [inline--just-use macroexp-copyable-p make-symbol "nick" and hash-table-p erc-channel-users let cdata erc-get-channel-user cdr erc-channel-user-voice macroexp-let*] 15 (#$ . 36499)]) #@264 Return a list of users in the current channel. Each element of the list is of the form (USER . CHANNEL-DATA), where USER is an erc-server-user struct, and CHANNEL-DATA is either nil or an erc-channel-user struct. See also: `erc-sort-channel-users-by-activity'. (defalias 'erc-get-channel-user-list #[0 "\301C\302!\203 \303\304\305\306\307\310!\311\"\312\313%\"\210\211\242\207" [erc-channel-users nil hash-table-p maphash make-byte-code 514 "\300\300\242B\240\207" vconcat vector [] 5 "\n\n(fn NICK CDATA)"] 8 (#$ . 36918)]) #@57 Return a list of known nicknames on the current server. (defalias 'erc-get-server-nickname-list #[0 "\301 \302!\205* r\211q\210\303C\304!\205' \305\306\307\310\311\312!\313\"\314\315%\"\210\211\242\262)\207" [erc-server-users erc-server-buffer buffer-live-p nil hash-table-p maphash make-byte-code 514 "\300\302H >\204 \303\304\305D\"\210\306H\300\242B\240\207" vconcat vector [cl-struct-erc-server-user-tags 0 signal wrong-type-argument erc-server-user 1] 7 "\n\n(fn N USER)"] 9 (#$ . 37457)]) #@58 Return a list of known nicknames on the current channel. (defalias 'erc-get-channel-nickname-list #[0 "\301C\302!\205 \303\304\305\306\307\310!\311\"\312\313%\"\210\211\242\207" [erc-channel-users nil hash-table-p maphash make-byte-code 514 "\300@\302H >\204 \303\304\305@D\"\210@\306H\300\242B\240\207" vconcat vector [cl-struct-erc-server-user-tags 0 signal wrong-type-argument erc-server-user 1] 7 "\n\n(fn N CDATA)"] 8 (#$ . 37968)]) #@59 Return an alist of known nicknames on the current server. (defalias 'erc-get-server-nickname-alist #[0 "\301 \302!\205* r\211q\210\303C\304!\205' \305\306\307\310\311\312!\313\"\314\315%\"\210\211\242\262)\207" [erc-server-users erc-server-buffer buffer-live-p nil hash-table-p maphash make-byte-code 514 "\300\302H >\204 \303\304\305D\"\210\306H\307B\300\242B\240\207" vconcat vector [cl-struct-erc-server-user-tags 0 signal wrong-type-argument erc-server-user 1 nil] 7 "\n\n(fn N USER)"] 9 (#$ . 38421)]) #@60 Return an alist of known nicknames on the current channel. (defalias 'erc-get-channel-nickname-alist #[0 "\301C\302!\205 \303\304\305\306\307\310!\311\"\312\313%\"\210\211\242\207" [erc-channel-users nil hash-table-p maphash make-byte-code 514 "\300@\302H >\204 \303\304\305@D\"\210@\306H\307B\300\242B\240\207" vconcat vector [cl-struct-erc-server-user-tags 0 signal wrong-type-argument erc-server-user 1 nil] 7 "\n\n(fn N CDATA)"] 8 (#$ . 38944)]) #@176 Sort LIST such that users which have spoken most recently are listed first. LIST must be of the form (USER . CHANNEL-DATA). See also: `erc-get-channel-user-list'. (fn LIST) (defalias 'erc-sort-channel-users-by-activity #[257 "\300\301\"\207" [sort #[514 "A\205C \211A\205C A\301H>\204 \302\303\304AD\"\210A\305HA\301H>\2040 \302\303\304AD\"\210A\305H\205A \211?\206A \306\"\266\202\207" [cl-struct-erc-channel-user-tags 0 signal wrong-type-argument erc-channel-user 6 time-less-p] 7 "\n\n(fn X Y)"]] 4 (#$ . 39410)]) #@162 Sort LIST so that users' nicknames are in alphabetical order. LIST must be of the form (USER . CHANNEL-DATA). See also: `erc-get-channel-user-list'. (fn LIST) (defalias 'erc-sort-channel-users-alphabetically #[257 "\300\301\"\207" [sort #[514 "A\205D \211A\205D @\301H>\204 \302\303\304@D\"\210@\305H\227@\301H>\2041 \302\303\304@D\"\210@\305H\227\205B \211?\206B \231\266\202\207" [cl-struct-erc-server-user-tags 0 signal wrong-type-argument erc-server-user 1] 7 "\n\n(fn X Y)"]] 4 (#$ . 39950)]) #@74 A topic string for the channel. Should only be used in channel-buffers. (defvar erc-channel-topic nil (#$ . 40470)) (make-variable-buffer-local 'erc-channel-topic) #@128 List of strings representing channel modes. E.g. ("i" "m" "s" "b Quake!*@*") (not sure the ban list will be here, but why not) (defvar erc-channel-modes nil (#$ . 40642)) (make-variable-buffer-local 'erc-channel-modes) #@69 The place where insertion of new text in erc buffers should happen. (defvar erc-insert-marker nil (#$ . 40867)) (make-variable-buffer-local 'erc-insert-marker) #@44 The marker where input should be inserted. (defvar erc-input-marker nil (#$ . 41033)) (make-variable-buffer-local 'erc-input-marker) #@72 Return a copy of STRING will all text-properties removed. (fn STRING) (defalias 'erc-string-no-properties #[257 "\300!\301\302G\303$\210\211\207" [copy-sequence set-text-properties 0 nil] 7 (#$ . 41172)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable erc-prompt funcall function #[0 "\300\207" [#1="ERC>"] 1 #1#] "Prompt used by ERC. Trailing whitespace is not required." :group erc-display :type (choice string function)] 8) #@75 Return the input prompt as a string. See also the variable `erc-prompt'. (defalias 'erc-prompt #[0 "\301!\203 \202\f \211G\302V\203 \211\303P\202 \211\207" [erc-prompt functionp 0 " "] 3 (#$ . 41650)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable erc-command-indicator funcall function #[0 "\300\207" [nil] 1] "Indicator used by ERC for showing commands.\n\nIf non-nil, this will be used in the ERC buffer to indicate\ncommands (i.e., input starting with a `/').\n\nIf nil, the prompt will be constructed from the variable `erc-prompt'." :group erc-display :type (choice (const nil) string function)] 8) #@129 Return the command indicator prompt as a string. This only has any meaning if the variable `erc-command-indicator' is non-nil. (defalias 'erc-command-indicator #[0 "\205 \301!\203 \202 \211G\302V\203 \211\303P\202 \211\262\207" [erc-command-indicator functionp 0 " "] 3 (#$ . 42311)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\310\315&\210\300\316\302\303\317DD\320\306\321\310\322\323\324& \210\300\325\302\303\326DD\327\306\321\310\322\323\330& \210\300\331\302\303\332DD\333\306\334\310\335&\210\300\336\302\303\337DD\340\306\341\310\335&\210\300\342\302\303\343DD\344\306\334\310\335&\210\300\345\302\303\346DD\347\306\334\310\350&\210\300\351\302\303\352DD\353\306\341\310\335&\210\300\354\302\303\355DD\356\306\341\310\335&\210\300\357\302\303\360DD\361\306\341\310\335&\210\300\362\302\303\363DD\364\306\334\310\335&\210\300\365\302\303\366DD\367\306\334\310\311&\210\300\370\302\303\371DD\372\306\334\310\373&\210\300\374\302\303\375DD\376\306\377\310\201@ &\210\201A \374!\210\300\201B \302\303\201C DD\201D \306\377\310\201E &\207" [custom-declare-variable erc-notice-prefix funcall function #[0 "\300\207" [#1="*** "] 1 #1#] "Prefix for all notices." :group erc-display :type string erc-notice-highlight-type #[0 "\300\207" [all] 1] "Determines how to highlight notices.\nSee `erc-notice-prefix'.\n\nThe following values are allowed:\n\n `prefix' - highlight notice prefix only\n `all' - highlight the entire notice\n\nAny other value disables notice's highlighting altogether." (choice (const :tag "highlight notice prefix only" prefix) (const :tag "highlight the entire notice" all) (const :tag "don't highlight notices at all" nil)) erc-echo-notice-hook #[0 "\300\207" [nil] 1] "List of functions to call to echo a private notice.\nEach function is called with four arguments, the string\nto display, the parsed server message, the target buffer (or\nnil), and the sender. The functions are called in order, until a\nfunction evaluates to non-nil. These hooks are called after\nthose specified in `erc-echo-notice-always-hook'.\n\nSee also: `erc-echo-notice-always-hook',\n`erc-echo-notice-in-default-buffer',\n`erc-echo-notice-in-target-buffer',\n`erc-echo-notice-in-minibuffer',\n`erc-echo-notice-in-server-buffer',\n`erc-echo-notice-in-active-non-server-buffer',\n`erc-echo-notice-in-active-buffer',\n`erc-echo-notice-in-user-buffers',\n`erc-echo-notice-in-user-and-target-buffers',\n`erc-echo-notice-in-first-user-buffer'." erc-hooks hook :options (erc-echo-notice-in-default-buffer erc-echo-notice-in-target-buffer erc-echo-notice-in-minibuffer erc-echo-notice-in-server-buffer erc-echo-notice-in-active-non-server-buffer erc-echo-notice-in-active-buffer erc-echo-notice-in-user-buffers erc-echo-notice-in-user-and-target-buffers erc-echo-notice-in-first-user-buffer) erc-echo-notice-always-hook #[0 "\300\207" [(erc-echo-notice-in-default-buffer)] 1] "List of functions to call to echo a private notice.\nEach function is called with four arguments, the string\nto display, the parsed server message, the target buffer (or\nnil), and the sender. The functions are called in order, and all\nfunctions are called. These hooks are called before those\nspecified in `erc-echo-notice-hook'.\n\nSee also: `erc-echo-notice-hook',\n`erc-echo-notice-in-default-buffer',\n`erc-echo-notice-in-target-buffer',\n`erc-echo-notice-in-minibuffer',\n`erc-echo-notice-in-server-buffer',\n`erc-echo-notice-in-active-non-server-buffer',\n`erc-echo-notice-in-active-buffer',\n`erc-echo-notice-in-user-buffers',\n`erc-echo-notice-in-user-and-target-buffers',\n`erc-echo-notice-in-first-user-buffer'." (erc-echo-notice-in-default-buffer erc-echo-notice-in-target-buffer erc-echo-notice-in-minibuffer erc-echo-notice-in-server-buffer erc-echo-notice-in-active-non-server-buffer erc-echo-notice-in-active-buffer erc-echo-notice-in-user-buffers erc-echo-notice-in-user-and-target-buffers erc-echo-notice-in-first-user-buffer) erc-whowas-on-nosuchnick #[0 "\300\207" [nil] 1] "If non-nil, do a whowas on a nick if no such nick." erc boolean erc-verbose-server-ping #[0 "\300\207" [nil] 1] "If non-nil, show every time you get a PING or PONG from the server." erc-paranoia erc-public-away-p #[0 "\300\207" [nil] 1] "Let others know you are back when you are no longer marked away.\nThis happens in this form:\n* <nick> is back (gone for <time>)\n\nMany consider it impolite to do so automatically." erc-away-nickname #[0 "\300\207" [nil] 1] "The nickname to take when you are marked as being away." (choice (const nil) string) erc-paranoid #[0 "\300\207" [nil] 1] "If non-nil, then all incoming CTCP requests will be shown." erc-disable-ctcp-replies #[0 "\300\207" [nil] 1] "Disable replies to CTCP requests that require a reply.\nIf non-nil, then all incoming CTCP requests that normally require\nan automatic reply (like VERSION or PING) will be ignored. Good to\nset if some hacker is trying to flood you away." erc-anonymous-login #[0 "\300\207" [t] 1] "Be paranoid, don't give away your machine name." erc-prompt-for-channel-key #[0 "\300\207" [nil] 1] "Prompt for channel key when using `erc-join-channel' interactively." erc-email-userid #[0 "\300\207" [#2="user"] 1 #2#] "Use this as your email user ID." erc-system-name #[0 "\300\207" [nil] 1] "Use this as the name of your system.\nIf nil, ERC will call `system-name' to get this information." (choice (const :tag "Default system name" nil) string) erc-ignore-list #[0 "\300\207" [nil] 1] "List of regexps matching user identifiers to ignore.\n\nA user identifier has the form \"nick!login@host\". If an\nidentifier matches, the message from the person will not be\nprocessed." erc-ignore (repeat regexp) make-variable-buffer-local erc-ignore-reply-list #[0 "\300\207" [nil] 1] "List of regexps matching user identifiers to ignore completely.\n\nThis differs from `erc-ignore-list' in that it also ignores any\nmessages directed at the user.\n\nA user identifier has the form \"nick!login@host\".\n\nIf an identifier matches, or a message is addressed to a nick\nwhose identifier matches, the message will not be processed.\n\nCAVEAT: ERC doesn't know about the user and host of anyone who\nwas already in the channel when you joined, but never said\nanything, so it won't be able to match the user and host of those\npeople. You can update the ERC internal info using /WHO *." (repeat regexp)] 10) #@249 If non-nil, flood protection is enabled. Flooding is sending too much information to the server in too short of an interval, which may cause the server to terminate the connection. See `erc-server-flood-margin' for other flood-related parameters. (defvar erc-flood-protect t (#$ . 48763)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\310\315&\210\300\316\302\303\317DD\320\306\307\310\321&\207" [custom-declare-variable erc-startup-file-list funcall function #[0 "\301P\302P\303\304\301\302\257\207" [erc-user-emacs-directory ".ercrc.el" ".ercrc" "~/.ercrc.el" "~/.ercrc"] 6] "List of files to try for a startup script.\nThe first existent and readable one will get executed.\n\nIf the filename ends with `.el' it is presumed to be an Emacs Lisp\nscript and it gets (load)ed. Otherwise it is treated as a bunch of\nregular IRC commands." :group erc-scripts :type (repeat file) erc-script-path #[0 "\300\207" [nil] 1] "List of directories to look for a script in /load command.\nThe script is first searched in the current directory, then in each\ndirectory in the list." (repeat directory) erc-script-echo #[0 "\300\207" [t] 1] "If non-nil, echo the IRC script commands locally." boolean] 8) #@72 A marker containing the position the current buffer was last saved at. (defvar erc-last-saved-position nil (#$ . 50018)) (byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313&\210\302\314\304\305\315DD\316\310\311\312\313&\210\302\317\304\305\320DD\321\310\311\312\313&\210\302\322\304\305\323DD\324\310\311\312\325&\210\302\326\304\305\327DD\330\310\311\312\331&\210\302\332\304\305\333DD\334\310\311\312\335&\210\302\336\304\305\337DD\340\310\311\312\341&\207" [make-variable-buffer-local erc-last-saved-position custom-declare-variable erc-kill-buffer-on-part funcall function #[0 "\300\207" [nil] 1] "Kill the channel buffer on PART.\nThis variable should probably stay nil, as ERC can reuse buffers if\nyou rejoin them later." :group erc-quit-and-part :type boolean erc-kill-queries-on-quit #[0 "\300\207" [nil] 1] "Kill all query (also channel) buffers of this server on QUIT.\nSee the variable `erc-kill-buffer-on-part' for details." erc-kill-server-buffer-on-quit #[0 "\300\207" [nil] 1] "Kill the server buffer of the process on QUIT." erc-quit-reason-various-alist #[0 "\300\207" [nil] 1] "Alist of possible arguments to the /quit command.\n\nEach element has the form:\n (REGEXP RESULT)\n\nIf REGEXP matches the argument to /quit, then its relevant RESULT\nwill be used. RESULT may be either a string, or a function. If\na function, it should return the quit message as a string.\n\nIf no elements match, then the empty string is used.\n\nAs an example:\n (setq erc-quit-reason-various-alist\n \\='((\"xmms\" dme:now-playing)\n (\"version\" erc-quit-reason-normal)\n (\"home\" \"Gone home !\")\n (\"^$\" \"Default Reason\")))\nIf the user types \"/quit home\", then \"Gone home !\" will be used\nas the quit message." (repeat (list regexp (choice (string) (function)))) erc-part-reason-various-alist #[0 "\300\207" [nil] 1] "Alist of possible arguments to the /part command.\n\nEach element has the form:\n (REGEXP RESULT)\n\nIf REGEXP matches the argument to /part, then its relevant RESULT\nwill be used. RESULT may be either a string, or a function. If\na function, it should return the part message as a string.\n\nIf no elements match, then the empty string is used.\n\nAs an example:\n (setq erc-part-reason-various-alist\n \\='((\"xmms\" dme:now-playing)\n (\"version\" erc-part-reason-normal)\n (\"home\" \"Gone home !\")\n (\"^$\" \"Default Reason\")))\nIf the user types \"/part home\", then \"Gone home !\" will be used\nas the part message." (repeat (list regexp (choice (string) (function)))) erc-quit-reason #[0 "\300\207" [erc-quit-reason-normal] 1] "A function which returns the reason for quitting.\n\nThe function is passed a single argument, the string typed by the\nuser after \"/quit\"." (choice (const erc-quit-reason-normal) (const erc-quit-reason-various) (symbol)) erc-part-reason #[0 "\300\207" [erc-part-reason-normal] 1] "A function which returns the reason for parting a channel.\n\nThe function is passed a single argument, the string typed by the\nuser after \"/PART\"." (choice (const erc-part-reason-normal) (const erc-part-reason-various) (symbol))] 8) #@54 The name of the buffer created by `erc-grab-region'. (defvar erc-grab-buffer-name "*erc-grab*" (#$ . 53203)) #@32 USER_INFORMATION IRC variable. (defvar erc-user-information "ERC User" (#$ . 53318)) (byte-code "\300\301\302\303\304\305%\210\306\307\310\311\312DD\313\304\301\314\315\316\317& \210\306\320\310\311\321DD\322\304\301\314\315&\210\306\323\310\311\324DD\325\304\301\314\315&\210\306\326\310\311\327DD\330\304\301\314\315&\210\331\326\332\333#\210\306\332\310\311\334DD\335\304\305\314\336\337\333& \207" [custom-declare-group erc-hooks nil "Hook variables for fancy customizations of ERC." :group erc custom-declare-variable erc-mode-hook funcall function #[0 "\300\207" [nil] 1] "Hook run after `erc-mode' setup is finished." :type hook :options (erc-add-scroll-to-bottom) erc-timer-hook #[0 "\300\207" [nil] 1] "Put functions which should get called more or less periodically here.\nThe idea is that servers always play ping pong with the client, and so there\nis no need for any idle-timer games with Emacs." erc-insert-pre-hook #[0 "\300\207" [nil] 1] "Hook called first when some text is inserted through `erc-display-line'.\nIt gets called with one argument, STRING.\nTo be able to modify the inserted text, use `erc-insert-modify-hook' instead.\nFiltering functions can set `erc-insert-this' to nil to avoid\ndisplay of that particular string at all." erc-send-pre-hook #[0 "\300\207" [nil] 1] "Hook called first when some text is sent through `erc-send-current-line'.\nIt gets called with one argument, STRING.\n\nTo change the text that will be sent, set the variable `str' which is\nused in `erc-send-current-line'.\n\nTo change the text inserted into the buffer without changing the text\nthat will be sent, use `erc-send-modify-hook' instead.\n\nFiltering functions can set `erc-send-this' to nil to avoid sending of\nthat particular string at all and `erc-insert-this' to prevent\ninserting that particular string into the buffer.\n\nNote that it's useless to set `erc-send-this' to nil and\n`erc-insert-this' to t. ERC is sane enough to not insert the text\nanyway." make-obsolete-variable erc-pre-send-functions "27.1" #[0 "\300\207" [nil] 1] "List of functions called to possibly alter the string that is sent.\nThe functions are called with one argument, a `erc-input' struct,\nand should alter that struct.\n\nThe struct has three slots:\n\n `string': The current input string.\n `insertp': Whether the string should be inserted into the erc buffer.\n `sendp': Whether the string should be sent to the irc server." (repeat function) :version] 10) #@168 Insert the text into the target buffer or not. Functions on `erc-insert-pre-hook' can set this variable to nil if they wish to avoid insertion of a particular string. (defvar erc-insert-this t (#$ . 55795)) #@153 Send the text to the target or not. Functions on `erc-send-pre-hook' can set this variable to nil if they wish to avoid sending of a particular string. (defvar erc-send-this t (#$ . 56009)) (byte-code "\300\301\302\303#\210\304\305\306\307\310DD\311\312\313\314\315&\210\304\316\306\307\317DD\320\312\313\314\315\321\322& \210\304\323\306\307\324DD\325\312\313\326\303\314\315& \210\304\327\306\307\330DD\331\312\313\314\315&\210\304\332\306\307\333DD\334\312\313\314\315\321\335& \210\304\336\306\307\337DD\340\312\313\314\315&\207" [make-obsolete-variable erc-send-this erc-pre-send-functions "27.1" custom-declare-variable erc-insert-modify-hook funcall function #[0 "\300\207" [nil] 1] "Insertion hook for functions that will change the text's appearance.\nThis hook is called just after `erc-insert-pre-hook' when the value\nof `erc-insert-this' is t.\nWhile this hook is run, narrowing is in effect and `current-buffer' is\nthe buffer where the text got inserted. One possible value to add here\nis `erc-fill'." :group erc-hooks :type hook erc-insert-post-hook #[0 "\300\207" [nil] 1] "This hook is called just after `erc-insert-modify-hook'.\nAt this point, all modifications from prior hook functions are done." :options (erc-truncate-buffer erc-make-read-only erc-save-buffer-in-logs) erc-insert-done-hook #[0 "\300\207" [nil] 1] "This hook is called after inserting strings into the buffer.\nThis hook is not called from inside `save-excursion' and should\npreserve point if needed." :version erc-send-modify-hook #[0 "\300\207" [nil] 1] "Sending hook for functions that will change the text's appearance.\nThis hook is called just after `erc-send-pre-hook' when the values\nof `erc-send-this' and `erc-insert-this' are both t.\nWhile this hook is run, narrowing is in effect and `current-buffer' is\nthe buffer where the text got inserted.\n\nNote that no function in this hook can change the appearance of the\ntext that is sent. Only changing the sent text's appearance on the\nsending user's screen is possible. One possible value to add here\nis `erc-fill'." erc-send-post-hook #[0 "\300\207" [nil] 1] "This hook is called just after `erc-send-modify-hook'.\nAt this point, all modifications from prior hook functions are done.\nNOTE: The functions on this hook are called _before_ sending a command\nto the server.\n\nThis function is called with narrowing, ala `erc-send-modify-hook'." (erc-make-read-only) erc-send-completed-hook #[0 "\300\301!\205\n \302\303!C\207" [fboundp emacspeak-auditory-icon byte-compile #[257 "\300\301!\207" [emacspeak-auditory-icon select-object] 3 "\n\n(fn STR)"]] 2] "Hook called after a message has been parsed by ERC.\n\nThe single argument to the functions is the unmodified string\nwhich the local user typed."] 10) #@38 Syntax table used while in ERC mode. (defvar erc-mode-syntax-table (byte-code "\300 \301\302\303#\210\301\304\303#\210\301\305\306#\210\301\307\310#\210\301\311\310#\210\211\207" [make-syntax-table modify-syntax-entry 34 ". " 92 39 "w " 60 "." 62] 5) (#$ . 58789)) #@38 Abbrev table used while in ERC mode. (defvar erc-mode-abbrev-table nil (#$ . 59069)) (define-abbrev-table 'erc-mode-abbrev-table nil) #@13 ERC keymap. (defvar erc-mode-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\305#\210\301\307\305#\210\301\310\311#\210\301\312\313#\210\301\314\315#\210\301\316\317#\210\301\320\321#\210\301\322\323#\210\301\324\325#\210\301\326\327#\210\301\330\331#\210\301\332\333#\210\301\334\335#\210\301\336\337#\210\301\340\341#\210\301\342\343#\210\301\344\335#\210\301\345\346#\210\301\347\350#\210\301\351\352#\210\211\207" [make-sparse-keymap define-key " " erc-send-current-line "" erc-bol [home] "" "" erc-switch-to-buffer "" erc-toggle-interpret-controls "" erc-input-action "" erc-toggle-ctcp-autoresponse "" erc-toggle-flood-control " " erc-invite-only-mode "\n" erc-join-channel "" erc-channel-names "" erc-get-channel-mode-from-keypress "" erc-part-from-channel "" erc-quit-server "" erc-remove-text-properties-region "" erc-set-topic "" erc-kill-input "" "\211" ispell-complete-word " " completion-at-point [remap font-lock-fontify-block] undefined] 5) (#$ . 59209)) (byte-code "\300\301\302\303\304\305%\210\306\307\310\311\304\301%\210\306\312\313\314\304\301%\210\306\315\316\317\304\301%\210\306\320\321\322\304\301%\210\306\323\324\325\304\301%\210\306\326\327\330\304\301%\210\306\331\332\333\304\301%\210\306\334\335\336\304\301%\210\306\337\340\341\304\301%\210\306\342\343\344\304\301%\210\306\345\346\347\304\301%\210\306\350\351\352\304\301%\210\306\353\354\355\304\301%\210\306\356\357\360\304\301%\207" [custom-declare-group erc-faces nil "Faces for ERC." :group erc custom-declare-face erc-default-face ((t)) "ERC default face." erc-nick-prefix-face ((t :inherit erc-nick-default-face :weight bold)) "ERC face used for user mode prefix." erc-my-nick-prefix-face ((t :inherit erc-nick-default-face :weight bold)) "ERC face used for my user mode prefix." erc-direct-msg-face ((t :foreground "IndianRed")) "ERC face used for messages you receive in the main erc buffer." erc-header-line ((t :foreground "grey20" :background "grey90")) "ERC face used for the header line.\n\nThis will only be used if `erc-header-line-face-method' is non-nil." erc-input-face ((t :foreground "brown")) "ERC face used for your input." erc-prompt-face ((t :weight bold :foreground "Black" :background "lightBlue2")) "ERC face for the prompt." erc-command-indicator-face ((t :weight bold)) "ERC face for the command indicator.\nSee the variable `erc-command-indicator'." erc-notice-face ((default :weight bold) (((class color) (min-colors 88)) :foreground "SlateBlue") (t :foreground "blue")) "ERC face for notices." erc-action-face ((t :weight bold)) "ERC face for actions generated by /ME." erc-error-face ((t :foreground "red")) "ERC face for errors." erc-my-nick-face ((t :weight bold :foreground "brown")) "ERC face for your current nickname in messages sent by you.\nSee also `erc-show-my-nick'." erc-nick-default-face ((t :weight bold)) "ERC nickname default face." erc-nick-msg-face ((t :weight bold :foreground "IndianRed")) "ERC nickname face for private messages."] 6) #@68 When set to t, generate debug messages in a separate debug buffer. (defvar erc-log-p nil (#$ . 62257)) #@22 Debug log file name. (defvar erc-debug-log-file (expand-file-name "ERC.debug") (#$ . 62366)) (defvar erc-dbuf nil) (make-variable-buffer-local 'erc-dbuf) #@979 Define a new minor mode using ERC conventions. Symbol NAME is the name of the module. Symbol ALIAS is the alias to use, or nil. DOC is the documentation string to use for the minor mode. ENABLE-BODY is a list of expressions used to enable the mode. DISABLE-BODY is a list of expressions used to disable the mode. If LOCAL-P is non-nil, the mode will be created as a buffer-local mode, rather than a global one. This will define a minor mode called erc-NAME-mode, possibly an alias erc-ALIAS-mode, as well as the helper functions erc-NAME-enable, and erc-NAME-disable. Example: ;;;###autoload(autoload \='erc-replace-mode "erc-replace") (define-erc-module replace nil "This mode replaces incoming text according to `erc-replace-alist'." ((add-hook \='erc-insert-modify-hook \='erc-replace-insert)) ((remove-hook \='erc-insert-modify-hook \='erc-replace-insert))) (fn NAME ALIAS DOC ENABLE-BODY DISABLE-BODY &optional LOCAL-P) (defalias 'define-erc-module '(macro . #[1541 "\300!\301\302\303\227\"!\301\302\304\227\"!\301\302\305\227\"!\301\302\306\227\"!\307\310\302\311\211$\312\211\211\313 ?\314\315 D\316CCF\257\317\312\302\320\"\321\322\323\315DE\324\f\325BBBBBBBBB\317\312\302\326\"\327\324\330\331\315D\332BBE\324 \333BBBBBBBBB \205\246 =?\205\246 \334\315\301\302\303\300!\227\"!D\315\nDE\335\315\nD\336\315DF\335\315 D\337\315DF\335\315 D\340\315DF\257\207" [symbol-name intern format "erc-%s-mode" "erc-%s" "erc-%s-enable" "erc-%s-disable" progn erc-define-minor-mode "Toggle ERC %S mode.\nWith a prefix argument ARG, enable %s if ARG is positive,\nand disable it otherwise. If called from Lisp, enable the mode\nif ARG is omitted or nil.\n%s" nil :global :group quote if defun "Enable ERC %S mode." (interactive) add-to-list 'erc-modules setq (t) "Disable ERC %S mode." (interactive) erc-modules delq (erc-modules) (nil) defalias put 'definition-name 'definition-name 'definition-name] 26 (#$ . 62527)])) (byte-code "\300\301\302\303#\300\207" [function-put define-erc-module doc-string-elt 3] 4) #@688 Run function F the next time EVENT occurs in the `current-buffer'. You should make sure that `current-buffer' is a server buffer. This function temporarily adds a function to EVENT's hook to call F with two arguments (`proc' and `parsed'). After F is called, the function is removed from EVENT's hook. F should return either nil or t, where nil indicates that the other functions on EVENT's hook should be run too, and t indicates that other functions should not be run. Please be sure to use this function in server-buffers. In channel-buffers it may not work at all, as it uses the LOCAL argument of `add-hook' and `remove-hook' to ensure multiserver capabilities. (fn EVENT F) (defalias 'erc-once-with-server-event #[514 "\300 \204 \301\302!\210\303\304!\305!\306\307p#\210\310\311\312\313\314#\315\"\316\317%M\210\320\321\322$\210\207" [erc-server-buffer-p error "You should only run `erc-once-with-server-event' in a server buffer" make-symbol "fun" erc-get-hook put erc-original-buffer make-byte-code 514 "r\301\303Nq\210\304\302\301\305#\210)\306\301!\210\300\"\207" vconcat vector [erc-original-buffer remove-hook t fmakunbound] 6 "\n\n(fn PROC PARSED)" add-hook nil t] 13 (#$ . 64649)]) #@62 Logs STRING if logging is on (see `erc-log-p'). (fn STRING) (defalias 'erc-log #[257 "\205 \301!\207" [erc-log-p erc-log-aux] 3 (#$ . 65873)]) (byte-code "\300\301\302\303#\300\207" [function-put erc-log compiler-macro erc-log--inliner] 4) #@28 (fn INLINE--FORM STRING) (defalias 'erc-log--inliner #[514 "\3002 \301\302\303DE0\207" [inline--just-use when erc-log-p erc-log-aux] 6 (#$ . 66123)]) #@143 Return the server buffer for the current buffer's process. The buffer-local variable `erc-server-process' is used to find the process buffer. (defalias 'erc-server-buffer #[0 "\301 \205 \302!\207" [erc-server-process erc-server-buffer-live-p process-buffer] 2 (#$ . 66284)]) #@52 Return t if the server buffer has not been killed. (defalias 'erc-server-buffer-live-p #[0 "\301!\205 \302\303!!\207" [erc-server-process processp buffer-live-p process-buffer] 3 (#$ . 66567)]) #@130 Return non-nil if argument BUFFER is an ERC server buffer. If BUFFER is nil, the current buffer is used. (fn &optional BUFFER) (defalias 'erc-server-buffer-p #[256 "r\211\206 pq\210\301=\205 \302 ?)\207" [major-mode erc-mode erc-default-target] 3 (#$ . 66771)]) #@159 Return non-nil if argument BUFFER is an ERC server buffer that has an open IRC process. If BUFFER is nil, the current buffer is used. (fn &optional BUFFER) (defalias 'erc-open-server-buffer-p #[256 "\300!\205 \301!\207" [erc-server-buffer-p erc-server-process-alive] 3 (#$ . 67045)]) #@119 Return non-nil if BUFFER is an ERC query buffer. If BUFFER is nil, the current buffer is used. (fn &optional BUFFER) (defalias 'erc-query-buffer-p #[256 "r\211\206 pq\210\301 \302=\205 \211\205 \211\303H\304>?\262)\207" [major-mode erc-default-target erc-mode 0 (35 38 43 33)] 4 (#$ . 67341)]) #@46 Return non-nil if NICK is online. (fn NICK) (defalias 'erc-ison-p #[257 "\300 \301!\205V r\211q\210\302C\303\304\305\306\307\310\311 \"\312\"\313\314%\"\210\315\316\317\"!\210\211\242\302=\2035 \320 \210\202( \321\322!\203Q \323\324\242\206C \242\203L \325\202M \326#\202S \211\242\262)\207" [erc-server-buffer buffer-live-p unknown erc-once-with-server-event 303 make-byte-code 514 "\302\303H!\301\304\300\"@\240\210\305\207" vconcat vector [split-string 3 erc-member-ignore-case t] 7 "\n\n(fn PROC PARSED)" erc-server-send format "ISON %s" accept-process-output called-interactively-p interactive message "%s is %sonline" "" "not "] 12 (#$ . 67647) "sNick: "]) #@46 Do the debug logging of STRING. (fn STRING) (defalias 'erc-log-aux #[257 "p\302\303\304 \211\203G \211q\210\203 \305!\203 \306!\204# \307\310 \311Q!q\210`\262m\262db\210\312\313Qc\210\203? db\210\202B b\210q\202L \314\315\"\207" [erc-dbuf erc-session-server 1 nil erc-server-buffer bufferp buffer-live-p get-buffer-create "*ERC-DEBUG: " "*" "** " "\n" message "ERC: ** %s"] 9 (#$ . 68328)]) #@151 The current active buffer, the one where the user typed the last command. Defaults to the server buffer, and should only be set in the server buffer. (defvar erc-active-buffer nil (#$ . 68742)) (make-variable-buffer-local 'erc-active-buffer) #@96 Return the value of `erc-active-buffer' for the current server. Defaults to the server buffer. (defalias 'erc-active-buffer #[0 "\301 \302!\205 r\211q\210\302!\203 \202 p\211)\207" [erc-active-buffer erc-server-buffer buffer-live-p] 3 (#$ . 68990)]) #@62 Set the value of `erc-active-buffer' to BUFFER. (fn BUFFER) (defalias 'erc-set-active-buffer #[257 "\301 \203 r\301 q\210\211\211)\207\211\211\207" [erc-active-buffer erc-server-buffer] 3 (#$ . 69253)]) (defvar erc-mode-hook nil) (byte-code "\300\301N\204\f \302\300\301\303#\210\304\305!\204 \302\305\306\307#\210\300\207" [erc-mode-hook variable-documentation put "Hook run after entering ERC mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp erc-mode-map definition-name erc-mode] 4) (defvar erc-mode-map (make-sparse-keymap)) (byte-code "\301\302N\204 \303\301\302\304\305!#\210\306\307!\204 \303\307\310\311#\210\312\313 !\210\307\302N\204- \303\307\302\304\314!#\210\306\300!\204B \303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P \303\300\302\304\320!#\210\303\311\321\317#\207" [erc-mode-abbrev-table erc-mode-map variable-documentation put purecopy "Keymap for `erc-mode'." boundp erc-mode-syntax-table definition-name erc-mode (lambda (#1=#:def-tmp-var) (defvar erc-mode-syntax-table #1#)) make-syntax-table "Syntax table for `erc-mode'." (lambda (#1#) (defvar erc-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `erc-mode'." derived-mode-parent] 5) #@142 Major mode for Emacs IRC. This mode runs the hook `erc-mode-hook', as the final or penultimate step during initialization. \{erc-mode-map} (defalias 'erc-mode #[0 "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210 \315\316!\203( \306\316!\210\317\307\306\320!\210\321\322\323 !\324Q\306\325!\210\326\322\323 !\324Q\306\327!\210\307\330\331\332\317\307$\210)\333\334!\207" [delay-mode-hooks major-mode mode-name erc-mode-map erc-mode-syntax-table erc-mode-abbrev-table make-local-variable t kill-all-local-variables erc-mode "ERC" use-local-map set-syntax-table boundp next-line-add-newlines nil paragraph-separate "\f\\|\\(^" regexp-quote erc-prompt "\\)" paragraph-start "\\(" completion-ignore-case add-hook completion-at-point-functions erc-complete-word-at-point run-mode-hooks erc-mode-hook local-abbrev-table line-move-ignore-invisible] 5 (#$ . 70550) nil]) #@55 IRC server to use if it cannot be detected otherwise. (defconst erc-default-server "irc.freenode.net" (#$ . 71446)) #@53 IRC port to use if it cannot be detected otherwise. (defconst erc-default-port 6667 (#$ . 71568)) #@81 IRC port to use for encrypted connections if it cannot be detected otherwise. (defconst erc-default-port-tls 6697 (#$ . 71672)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\310\315&\210\300\316\302\303\317DD\320\306\307\310\321&\210\300\322\302\303\323DD\324\306\307\310\321&\207" [custom-declare-variable erc-join-buffer funcall function #[0 "\300\207" [buffer] 1] "Determines how to display a newly created IRC buffer.\n\nThe available choices are:\n\n `window' - in another window,\n `window-noselect' - in another window, but don't select that one,\n `frame' - in another frame,\n `bury' - bury it in a new buffer,\n `buffer' - in place of the current buffer,\n any other value - in place of the current buffer." :group erc-buffers :type (choice (const :tag "Split window and select" window) (const :tag "Split window, don't select" window-noselect) (const :tag "New frame" frame) (const :tag "Bury in new buffer" bury) (const :tag "Use current buffer" buffer) (const :tag "Use current buffer" t)) erc-frame-alist #[0 "\300\207" [nil] 1] "Alist of frame parameters for creating erc frames.\nA value of nil means to use `default-frame-alist'." (repeat (cons :format "%v" (symbol :tag "Parameter") (sexp :tag "Value"))) erc-frame-dedicated-flag #[0 "\300\207" [nil] 1] "Non-nil means the erc frames are dedicated to that buffer.\nThis only has effect when `erc-join-buffer' is set to `frame'." boolean erc-reuse-frames #[0 "\300\207" [t] 1] "Determines whether new frames are always created.\nNon-nil means that a new frame is not created to display an ERC\nbuffer if there is already a window displaying it. This only has\neffect when `erc-join-buffer' is set to `frame'."] 8) #@74 Return non-nil if CHANNEL seems to be an IRC channel name. (fn CHANNEL) (defalias 'erc-channel-p #[257 "\211;\203 \211\300H\301>\207\302!\203! \303!\203! r\211q\210\304\305 !)\207\306\207" [0 (35 38 43 33) bufferp buffer-live-p erc-channel-p erc-default-target nil] 3 (#$ . 73460)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable erc-reuse-buffers funcall function #[0 "\300\207" [t] 1] "If nil, create new buffers on joining a channel/query.\nIf non-nil, a new buffer will only be created when you join\nchannels with same names on different servers, or have query buffers\nopen with nicks of the same name on different servers. Otherwise,\nthe existing buffers will be reused." :group erc-buffers :type boolean] 8) #@257 Normalize the port specification PORT to integer form. PORT may be an integer, a string or a symbol. If it is a string or a symbol, it may have these values: * irc -> 194 * ircs -> 994 * ircd -> 6667 * ircd-dalnet -> 7000 (fn PORT) (defalias 'erc-normalize-port #[257 "\2119\203 \300\301!!\207\211;\203G \302!\211\303V\203 \211\202F \304\230\203' \305\202F \306\230\2031 \307\202F \310\230\203; \311\202F \312\230\203E \313\202F \314\207\211\247\203M \207\314\207" [erc-normalize-port symbol-name string-to-number 0 "irc" 194 "ircs" 994 "ircd" 6667 "ircd-dalnet" 7000 nil] 4 (#$ . 74229)]) #@50 Check whether ports A and B are equal. (fn A B) (defalias 'erc-port-equal #[514 "\300!\300!U\207" [erc-normalize-port] 5 (#$ . 74857)]) #@75 Create a new buffer name based on the arguments. (fn SERVER PORT TARGET) (defalias 'erc-generate-new-buffer-name #[771 "\247\203\n \303!\262\211\206 \304Q\211G\305V\205 \211\262\206 \306\307\211\310QD\211\203r \211@\204k \203k \311!\203h \204h r\311!q\210\312 \205N \313 ?)\204h r\311!q\210 \230\205d \314\n\")\203k \211\262A\266\202\202( \210\211\206~ \315\310Q!\207" [erc-reuse-buffers erc-session-server erc-session-port number-to-string ":" 1 "*erc-server-buffer*" nil "/" get-buffer erc-server-buffer-p erc-server-process-alive erc-port-equal generate-new-buffer-name] 10 (#$ . 75002)]) #@70 Create a new buffer based on the arguments. (fn SERVER PORT TARGET) (defalias 'erc-get-buffer-create #[771 "\300\301#!\207" [get-buffer-create erc-generate-new-buffer-name] 8 (#$ . 75628)]) #@149 Return non-nil if STRING is a member of LIST. All strings are compared according to IRC protocol case rules, see `erc-downcase'. (fn STRING LIST) (defalias 'erc-member-ignore-case #[514 "\300!\262\3012&