help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: redefine C-h


From: YSK
Subject: Re: redefine C-h
Date: Sat, 9 Aug 2008 09:00:27 -0700 (PDT)
User-agent: G2/1.0

On Aug 9, 10:14 am, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
> YSK wrote:
> > C-h is a normally prefix key, but I want to bind 'backward-char-
> > delete' to it. My .emacs has this:
>
> > (global-unset-key "\C-h")
> > (global-set-key "\C-\M-h" 'help-command)
> > (global-set-key [C-h] 'delete-backward-char)
>
> > I want to use C-M-h for help-command instead and use C-h for
> > backspace. However...it's not working. C-h remains a prefix key. My
> > understanding of prefix keys is basically nil, so there's probably
> > something pretty basic I'm missing here. Would anyone here be kind
> > enough to clue me in?
>
> [C-h] is not the same thing as "\C-h".
>
> Also, you need to (setq help-char ?\C-\M-h)
>
> --
> Kevin Rodgers
> Denver, Colorado, USA

Kevin,

I did not know that - what is the difference between [C-h] and "\C-h"?
I thought they were interchangeable.

Thanks


reply via email to

[Prev in Thread] Current Thread [Next in Thread]