From greenrd@greenrd.org Thu Sep 17 08:41:38 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 17 Sep 2009 15:41:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8HFfaLV009561 for ; Thu, 17 Sep 2009 08:41:37 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoJ72-0006YF-9A for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 11:41:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoJ6x-0006So-Ce for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 11:41:35 -0400 Received: from [199.232.76.173] (port=52607 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoJ6x-0006SV-7D for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 11:41:31 -0400 Received: from [67.214.171.75] (port=41387 helo=mail.dnsexit.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoJ6w-0003Ce-P8 for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 11:41:31 -0400 Received: from localhost.localdomain (csltrg.swan.ac.uk [137.44.2.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.dnsexit.com (Postfix) with ESMTP id 4DDBC8B5D21 for ; Thu, 17 Sep 2009 11:35:46 -0400 (EDT) Received: from fedora.greenrd.org (fedora [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3) with ESMTP id n8HFfGwm006821 for ; Thu, 17 Sep 2009 16:41:16 +0100 Date: Thu, 17 Sep 2009 16:41:16 +0100 Message-ID: From: Robin Green To: bug-gnu-emacs@gnu.org Subject: 23.1; global-(un)set-key has no effect for global key set by ERC User-Agent: Wanderlust/2.15.7 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?UTF-8?B?U2hpasWN?=) APEL/10.7 Emacs/23.1 (i386-redhat-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: Swansea University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: 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. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.1/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.17.9) of 2009-08-31 on x86-4.fedora.phx.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.10699901 configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i686-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i686-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: ERC Minor modes in effect: shell-dirtrack-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: 2 - g i C-c C-c C-SPC C-a C-c SPC C-c C-SPC M-x g l o b a l - y b s u n C-c C-SPC C-c C-SPC C-d TAB > SPC C-x b * # e r c Recent messages: Scoring...done Updated (-0/+12) message(s). Updated (-0/+12) message(s) Mark set byte-code: Beginning of buffer Mark set byte-code: Beginning of buffer [2 times] Mark set byte-code: Beginning of buffer [2 times] Mark set From cyd@stupidchicken.com Fri Sep 18 09:39:36 2009 Received: (at 4462) by emacsbugs.donarmstrong.com; 18 Sep 2009 16:39:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.4 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po45.its.yale.edu (pantheon-po45.its.yale.edu [130.132.50.79]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8IGdZ5R019763 for <4462@emacsbugs.donarmstrong.com>; Fri, 18 Sep 2009 09:39:36 -0700 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po45.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n8IGdT8f025251 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 18 Sep 2009 12:39:30 -0400 Received: by furry (Postfix, from userid 1000) id DFFB0C070; Fri, 18 Sep 2009 12:39:29 -0400 (EDT) From: Chong Yidong To: Michael Olson Cc: 4462@debbugs.gnu.org, Robin Green Subject: Re: 23.1; global-(un)set-key has no effect for global key set by ERC Date: Fri, 18 Sep 2009 12:39:29 -0400 Message-ID: <87hbv01a2m.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) Hi Michael, could you take a look at this bug report for ERC? Thanks. > 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. From me@mwolson.org Fri Sep 18 10:12:45 2009 Received: (at 4462) by emacsbugs.donarmstrong.com; 18 Sep 2009 17:12:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 Received: by iwn14 with SMTP id 14so759899iwn.13 for <4462@emacsbugs.donarmstrong.com>; Fri, 18 Sep 2009 10:12:38 -0700 (PDT) MIME-Version: 1.0 Sender: me@mwolson.org 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> References: <87hbv01a2m.fsf@stupidchicken.com> From: Michael Olson Date: Fri, 18 Sep 2009 10:12:18 -0700 X-Google-Sender-Auth: 915f6401b5257176 Message-ID: Subject: Re: 23.1; global-(un)set-key has no effect for global key set by ERC To: Chong Yidong Cc: 4462@debbugs.gnu.org, Robin Green Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 From cyd@stupidchicken.com Fri Sep 18 10:50:44 2009 Received: (at control) by emacsbugs.donarmstrong.com; 18 Sep 2009 17:50:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.4 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po32.its.yale.edu (pantheon-po32.its.yale.edu [130.132.50.88]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8IHogZK031687 for ; Fri, 18 Sep 2009 10:50:43 -0700 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po32.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n8IHobRr016385 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 18 Sep 2009 13:50:37 -0400 Received: by furry (Postfix, from userid 1000) id 42D0AC070; Fri, 18 Sep 2009 13:50:37 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 4462 Date: Fri, 18 Sep 2009 13:50:37 -0400 Message-ID: <871vm4qh02.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) close 4462 thanks From unknown Thu Aug 21 12:11:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 17 Oct 2009 14:24:13 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator