From: YSK <koyfman@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: redefine C-h
Date: Sat, 9 Aug 2008 09:00:27 -0700 (PDT) [thread overview]
Message-ID: <24e08128-d392-4920-9433-0a4f7a522e9b@2g2000hsn.googlegroups.com> (raw)
In-Reply-To: mailman.16197.1218291299.18990.help-gnu-emacs@gnu.org
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
next prev parent reply other threads:[~2008-08-09 16:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-08 17:13 redefine C-h YSK
2008-08-09 1:45 ` Joel J. Adamson
2008-08-09 14:14 ` Kevin Rodgers
[not found] ` <mailman.16197.1218291299.18990.help-gnu-emacs@gnu.org>
2008-08-09 16:00 ` YSK [this message]
2008-08-10 18:40 ` Xah
2008-08-11 1:10 ` YSK
2008-08-10 17:36 ` YSK
2008-08-11 0:41 ` Drew Adams
[not found] ` <mailman.16321.1218415295.18990.help-gnu-emacs@gnu.org>
2008-08-11 1:00 ` YSK
2008-08-11 4:07 ` Drew Adams
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24e08128-d392-4920-9433-0a4f7a522e9b@2g2000hsn.googlegroups.com \
--to=koyfman@gmail.com \
--cc=help-gnu-emacs@gnu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).