GNU bug report logs -
#4462
23.1; global-(un)set-key has no effect for global key set by ERC
Previous Next
Reported by: Robin Green <greenrd <at> greenrd.org>
Date: Thu, 17 Sep 2009 15:50:05 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4462 in the body.
You can then email your comments to 4462 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4462
; Package
emacs
.
(Thu, 17 Sep 2009 15:50:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Robin Green <greenrd <at> greenrd.org>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 17 Sep 2009 15:50:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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 <at> 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:
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <tab> 2 - g i <tab> <return> <help-echo>
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <buffer>
C-c <help-echo> <down-mouse-1> <mouse-1> C-c C-SPC
<help-echo> <help-echo> <help-echo> <menu-bar> <buffer>
C-a C-c SPC <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<describe> <describe-key-1> C-c C-SPC <help-echo> <help-echo>
<help-echo> M-x g l o b a l - <tab> y b s <tab> <backspace>
<backspace> <backspace> u n <tab> <return> C-c C-SPC
<up> <down> <left> <left> <right> C-c C-SPC <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <buffer>
<list-all-buffers> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <down-mouse-1> <mouse-2> <down-mouse-5>
<mouse-5> <double-down-mouse-5> <double-mouse-5> <triple-down-mouse-5>
<triple-mouse-5> <triple-down-mouse-5> <triple-mouse-5>
<triple-down-mouse-5> <triple-mouse-5> <triple-down-mouse-5>
<triple-mouse-5> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <buffer> C-d <help-echo> <down-mouse-5>
<mouse-5> <double-down-mouse-5> <double-mouse-5> <down-mouse-4>
<mouse-4> <double-down-mouse-4> <double-mouse-4> <triple-down-mouse-4>
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4>
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4>
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4>
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4>
<triple-mouse-4> <help-echo> <help-echo> <menu-bar>
<buffer> TAB <return> > <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <return> <down> <down> <down>
<return> SPC <up> <return> <down> <down> <down> <return>
<down-mouse-4> <mouse-4> <down-mouse-4> <mouse-4> <down-mouse-4>
<mouse-4> <down-mouse-1> <mouse-1> <return> <down-mouse-2>
<mouse-2> <down-mouse-4> <mouse-4> <down-mouse-1> <mouse-1>
<return> <down> <return> <help-echo> <help-echo> <help-echo>
<down-mouse-1> <drag-mouse-1> <help-echo> <help-echo>
<help-echo> C-x b * <backspace> # e r c <return> <help-echo>
<help-echo> <help-echo> <down-mouse-4> <mouse-4> <down-mouse-2>
<mouse-2> <down-mouse-4> <mouse-4> <double-down-mouse-4>
<double-mouse-4> <down-mouse-2> <mouse-2> <down-mouse-4>
<mouse-4> <double-down-mouse-4> <double-mouse-4> <help-echo>
<down-mouse-2> <mouse-2> <return> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <send-emacs-bug
-report>
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
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4462
; Package
emacs
.
(Fri, 18 Sep 2009 16:45:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 18 Sep 2009 16:45:06 GMT)
Full text and
rfc822 format available.
Message #10 received at 4462 <at> emacsbugs.donarmstrong.com (full text, mbox):
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.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4462
; Package
emacs
.
(Fri, 18 Sep 2009 17:20:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Olson <mwolson <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 18 Sep 2009 17:20:05 GMT)
Full text and
rfc822 format available.
Message #15 received at 4462 <at> emacsbugs.donarmstrong.com (full text, mbox):
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 <cyd <at> stupidchicken.com> wrote:
> 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.
>
>
--
Michael Olson || http://mwolson.org/
Projects: Emacs, Muse, ERC, EMMS
bug closed, send any further explanations to Robin Green <greenrd <at> greenrd.org>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Fri, 18 Sep 2009 18:00:07 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Sat, 17 Oct 2009 14:24:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 310 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.