From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: chengiz Newsgroups: gmane.emacs.help Subject: Re: Alt vs Meta - Sun keyboard, redhat linux Date: Mon, 3 Jan 2011 12:25:44 -0800 (PST) Organization: http://groups.google.com Message-ID: <12f2b857-0c03-44a8-a4fc-439bd083b0d1@j19g2000prh.googlegroups.com> References: <6c4514cc-28cf-4a1d-8afe-6dcec2325b05@z9g2000yqz.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1294087237 14426 80.91.229.12 (3 Jan 2011 20:40:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2011 20:40:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 03 21:40:33 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZrCa-0008NB-27 for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 21:40:27 +0100 Original-Received: from localhost ([127.0.0.1]:47832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZrCY-0000Nr-Hj for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 15:40:22 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!j19g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: 66.195.165.72 Original-X-Trace: posting.google.com 1294086344 15660 127.0.0.1 (3 Jan 2011 20:25:44 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 3 Jan 2011 20:25:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j19g2000prh.googlegroups.com; posting-host=66.195.165.72; posting-account=nMxg0wkAAADbRVC3VR7lfeu1mkQ_EvLd User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:183926 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78133 Archived-At: On Jan 1, 2:35=A0pm, Peter Dyballa wrote: > Am 01.01.2011 um 00:21 schrieb chengiz: > > > In gnome-keyboard-properties, under Layout Options -> Alt/Win key > > behaviour, I set "Meta is mapped to the Win-keys". This resulted in > > the Meta key being mapped to M- but the Alt key is still mapped to M-. > > How do I map the Alt key to A-? > > I'm not using GNOME. > > I'd use xmodmap to change the modifier keys. And I'd use xev to =A0 > determine the key code or symbol name of the keys to change. > > In ~/.xinitrc you then can have: > > =A0 =A0 =A0 =A0 xmodmap ${HOME}/.xmodmaprc > > and .xmodmaprc can have a little "programme" like this: > > =A0 =A0 =A0 =A0 clear Mod1 > =A0 =A0 =A0 =A0 clear Mod2 > =A0 =A0 =A0 =A0 add =A0 =A0Mod1 =A0 =A0=3D Alt_L =A0 =A0 =A0 Alt_R > =A0 =A0 =A0 =A0 add =A0 =A0Mod2 =A0 =A0=3D Meta_L =A0 =A0 =A0Meta_R > > -- > Greetings > > =A0 =A0Pete > > It isn't pollution that's harming the environment. It's the impurities = =A0 > in our air and water that are doing it. Which of these "Mod?"s does emacs use for its Alt modifier? My current xmodmap already has Alt_L at Mod1. I want emacs to treat this like Emacs-alt (ie. the rarely used Alt modifier mentioned at http://www.gnu.org/software/emacs/manual/html_node/emacs/Windows-Keyboard.h= tml) rather than Emacs-meta.