Server IP : 111.118.215.189 / Your IP : 18.221.20.252 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/net/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:34 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/net/rcirc.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\312\313\314\315\316&\210\317\320\321\322\323\324\315\304&\210\317\325\326\327\323\330\315\304&\210\317\331\332\333\323\334\315\304&\210\317\335\336\337\307\340\323\334\315\304& \210\317\341\342\343\307\340\323\334\315\304& \210\317\344\345\346\323\347\315\304&\210\317\350\305\351\323\352\315\304&\210\317\353\305\354\323\355\315\304&\207" [require ring time-date custom-declare-group rcirc nil "Simple IRC client." :version "22.1" :prefix "rcirc-" :link (custom-manual "(rcirc)") :group applications custom-declare-variable rcirc-server-alist '(("irc.freenode.net" :channels ("#rcirc"))) "An alist of IRC connections to establish when running `rcirc'.\nEach element looks like (SERVER-NAME PARAMETERS).\n\nSERVER-NAME is a string describing the server to connect\nto.\n\nThe optional PARAMETERS come in pairs PARAMETER VALUE.\n\nThe following parameters are recognized:\n\n`:nick'\n\nVALUE must be a string. If absent, `rcirc-default-nick' is used\nfor this connection.\n\n`:port'\n\nVALUE must be a number or string. If absent,\n`rcirc-default-port' is used.\n\n`:user-name'\n\nVALUE must be a string. If absent, `rcirc-default-user-name' is\nused.\n\n`:password'\n\nVALUE must be a string. If absent, no PASS command will be sent\nto the server.\n\n`:full-name'\n\nVALUE must be a string. If absent, `rcirc-default-full-name' is\nused.\n\n`:channels'\n\nVALUE must be a list of strings describing which channels to join\nwhen connecting to this server. If absent, no channels will be\nconnected to automatically.\n\n`:encryption'\n\nVALUE must be `plain' (the default) for unencrypted connections, or `tls'\nfor connections using SSL/TLS." :type (alist :key-type string :value-type (plist :options ((:nick string) (:port integer) (:user-name string) (:password string) (:full-name string) (:channels (repeat string)) (:encryption (choice (const tls) (const plain)))))) rcirc-default-port 6667 "The default port to connect to." integer rcirc-default-nick (user-login-name) "Your nick." string rcirc-default-user-name "user" "Your user name sent to the server when connecting." "24.1" rcirc-default-full-name "unknown" "The full name sent to the server when connecting." rcirc-fill-flag t "Non-nil means line-wrap messages printed in channel buffers." boolean rcirc-fill-column "Column beyond which automatic line-wrapping should happen.\nIf nil, use value of `fill-column'. If 'frame-width, use the\nmaximum frame width." (choice (const :tag "Value of `fill-column'") (const :tag "Full frame width" frame-width) (integer :tag "Number of columns")) rcirc-fill-prefix "Text to insert before filled lines.\nIf nil, calculate the prefix dynamically to line up text\nunderneath each nick." (choice (const :tag "Dynamic" nil) (string :tag "Prefix text"))] 12) #@45 If non-nil, ignore activity in this buffer. (defvar rcirc-ignore-buffer-activity-flag nil (#$ . 3389)) (make-variable-buffer-local 'rcirc-ignore-buffer-activity-flag) #@65 If non-nil, activity in this buffer is considered low priority. (defvar rcirc-low-priority-flag nil (#$ . 3562)) (make-variable-buffer-local 'rcirc-low-priority-flag) #@99 Non-nil if Rcirc-Omit mode is enabled. Use the command `rcirc-omit-mode' to change this variable. (defvar rcirc-omit-mode nil (#$ . 3735)) (byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\210\302\312\313\314\306\315\310\311&\210\302\316\317\320\306\321\310\311&\210\302\322\323\324\306\325\310\311&\210\302\326\317\327\306\321\310\311&\210\302\330\323\331\306\332\310\311&\210\302\333\317\334\306\321\310\311&\210\302\335\317\336\337\340\306\321\310\311& \210\302\341\342\343\306\307\344\345\346\347\310\311&\210\302\350\323\351\306\352\310\311&\210\302\353\323\354\306\355\310\311&\207" [make-variable-buffer-local rcirc-omit-mode custom-declare-variable rcirc-time-format "%H:%M " "Describes how timestamps are printed.\nUsed as the first arg to `format-time-string'." :type string :group rcirc rcirc-input-ring-size 1024 "Size of input history ring." integer rcirc-read-only-flag t "Non-nil means make text in IRC buffers read-only." boolean rcirc-buffer-maximum-lines nil "The maximum size in lines for rcirc buffers.\nChannel buffers are truncated from the top to be no greater than this\nnumber. If zero or nil, no truncating is done." (choice (const :tag "No truncation" nil) (integer :tag "Number of lines")) rcirc-scroll-show-maximum-output "If non-nil, scroll buffer to keep the point at the bottom of\nthe window." rcirc-authinfo "List of authentication passwords.\nEach element of the list is a list with a SERVER-REGEXP string\nand a method symbol followed by method specific arguments.\n\nThe valid METHOD symbols are `nickserv', `chanserv' and\n`bitlbee'.\n\nThe ARGUMENTS for each METHOD symbol are:\n `nickserv': NICK PASSWORD [NICKSERV-NICK]\n `chanserv': NICK CHANNEL PASSWORD\n `bitlbee': NICK PASSWORD\n `quakenet': ACCOUNT PASSWORD\n\nExamples:\n ((\"freenode\" nickserv \"bob\" \"p455w0rd\")\n (\"freenode\" chanserv \"bob\" \"#bobland\" \"passwd99\")\n (\"bitlbee\" bitlbee \"robert\" \"sekrit\")\n (\"dal.net\" nickserv \"bob\" \"sekrit\" \"NickServ@services.dal.net\")\n (\"quakenet.org\" quakenet \"bobby\" \"sekrit\"))" (alist :key-type (string :tag "Server") :value-type (choice (list :tag "NickServ" (const nickserv) (string :tag "Nick") (string :tag "Password")) (list :tag "ChanServ" (const chanserv) (string :tag "Nick") (string :tag "Channel") (string :tag "Password")) (list :tag "BitlBee" (const bitlbee) (string :tag "Nick") (string :tag "Password")) (list :tag "QuakeNet" (const quakenet) (string :tag "Account") (string :tag "Password")))) rcirc-auto-authenticate-flag "Non-nil means automatically send authentication string to server.\nSee also `rcirc-authinfo'." rcirc-authenticate-before-join "Non-nil means authenticate to services before joining channels.\nCurrently only works with NickServ on some networks." :version "24.1" rcirc-prompt "> " "Prompt string to use in IRC buffers.\n\nThe following replacements are made:\n%n is your nick.\n%s is the server.\n%t is the buffer target, a channel or a user.\n\nSetting this alone will not affect the prompt;\nuse either M-x customize or also call `rcirc-update-prompt'." :set rcirc-set-changed :initialize custom-initialize-default rcirc-keywords "List of keywords to highlight in message text." (repeat string) rcirc-ignore-list "List of ignored nicks.\nUse /ignore to list them, use /ignore NICK to add or remove a nick." (repeat string)] 12) #@219 List of ignored nicks added to `rcirc-ignore-list' because of renaming. When an ignored person renames, their nick is added to both lists. Nicks will be removed from the automatic list on follow-up renamings or parts. (defvar rcirc-ignore-list-automatic nil (#$ . 7109)) (byte-code "\302\303\304\305\306\307\310\311&\210\302\312\304\313\306\314\310\311&\210\315\316\317\304#\210\320\304\211\203B @\316N\203; \317N\204; \321\317\316N#\210 A\211\204$ *\322\316\317\323#\210\302\317\304\324\306\325\310\311&\207" [prop --dolist-tail-- custom-declare-variable rcirc-bright-nicks nil "List of nicks to be emphasized.\nSee `rcirc-bright-nick' face." :type (repeat string) :group rcirc rcirc-dim-nicks "List of nicks to be deemphasized.\nSee `rcirc-dim-nick' face." (repeat string) defvaralias rcirc-print-hooks rcirc-print-functions (saved-value saved-variable-comment) put make-obsolete-variable "24.3" "Hook run after text is printed.\nCalled with 5 arguments, PROCESS, SENDER, RESPONSE, TARGET and TEXT." hook] 9) #@44 Hook run after successfully authenticated. (defvar rcirc-authenticated-hook nil (#$ . 8138)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\307&\210\300\314\315\316\304\313\306\307&\210\300\317\302\320\304\321\306\307&\210\300\322\323\324\304\325\306\307&\210\300\326\327\330\331\332\304\333\306\307& \210\300\334\302\335\331\336\304\305\306\307& \207" [custom-declare-variable rcirc-always-use-server-buffer-flag nil "Non-nil means messages without a channel target will go to the server buffer." :type boolean :group rcirc rcirc-decode-coding-system 'utf-8 "Coding system used to decode incoming irc messages.\nSet to 'undecided if you want the encoding of the incoming\nmessages autodetected." coding-system rcirc-encode-coding-system 'utf-8 "Coding system used to encode outgoing irc messages." rcirc-coding-system-alist "Alist to decide a coding system to use for a channel I/O operation.\nThe format is ((PATTERN . VAL) ...).\nPATTERN is either a string or a cons of strings.\nIf PATTERN is a string, it is used to match a target.\nIf PATTERN is a cons of strings, the car part is used to match a\ntarget, and the cdr part is used to match a server.\nVAL is either a coding system or a cons of coding systems.\nIf VAL is a coding system, it is used for both decoding and encoding\nmessages.\nIf VAL is a cons of coding systems, the car part is used for decoding,\nand the cdr part is used for encoding." (alist :key-type (choice (string :tag "Channel Regexp") (cons (string :tag "Channel Regexp") (string :tag "Server Regexp"))) :value-type (choice coding-system (cons (coding-system :tag "Decode") (coding-system :tag "Encode")))) rcirc-multiline-major-mode 'fundamental-mode "Major-mode function to use in multiline edit buffers." function rcirc-nick-completion-format "%s: " "Format string to use in nick completions.\n\nThe format string is only used when completing at the beginning\nof a line. The string is passed as the first argument to\n`format' with the nickname as the second argument." :version "24.1" string rcirc-kill-channel-buffers "When non-nil, kill channel buffers when the server buffer is killed.\nOnly the channel buffers associated with the server in question\nwill be killed." "24.3"] 10) (defvar rcirc-nick nil) (defvar rcirc-prompt-start-marker nil) (defvar rcirc-prompt-end-marker nil) (defvar rcirc-nick-table nil) #@63 Alist of nicks that have recently quit or parted the channel. (defvar rcirc-recent-quit-alist nil (#$ . 10531)) #@71 Syntax table which includes all nick characters as word constituents. (defvar rcirc-nick-syntax-table (byte-code "\302!\303\304\305\"\210\306\307\310 #\210 )\207" [text-mode-syntax-table table make-syntax-table mapc #[(c) "\302\303 #\207" [c table modify-syntax-entry "w"] 4] "[]\\`_^{|}-" modify-syntax-entry 39 "_"] 4) (#$ . 10649)) (defvar rcirc-buffer-alist nil) #@41 List of buffers with unviewed activity. (defvar rcirc-activity nil (#$ . 11025)) #@62 String displayed in mode line representing `rcirc-activity'. (defvar rcirc-activity-string "" (#$ . 11112)) (put 'rcirc-activity-string 'risky-local-variable t) #@56 The server buffer associated with this channel buffer. (defvar rcirc-server-buffer nil (#$ . 11279)) #@50 The channel or user associated with this buffer. (defvar rcirc-target nil (#$ . 11386)) #@42 List of urls seen in the current buffer. (defvar rcirc-urls nil (#$ . 11480)) (put 'rcirc-urls 'permanent-local t) #@66 Kill connection after this many seconds if there is no activity. (defvar rcirc-timeout-seconds 600 (#$ . 11601)) (defconst rcirc-id-string (concat "rcirc on GNU Emacs " emacs-version)) (defvar rcirc-startup-channels nil) #@37 History variable for \[rcirc] call. (defvar rcirc-server-name-history nil (#$ . 11828)) #@37 History variable for \[rcirc] call. (defvar rcirc-server-port-history nil (#$ . 11922)) #@37 History variable for \[rcirc] call. (defvar rcirc-nick-name-history nil (#$ . 12016)) #@37 History variable for \[rcirc] call. (defvar rcirc-user-name-history nil (#$ . 12108)) #@167 Connect to all servers in `rcirc-server-alist'. Do not connect to a server if it is already connected. If ARG is non-nil, instead prompt for connection parameters. (defalias 'rcirc #[(arg) "\203| \306\307 \310\211 \211@@)\311&\312 \"A\313\314\315\316\f\317\"\206$ !\320#5\313\321\316\f\322\"\2064 6\323#7\313\324\316\f\325\"\206C 8\326#9\327\330\310\316\f\331\"#:\332\313\333\334\335\316\f\336\"\337#\"\340\341#;\342\f!<\343579=;:<&.\207\310> \310?\211@\203F@@\211?@\316?A\322\"\206\233 6\316?A\317\"\206\245 \316?A\325\"\206\260 8\316?A\344\"\206\273 =\316?A\336\"\316?A\331\"\316?A\345\"\310A<:;B957\211\203;\310C\346 \310D\211@\203\f@@D\347D!\230\203DC@A\211@\204\361 *C\204\350\351\352\217\210\202:r\353C!q\210\354\355p!\356\"\211A;\2033A\2024>B>)). @A\211@\204\211 *>\205j\357\360>A\203f\334\335\361>!\362#\363\364>!@Q\202i>@\")\207" [arg rcirc-server-alist x server server-plist rcirc-default-port completing-read "IRC Server: " nil rcirc-server-name-history assoc-string read-string "IRC Port: " number-to-string plist-get :port rcirc-server-port-history "IRC Nick: " :nick rcirc-nick-name-history "IRC Username: " :user-name rcirc-user-name-history read-passwd "IRC Password: " :password split-string "IRC Channels: " mapconcat identity :channels " " "[, ]+" t rcirc-prompt-for-encryption rcirc-connect :full-name :encryption rcirc-process-list process-name e (byte-code "\306 \n\f &\207" [server port nick user-name full-name channels rcirc-connect password encryption] 9) ((quit (message "Quit connecting to %s" server))) process-buffer process-contact get-buffer-process :host message "Already connected to %s" butlast ", " ", and " last port rcirc-default-nick nick rcirc-default-user-name user-name password channels encryption rcirc-default-full-name connected-servers c --dolist-tail-- contact full-name connected p] 11 (#$ . 12201) "P"]) (defalias 'irc 'rcirc) (defvar rcirc-process-output nil) (defvar rcirc-topic nil) (defvar rcirc-keepalive-timer nil) (defvar rcirc-last-server-message-time nil) (defvar rcirc-server nil) (defvar rcirc-server-name nil) (defvar rcirc-timeout-timer nil) (defvar rcirc-user-authenticated nil) (defvar rcirc-user-disconnect nil) (defvar rcirc-connecting nil) (defvar rcirc-process nil) (defalias 'rcirc-connect #[(server &optional port nick user-name full-name startup-channels password encryption) "\212\306\307\"\210\310\n\203 \n;\203 \311\n!\202 \n\202 \206# 89\206+ :9;\2064 <;==\312\310\f\313>\206F \314&?\315?\316\211#\210\317\320?\310\"!\210\321?p\"\210\322?\310\"\210\323?\324\"\210\325?\326\"\210\327\330!\210?\327\331!\210\327\332!\210\327\333!\210\310\327\334!\210\335\336\337\"\327\340!\210 \327\341!\210\310!\327\342!\210=\"\327\343!\210\344 #\327\345!\210\310%\327\346!\210\310&\327\347!\210\310'\327\350!\210\351(\352\353\354\"\210\355@G!\204\350 \356?\357@P\"\210\356?\360 P\"\210\356?\3619\362;R\"\210A\204\363\364B\365\245\366#A\306\367\"\210?.\207" [server inhibit-eol-conversion port rcirc-default-port port-number nick message "Connecting to %s..." nil string-to-number open-network-stream :type plain set-process-coding-system raw-text switch-to-buffer rcirc-generate-new-buffer-name set-process-buffer rcirc-mode set-process-sentinel rcirc-sentinel set-process-filter rcirc-filter make-local-variable rcirc-process rcirc-server rcirc-server-name rcirc-buffer-alist rcirc-nick-table make-hash-table :test equal rcirc-nick rcirc-process-output rcirc-startup-channels rcirc-last-server-message-time current-time rcirc-timeout-timer rcirc-user-disconnect rcirc-user-authenticated rcirc-connecting t add-hook auto-save-hook rcirc-log-write zerop rcirc-send-string "PASS " "NICK " "USER " " 0 * :" run-at-time 0 2 rcirc-keepalive "Connecting to %s...done" rcirc-default-nick user-name rcirc-default-user-name full-name rcirc-default-full-name startup-channels encryption process password rcirc-keepalive-timer rcirc-timeout-seconds] 7]) (defalias 'with-rcirc-process-buffer '(macro . #[(process &rest body) "\302\303D BB\207" [process body with-current-buffer process-buffer] 3])) (byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put with-rcirc-process-buffer lisp-indent-function 1 edebug-form-spec t] 4) (defalias 'with-rcirc-server-buffer '(macro . #[(&rest body) "\301\302BB\207" [body with-current-buffer rcirc-server-buffer] 3])) (byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put with-rcirc-server-buffer lisp-indent-function 0 edebug-form-spec t] 4) (defalias 'rcirc-float-time #[nil "\300 \207" [float-time] 1]) #@101 Prompt the user for the encryption method to use. SERVER-PLIST is the property list for the server. (defalias 'rcirc-prompt-for-encryption #[(server-plist) "\304\305\306\307\"\206\n \310\311\312\313 \"\n\314\315\314\211\316 !&!+\207" [server-plist default choices msg "Encryption (default %s): " ("plain" "tls") plist-get :encryption plain intern completing-read format nil t symbol-name] 10 (#$ . 16880)]) #@126 Send keep alive pings to active rcirc processes. Kill processes that have not received a server message since the last ping. (defalias 'rcirc-keepalive #[nil "\301 \203 \302\303\301 \"\207\304!\210\305\211\207" [rcirc-keepalive-timer rcirc-process-list mapc #[(process) "r\303!q\210 ?\205 \304\n\305\306\307 \"#)\207" [process rcirc-connecting rcirc-nick process-buffer rcirc-send-ctcp format "KEEPALIVE %f" rcirc-float-time] 6] cancel-timer nil] 3 (#$ . 17300)]) (defalias 'rcirc-handler-ctcp-KEEPALIVE #[(process target sender message) "r\303!q\210\304\305\306 \307 !Z\"\211)\207" [process message header-line-format process-buffer format "%f" rcirc-float-time string-to-number] 5]) (defvar rcirc-debug-buffer "*rcirc debug*") #@56 If non-nil, write information to `rcirc-debug-buffer'. (defvar rcirc-debug-flag nil (#$ . 18043)) #@139 Add an entry to the debug log including PROCESS and TEXT. Debug text is written to `rcirc-debug-buffer' if `rcirc-debug-flag' is non-nil. (defalias 'rcirc-debug #[(process text) "\205 r\304 !q\210db\210\305\306\307!\310\n!\311\260c)\207" [rcirc-debug-flag rcirc-debug-buffer process text get-buffer-create "[" format-time-string "%Y-%m-%dT%T " process-name "] "] 5 (#$ . 18148)]) (byte-code "\302\303\304\305#\210\306\305\211\203, @\303N\203% \304N\204% \307\304\303N#\210 A\211\204 *\310\303\304\311#\207" [prop --dolist-tail-- defvaralias rcirc-sentinel-hooks rcirc-sentinel-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3"] 6) #@118 Hook functions called when the process sentinel is called. Functions are called with PROCESS and SENTINEL arguments. (defvar rcirc-sentinel-functions nil (#$ . 18835)) #@40 Called when PROCESS receives SENTINEL. (defalias 'rcirc-sentinel #[(process sentinel) "\306\307\310#\311 \312\313 #\"\210r\314 !q\210\315\316\317\n\"B\315\211\203L \f@r\206+ pq\210\320 \321\322 \312\323\324 !\325 !$ ?&\210\326 \210)\fA\211\204\"