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: =?iso-8859-1?q?Re=3A_global-set-key__=5B=3F_=5C_M-=F6=5D?= Date: Wed, 28 May 2003 18:51:03 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84d6i310co.fsf@lucy.is.informatik.uni-duisburg.de> References: <3EC936AD.41BBBEC8@gmx.net> <87of1ybr5p.fsf@bach.composers> <3ECB2DA2.107EDA4@gmx.net> <5lr86o8jox.fsf@rum.cs.yale.edu> <5l4r3frv9z.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1054141414 4865 80.91.224.249 (28 May 2003 17:03:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 May 2003 17:03:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed May 28 19:03:31 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19L4Jv-0001Aj-00 for ; Wed, 28 May 2003 19:02:35 +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 19L4D1-0002qK-MI for gnu-help-gnu-emacs@m.gmane.org; Wed, 28 May 2003 12:55:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pd9e1e11a.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: pd9e1e11a.dip.t-dialin.net (217.225.225.26) Original-X-Trace: fu-berlin.de 1054140687 5209571 217.225.225.26 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:fhU5NSVkjSREDRTNh54T0Ul5o5o= Original-Xref: shelby.stanford.edu gnu.emacs.help:113796 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10290 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10290 "Eli Zaretskii" writes: > IIRC, there's more here than meets the eye. Binding non-ASCII keys in > a .emacs requires that (a) Emacs reads the key correctly from the init > file and converts it to the internal representation that the user > meant, and (b) that keyboard decoding produces a code that matches > what was read from the init file. It could be a bit tricky to satisfy > both in a given language environment, since .emacs files generally > don't have coding cookies. I've changed the Emacs manual to advise people to put coding cookies into the .emacs file. WDYT? (I notice that I forgot to also tell them to save .emacs with the right encoding. Excuse me while I fix this...) > Also, if I'm not mistaken, non-ASCII keys with modifiers are very > hard to express unless you go unibyte. I don't have such a kbd. Doesn't (kbd "C-M-ß"), say, work, if the .emacs encoding and the kbd encoding match? -- This line is not blank.