Variable: rcirc-coding-system-alist

rcirc-coding-system-alist is a customizable variable defined in rcirc.el.gz.

Value

nil

Documentation

Alist to decide a coding system to use for a channel I/O operation.

The format is ((PATTERN . VAL) ...). PATTERN is either a string or a cons of strings. If PATTERN is a string, it is used to match a target. If PATTERN is a cons of strings, the car part is used to match a target, and the cdr part is used to match a server. VAL is either a coding system or a cons of coding systems. If VAL is a coding system, it is used for both decoding and encoding messages. If VAL is a cons of coding systems, the car part is used for decoding, and the cdr part is used for encoding.

Source Code

;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defcustom rcirc-coding-system-alist nil
  "Alist to decide a coding system to use for a channel I/O operation.
The format is ((PATTERN . VAL) ...).
PATTERN is either a string or a cons of strings.
If PATTERN is a string, it is used to match a target.
If PATTERN is a cons of strings, the car part is used to match a
target, and the cdr part is used to match a server.
VAL is either a coding system or a cons of coding systems.
If VAL is a coding system, it is used for both decoding and encoding
messages.
If VAL is a cons of coding systems, the car part is used for decoding,
and the cdr part is used for encoding."
  :type '(alist :key-type (choice (regexp :tag "Channel Regexp")
                                  (cons (regexp :tag "Channel Regexp")
                                        (regexp :tag "Server Regexp")))
                :value-type (choice coding-system
                                    (cons (coding-system :tag "Decode")
                                          (coding-system :tag "Encode")))))