unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] erc.el: Change C-x C-q to C-c C-x
@ 2008-01-31 16:48 Jari Aalto
  2008-01-31 19:15 ` Michael Olson
  2008-02-01  6:34 ` Richard Stallman
  0 siblings, 2 replies; 7+ messages in thread
From: Jari Aalto @ 2008-01-31 16:48 UTC (permalink / raw)
  To: emacs-devel; +Cc: erc-discuss


The rcirc.el whish is the default M-x irc in Emacs uses C-c C-x for
quit, which i think is quite logical (cf. C-x C-c for Emacs quit).

To unify the ERC with rcirc, it might be good idea to use same
keybindings.

2008-01-31  Jari Aalto  <jari.aalto AT cante.net>

        * erc.el (erc-mode-map): Change `erc-quit-server' from
        C-x C-q to C-c C-x to make the quit key uniform with
        rcirc.el

 erc/erc.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/erc/erc.el b/erc/erc.el
index 686a60a..2f2199d 100644
--- a/erc/erc.el
+++ b/erc/erc.el
@@ -1106,7 +1106,7 @@ which the local user typed."
     (define-key map "\C-c\C-n" 'erc-channel-names)
     (define-key map "\C-c\C-o" 'erc-get-channel-mode-from-keypress)
     (define-key map "\C-c\C-p" 'erc-part-from-channel)
-    (define-key map "\C-c\C-q" 'erc-quit-server)
+    (define-key map "\C-c\C-x" 'erc-quit-server)
     (define-key map "\C-c\C-r" 'erc-remove-text-properties-region)
     (define-key map "\C-c\C-t" 'erc-set-topic)
     (define-key map "\C-c\C-u" 'erc-kill-input)





^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-02-02  5:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-31 16:48 [PATCH] erc.el: Change C-x C-q to C-c C-x Jari Aalto
2008-01-31 19:15 ` Michael Olson
2008-01-31 22:17   ` Jari Aalto
2008-01-31 23:22   ` Leo
2008-02-01  6:34 ` Richard Stallman
2008-02-01 14:21   ` Jari Aalto
2008-02-02  5:20   ` Exal de Jesus Garcia Carrillo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).