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

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

Re: redefine C-h


From: Xah
Subject: Re: redefine C-h
Date: Sun, 10 Aug 2008 11:40:53 -0700 (PDT)
User-agent: G2/1.0

On Aug 9, 9:00 am, YSK <address@hidden> wrote:
> On Aug 9, 10:14 am, Kevin Rodgers <address@hidden> wrote:

> > [C-h] is not the same thing as "\C-h".
>
> > Also, you need to (setq help-char ?\C-\M-h)
>
> I did not know that - what is the difference between [C-h] and "\C-h"?
> I thought they were interchangeable.

One is vector datatype, one is string datatype.
the vector needs to be like this: “[?\C-h]”.

Also, it's best to use the function “kbd” for all your kebyoard
defining needs.

For a explanation on the various variant of syntax for key presses,
see:

http://xahlee.org/emacs/keystroke_rep.html

  Xah
∑ http://xahlee.org/

reply via email to

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