From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YSK Newsgroups: gmane.emacs.help Subject: Re: redefine C-h Date: Sun, 10 Aug 2008 18:10:02 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7228c238-cc75-437e-88ea-410a710b27d7@l64g2000hse.googlegroups.com> References: <6c2a4df0-eaa7-4617-9cb5-94f0ca4bd888@w7g2000hsa.googlegroups.com> <24e08128-d392-4920-9433-0a4f7a522e9b@2g2000hsn.googlegroups.com> <90694d07-c06f-49ec-a988-ef21e2c6f178@r15g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1218418892 30718 80.91.229.12 (11 Aug 2008 01:41:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Aug 2008 01:41:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 11 03:42:23 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KSMQQ-0003f7-5K for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Aug 2008 03:42:22 +0200 Original-Received: from localhost ([127.0.0.1]:38207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSMPU-0001Bc-9X for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Aug 2008 21:41:24 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l64g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 69.121.149.235 Original-X-Trace: posting.google.com 1218417002 9874 127.0.0.1 (11 Aug 2008 01:10:02 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 11 Aug 2008 01:10:02 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l64g2000hse.googlegroups.com; posting-host=69.121.149.235; posting-account=z6ITewoAAABmlG9vONzLvdFrBL9rvvvn User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 (CK-IBM) Firefox/3.0.1, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:161084 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56431 Archived-At: On Aug 10, 2:40=C2=A0pm, Xah wrote: > On Aug 9, 9:00 am, YSK wrote: > > > On Aug 9, 10:14 am, Kevin Rodgers 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: =E2=80=9C[?\C-h]=E2=80=9D. > > Also, it's best to use the function =E2=80=9Ckbd=E2=80=9D for all your ke= byoard > defining needs. > > For a explanation on the various variant of syntax for key presses, > see: > > http://xahlee.org/emacs/keystroke_rep.html > > =C2=A0 Xah > =E2=88=91http://xahlee.org/ > > =E2=98=84 Xah - Thanks..I will keep this in mind next time I wade through my .emacs.