From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Alt as meta, except for certain keys, how? Date: Fri, 15 Aug 2003 15:05:23 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84ptj72hrg.fsf@slowfox.is.informatik.uni-duisburg.de> References: <3F329CBE.8050706@yahoo.com> <3F33F14F.2060903@yahoo.com> <3F37FC9E.5000203@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1060954442 9609 80.91.224.253 (15 Aug 2003 13:34:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Aug 2003 13:34:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 15 15:34:00 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19neiO-0004rp-00 for ; Fri, 15 Aug 2003 15:34:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19nefg-0002cJ-Hw for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Aug 2003 09:31:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!newsfeed.mathworks.com!btnet-peer0!btnet-peer!btnet!newsfeed1.eu.ignite.net!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!pd9e1e36d.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: pd9e1e36d.dip.t-dialin.net (217.225.227.109) Original-X-Trace: news.uni-berlin.de 1060952723 1175311 217.225.227.109 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:z8cw3rKHT5SGYn+7/Ssuryq8zzM= Original-Xref: shelby.stanford.edu gnu.emacs.help:115917 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11834 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11834 Kevin Rodgers writes: > So you need to use the vector notation for keys containing meta-modified > non-ASCII characters: > > (define-key key-translation-map [?\M- ...] ...) I prefer the kbd syntax. You write (kbd "...") instead of [?\M-...] or suchlike. The advantage of the kbd syntax is that it is like the output of C-h c, C-h k, C-h l and friends. IMHO this is a very strong advantage. I'm sorry if I'm tiring you with this advertisement. -- Two cafe au lait please, but without milk.