From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: kbd vs read-key-sequence Date: Thu, 29 Mar 2007 13:59:41 -0400 Message-ID: References: <45E8657D.4080202@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1175191405 20836 80.91.229.12 (29 Mar 2007 18:03:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Mar 2007 18:03:25 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org, jasonr@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 29 20:03:13 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HWyxq-0001go-3C for ged-emacs-devel@m.gmane.org; Thu, 29 Mar 2007 20:03:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWz0R-000630-At for ged-emacs-devel@m.gmane.org; Thu, 29 Mar 2007 13:05:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HWyzD-0005Yx-8V for emacs-devel@gnu.org; Thu, 29 Mar 2007 14:04:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HWyzC-0005Yd-Gi for emacs-devel@gnu.org; Thu, 29 Mar 2007 14:04:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWyzC-0005YU-Ar for emacs-devel@gnu.org; Thu, 29 Mar 2007 13:04:34 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HWywa-0006FR-BN for emacs-devel@gnu.org; Thu, 29 Mar 2007 14:01:52 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HWyuT-0006UP-QD; Thu, 29 Mar 2007 13:59:41 -0400 In-reply-to: (message from Stefan Monnier on Wed, 28 Mar 2007 15:52:57 -0400) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68753 Archived-At: > How is the encoding of files you edit relevant to this at all? It has to match: the event is decoded with keyboard-coding-system whereas the define-key statement is decoded via the .emacs file's coding system. At most, this could mean that the coding system used for .emacs has to match keyboard-coding-system. It has nothing to do with any other file's coding system. But I don't even see why keyboard-coding-system has to match the coding system used for .emacs. Once .emacs is decoded, what you have is a non-ASCII character, in Emacs representation. As long as you reliably get the character you intended, the coding system of .emacs has no further relevance to how that character is handled. So I think your contention is not established.