all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Olson <mwolson@gnu.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Robin Green <greenrd@greenrd.org>, 4462@emacsbugs.donarmstrong.com
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	[thread overview]
Message-ID: <c8b3bef90909181012ta472d83jf8fce69d05731db6@mail.gmail.com> (raw)
In-Reply-To: <87hbv01a2m.fsf@stupidchicken.com>

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@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





  reply	other threads:[~2009-09-18 17:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 16:39 bug#4462: 23.1; global-(un)set-key has no effect for global key set by ERC Chong Yidong
2009-09-18 17:12 ` Michael Olson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-09-17 15:41 Robin Green

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c8b3bef90909181012ta472d83jf8fce69d05731db6@mail.gmail.com \
    --to=mwolson@gnu.org \
    --cc=4462@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=greenrd@greenrd.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.