Function: erc-mode
erc-mode is an interactive and byte-compiled function defined in
erc.el.gz.
Signature
(erc-mode)
Documentation
Major mode for Emacs IRC.
This mode runs the hook erc-mode-hook, as the final or penultimate
step during initialization.
undefined
<home> erc-bol
C-M-i ispell-complete-word
C-a erc-bol
C-c C-a erc-bol
C-c C-b erc-switch-to-buffer
C-c C-c erc-toggle-interpret-controls
C-c C-d erc-input-action
C-c C-e erc-toggle-ctcp-autoresponse
C-c C-f erc-toggle-flood-control
C-c C-j erc-join-channel
C-c C-k erc-go-to-log-matches-buffer
C-c C-l erc-save-buffer-in-logs
C-c C-n erc-channel-names
C-c C-o erc-get-channel-mode-from-keypress
C-c C-p erc-part-from-channel
C-c C-q erc-quit-server
C-c C-r erc-remove-text-properties-region
C-c C-t erc-set-topic
C-c C-u erc-kill-input
C-c C-x erc-quit-server
C-c TAB erc-invite-only-mode
RET erc-send-current-line
TAB completion-at-point
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
;; Mode activation routines
(define-derived-mode erc-mode fundamental-mode "ERC"
"Major mode for Emacs IRC."
(setq local-abbrev-table erc-mode-abbrev-table)
(setq-local next-line-add-newlines nil)
(setq line-move-ignore-invisible t)
(setq-local paragraph-separate
(concat "\C-l\\|\\(^" (regexp-quote (erc-prompt)) "\\)"))
(setq-local paragraph-start
(concat "\\(" (regexp-quote (erc-prompt)) "\\)"))
(setq-local completion-ignore-case t)
(add-hook 'completion-at-point-functions #'erc-complete-word-at-point nil t))