From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Olson Newsgroups: gmane.emacs.bugs Subject: bug#4462: 23.1; global-(un)set-key has no effect for global key set by ERC Date: Fri, 18 Sep 2009 10:12:18 -0700 Message-ID: References: <87hbv01a2m.fsf@stupidchicken.com> Reply-To: Michael Olson , 4462@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1253296471 18459 80.91.229.12 (18 Sep 2009 17:54:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 17:54:31 +0000 (UTC) Cc: Robin Green , 4462@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 18 19:54:24 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mohf5-0004Pi-Dp for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 19:54:23 +0200 Original-Received: from localhost ([127.0.0.1]:37303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mohf4-00045o-UC for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 13:54:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MohEm-0008Lm-RZ for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 13:27:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MohEh-0008JK-Mw for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 13:27:11 -0400 Original-Received: from [199.232.76.173] (port=55417 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MohEh-0008J4-8E for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 13:27:07 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60572) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MohEf-0000ql-A6 for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2009 13:27:06 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8IHR2Ud027815; Fri, 18 Sep 2009 10:27:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8IHK5ra026707; Fri, 18 Sep 2009 10:20:05 -0700 Resent-Date: Fri, 18 Sep 2009 10:20:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Michael Olson Original-Sender: me@mwolson.org Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 18 Sep 2009 17:20:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4462 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4462-submit@emacsbugs.donarmstrong.com id=B4462.125329396525832 (code B ref 4462); Fri, 18 Sep 2009 17:20:05 +0000 Original-Received: (at 4462) by emacsbugs.donarmstrong.com; 18 Sep 2009 17:12:45 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-iw0-f184.google.com (mail-iw0-f184.google.com [209.85.223.184]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8IHChcI025826 for <4462@emacsbugs.donarmstrong.com>; Fri, 18 Sep 2009 10:12:45 -0700 Original-Received: by iwn14 with SMTP id 14so759899iwn.13 for <4462@emacsbugs.donarmstrong.com>; Fri, 18 Sep 2009 10:12:38 -0700 (PDT) Original-Received: by 10.231.9.33 with SMTP id j33mr2212222ibj.37.1253293958108; Fri, 18 Sep 2009 10:12:38 -0700 (PDT) X-Originating-IP: [209.104.55.5] In-Reply-To: <87hbv01a2m.fsf@stupidchicken.com> X-Google-Sender-Auth: 915f6401b5257176 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 18 Sep 2009 13:27:11 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31227 Archived-At: The solution is to do M-x customize-option RET erc-track-enable-keybindings RET. Change to nil. It defaults to 'ask, which means "ask the user whether they want to bind C-c C-SPC." On Fri, Sep 18, 2009 at 9:39 AM, Chong Yidong wrote= : > Hi Michael, could you take a look at this bug report for ERC? =C2=A0Thank= s. > >> ERC, when started with M-x erc, defines an apparently global key binding >> for C-c C-SPC, which takes precedence over the default binding for the >> same key in the 3rd-party "agda" major mode. I wanted to make C-c C-SPC >> do what it used to do, in the agda major mode at least, so I tried >> >> M-x global-set-key RET C-c C-SPC agda2-give RET >> >> and >> >> M-x global-unset-key RET C-c C-SPC >> >> but neither of these had any effect. After both of them, C-c C-SPC >> switches to an ERC buffer, which is exactly the same behaviour as >> before. > > --=20 Michael Olson || http://mwolson.org/ Projects: Emacs, Muse, ERC, EMMS