From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robin Green Newsgroups: gmane.emacs.bugs Subject: bug#4462: 23.1; global-(un)set-key has no effect for global key set by ERC Date: Thu, 17 Sep 2009 16:41:16 +0100 Organization: Swansea University Message-ID: Reply-To: Robin Green , 4462@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1253269683 26827 80.91.229.12 (18 Sep 2009 10:28:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 10:28:03 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 18 12:27:56 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 1MoagG-0006Ds-Lw for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 12:27:09 +0200 Original-Received: from localhost ([127.0.0.1]:46067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoagG-0001c7-3X for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 06:27:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoJVw-0003Ck-Ag for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 12:07:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoJVn-00039Y-Gw for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 12:07:19 -0400 Original-Received: from [199.232.76.173] (port=43403 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoJVm-00039P-L8 for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 12:07:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33178) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoJVl-0007h7-98 for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 12:07:10 -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 n8HG71Do014484; Thu, 17 Sep 2009 09:07:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8HFo5rx010921; Thu, 17 Sep 2009 08:50:05 -0700 Resent-Date: Thu, 17 Sep 2009 08:50:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Robin Green Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 17 Sep 2009 15:50:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4462 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12532020989566 (code B ref -1); Thu, 17 Sep 2009 15:50:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 17 Sep 2009 15:41:38 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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 User-Agent: Wanderlust/2.15.7 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.7 Emacs/23.1 (i386-redhat-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 17 Sep 2009 12:07:18 -0400 X-Mailman-Approved-At: Fri, 18 Sep 2009 06:24:12 -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:31212 Archived-At: 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-bu ffer-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