From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Sanest way to make emacs behave on a Solaris OS Date: Mon, 05 Aug 2013 18:40:22 -0400 Message-ID: References: <87d2pzj4m2.fsf@VLAN-3434.student.uu.se> <87ob9izk9k.fsf@VLAN-3434.student.uu.se> <87fvusw968.fsf@newsguy.com> <20130803070334.GA2266@dismay.proulx.com> <87mwow3m16.fsf@newsguy.com> <87vc3kva86.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375742459 27283 80.91.229.3 (5 Aug 2013 22:40:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2013 22:40:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 06 00:41:00 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V6TSV-0006WK-Vi for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Aug 2013 00:41:00 +0200 Original-Received: from localhost ([::1]:55472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6TSV-0007j0-LE for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Aug 2013 18:40:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6TSE-0007hH-1H for help-gnu-emacs@gnu.org; Mon, 05 Aug 2013 18:40:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6TS6-0004cJ-OD for help-gnu-emacs@gnu.org; Mon, 05 Aug 2013 18:40:41 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6TS6-0004cC-HX for help-gnu-emacs@gnu.org; Mon, 05 Aug 2013 18:40:34 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V6TS4-0006J3-OD for help-gnu-emacs@gnu.org; Tue, 06 Aug 2013 00:40:32 +0200 Original-Received: from 75-119-243-106.dsl.teksavvy.com ([75.119.243.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Aug 2013 00:40:32 +0200 Original-Received: from monnier by 75-119-243-106.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Aug 2013 00:40:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 75-119-243-106.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:iSRid9hy/CrY2ScRTSIbhWXrz6o= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92747 Archived-At: > shift Shift_L (0x32), Shift_R (0x3e) > lock Caps_Lock (0x42) > control Control_L (0x25), Control_R (0x6d) > mod1 Alt_L (0x40) > mod2 Num_Lock (0x4d) > mod3 > mod4 Meta_L (0x73), Meta_R (0x74), Super_L (0x7f), Hyper_L (0x80) > mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x71), ISO_Level3_Shift (0x7c) There you go: Alt on `mod1' and Meta on `mod4'. So, a possible solution: xmodmap -e 'remove mod4 = Meta_L Meta_R' xmodmap -e 'add mod1 = Meta_L Meta_R' so both your Meta and Alt keys will behave as one and the same modifier (probably called "Alt" in most programs and "Meta" in Emacs). Stefan