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: Sun, 04 Aug 2013 22:51:55 -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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375671155 16022 80.91.229.3 (5 Aug 2013 02:52:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2013 02:52:35 +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 Aug 05 04:52:37 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 1V6AuS-00045Z-JM for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Aug 2013 04:52:36 +0200 Original-Received: from localhost ([::1]:39350 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6AuS-0003uE-AA for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Aug 2013 22:52:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6AuA-0003tC-QA for help-gnu-emacs@gnu.org; Sun, 04 Aug 2013 22:52:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6Au3-0006P5-Gb for help-gnu-emacs@gnu.org; Sun, 04 Aug 2013 22:52:18 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:37247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6Au3-0006Ov-AD for help-gnu-emacs@gnu.org; Sun, 04 Aug 2013 22:52:11 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V6Atz-0002xF-0s for help-gnu-emacs@gnu.org; Mon, 05 Aug 2013 04:52:07 +0200 Original-Received: from 69-196-168-177.dsl.teksavvy.com ([69.196.168.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Aug 2013 04:52:07 +0200 Original-Received: from monnier by 69-196-168-177.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Aug 2013 04:52:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-196-168-177.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:mY4nzX/1kjnb3qcnue5s9ZNmKcI= 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:92709 Archived-At: > OK, that key DOES NOT work in emacs here. If I press Alt-x (as is how > it works under linux), then emacs responds with 'A-x is not defined' IIUC you got this message with Emacs running in GUI mode (not within an xterm). Many/most systems don't have a Meta key, so Emacs by default looks for a Meta key and if it can't find one, it falls back on using the Alt key as a Meta key. So the above message indicates that Emacs did find a Meta key, which is why it treats the Alt key as an actual Alt key rather than as a Meta key. So, take a look at the output of "xmodmap". It probably includes entries both for Meta and for Alt keys. Either remap your Alt keys to be Meta keys, or remap your Meta keys to something else (so that Emacs will use the Alt keys for its Meta modifier). Stefan