From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: Re: Modifier keys in Carbon Emacs Date: Sat, 18 Sep 2004 11:55:06 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <86mzznq4ud.fsf@ketchup.de.uu.net> References: <8f56a06e04091614196b79d302@mail.gmail.com> <12232821.1095376040951.JavaMail.steventamm@mac.com> <8f56a06e0409170921749d6ab8@mail.gmail.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095501380 22432 80.91.229.6 (18 Sep 2004 09:56:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2004 09:56:20 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 11:56:07 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C8bwt-0005Nh-00 for ; Sat, 18 Sep 2004 11:56:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8c2e-0007KA-IA for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2004 06:02:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C8c2V-0007K4-2A for emacs-devel@gnu.org; Sat, 18 Sep 2004 06:01:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C8c2T-0007Jr-7z for emacs-devel@gnu.org; Sat, 18 Sep 2004 06:01:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8c2S-0007Jo-HG for emacs-devel@gnu.org; Sat, 18 Sep 2004 06:01:53 -0400 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C8bwL-0005WK-SK for emacs-devel@gnu.org; Sat, 18 Sep 2004 05:55:34 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1C8bwK-0007q1-00 for ; Sat, 18 Sep 2004 11:55:32 +0200 Original-Received: from p5487cd94.dip.t-dialin.net ([84.135.205.148]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2004 11:55:32 +0200 Original-Received: from kai by p5487cd94.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2004 11:55:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p5487cd94.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:e35xBPkSd5N74ca8f61bV22OqmQ= 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27220 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27220 YAMAMOTO Mitsuharu writes: >>>>>> On Fri, 17 Sep 2004 12:21:39 -0400, Doug Alcorn said: > >> (setq mac-command-key-is 'hyper >> mac-option-key-is 'meta >> mac-control-key-is 'control >> mac-function-key-is 'alt) > > Emacs on X11 has variables for modifier translation: x-alt-keysym, > x-meta-keysym, x-hyper-keysym, and x-super-keysym. How about > following this convention? These variables are less than perfect. I already forgot what the problem is, but I do remember that someone sent a message about it and I was convinced that he was right. Hm. Ah! Perhaps you want two keys to be meta. You can't do this with the variable x-meta-keysym. But you could set both mac-command-key-is and mac-function-key-is to `meta'. So the way Doug suggests is better. I think that was the argument. I think it would be good if the variables x-*-keysym were also replaced with a similar mechanism. I can't promise that I find the time, though. Kai