From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Baylis Newsgroups: gmane.emacs.help Subject: Re: emacs 23.1 meta not working in -nw mode Date: Thu, 13 Aug 2009 11:22:44 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7c492e49-8f23-41f2-b298-1cb4d786d422@j21g2000yqe.googlegroups.com> References: <878whop7r3.fsf@iki.fi> 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: ger.gmane.org 1250188851 25977 80.91.229.12 (13 Aug 2009 18:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Aug 2009 18:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 13 20:40:44 2009 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.50) id 1MbfEA-0006Vc-F3 for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Aug 2009 20:40:42 +0200 Original-Received: from localhost ([127.0.0.1]:54091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbfE9-0002WO-Me for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Aug 2009 14:40:41 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!j21g2000yqe.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 147.145.40.44 Original-X-Trace: posting.google.com 1250187764 3957 127.0.0.1 (13 Aug 2009 18:22:44 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 13 Aug 2009 18:22:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j21g2000yqe.googlegroups.com; posting-host=147.145.40.44; posting-account=dNm1mAoAAADEStfarqbdhwZIMTNBGDT8 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:171948 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:67124 Archived-At: On Aug 12, 11:06=A0pm, Teemu Likonen wrote: > On 2009-08-12 16:55 (-0700), Neil Baylis wrote: > > > On Aug 12, 4:40=A0pm, Neil Baylis wrote: > >> I'm using emacs 23.1.1 on an Ubuntu system. It works fine using the > >> GUI. When I run it as emacs -nw, I find the meta key doesn't work > >> properly. Instead, it self-inserts something. > > More info: it's specific to xterm. If I run it in the gnome-terminal, > > it works OK. In both cases, $TERM is set to xterm-color. > > Yes, this is about XTerm and not about Emacs at all. Start XTerm with > option > > =A0 =A0 -xrm "XTerm.*.metaSendsEscape: true" > > or put that X resource in your ~/.Xresources file, like this: > > =A0 =A0 XTerm.*.metaSendsEscape: true Excellent, that did the trick. Thank you. Neil