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: Sun, 25 Mar 2007 23:52:52 -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 1174881376 12352 80.91.229.12 (26 Mar 2007 03:56:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2007 03:56:16 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, jasonr@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 26 05:56:10 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 1HVgJU-0002Bm-6N for ged-emacs-devel@m.gmane.org; Mon, 26 Mar 2007 05:56:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVgLg-0007nL-Ae for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2007 22:58:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVgKb-0006vM-9v for emacs-devel@gnu.org; Sun, 25 Mar 2007 23:57:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVgKa-0006uD-NG for emacs-devel@gnu.org; Sun, 25 Mar 2007 23:57:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVgKa-0006tu-BL for emacs-devel@gnu.org; Sun, 25 Mar 2007 22:57:16 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HVgIN-0007vk-I5 for emacs-devel@gnu.org; Sun, 25 Mar 2007 23:54:59 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HVgGK-00072z-KG; Sun, 25 Mar 2007 23:52:52 -0400 In-reply-to: (message from Kenichi Handa on Mon, 19 Mar 2007 21:25:19 +0900) 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:68566 Archived-At: Here, I think what he meant by "(meta ?)" is a code something like this ("\351" part is of 4 chars): (global-set-key [(meta ?\351)] ...) Then, it works only for w32. Another way is to visit .emacs as unibyte file, put "coding: raw-text;" tag, write as below ("\351" part is of 1 eight-bit char), and save it as raw-text. (global-set-key [(meta ?\351)] ...) But, this also works only for w32. Both depends on that the event ?\M-\351 is generated, but X generates ?\M-é. What I have in mind is writing (meta ?é). The idea is to put the non-ASCII character in .emacs, without modifiers. If the user is using a method that handles non-modified characters correctly, this should extend the method to handle modified characters as well. Isn't that valid?