From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.help Subject: Re: Strange characters produced by M-x in emacs -nw Date: Tue, 17 Sep 2013 13:10:49 -0400 Message-ID: References: <87r4cnmlxf.fsf@newsguy.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1379437899 4609 80.91.229.3 (17 Sep 2013 17:11:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2013 17:11:39 +0000 (UTC) Cc: emacs To: Harry Putnam Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 17 19:11:44 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 1VLyoR-0005LU-Co for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Sep 2013 19:11:43 +0200 Original-Received: from localhost ([::1]:42640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLyoQ-00014R-Ov for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Sep 2013 13:11:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLyoF-00014I-SD for help-gnu-emacs@gnu.org; Tue, 17 Sep 2013 13:11:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLyoE-00013c-Bw for help-gnu-emacs@gnu.org; Tue, 17 Sep 2013 13:11:31 -0400 Original-Received: from mail-ve0-x229.google.com ([2607:f8b0:400c:c01::229]:55345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLyoE-00013R-7H for help-gnu-emacs@gnu.org; Tue, 17 Sep 2013 13:11:30 -0400 Original-Received: by mail-ve0-f169.google.com with SMTP id db12so4531473veb.14 for ; Tue, 17 Sep 2013 10:11:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=PTPrJnr49MEMkddOT9s1F+RxhkcCL28AwSwgyRCwLIY=; b=xNyL/rTUIwkXInMUi5TNEvFSFHgkHYz72FXXm6z46zyszxoA6w+6mzyuPIqSKeSalP oV92nNlFjC0EWIzfOa1Jf/0gCadvHbqzUu8zrfST6nn6S4qippJocbTF+5Sp/4k2GmXk nyhdxSruija5XKebP6GY1mA9M9Yl8UHiZBWHRm9kHvSvPoY6bVh7LfpzCCZutkczxY1R pjRtTpOMPKvnm4DA9+Yda9/Lhyhq9Th4lne+on/iTOyIChtGiCy4KF/ke/Tl85TzQKe2 GznIZc25vEoJhaKuIz3U9K19I4yTx68h8ygfq8K8QC/LVO5B6hcrvKJzcomD7FlzwLNM iDxw== X-Received: by 10.52.23.113 with SMTP id l17mr10189515vdf.23.1379437889485; Tue, 17 Sep 2013 10:11:29 -0700 (PDT) Original-Received: by 10.221.54.129 with HTTP; Tue, 17 Sep 2013 10:10:49 -0700 (PDT) In-Reply-To: <87r4cnmlxf.fsf@newsguy.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c01::229 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:93418 Archived-At: On Tue, Sep 17, 2013 at 12:51 PM, Harry Putnam wrote: > Running recent emacs-24 > on Debian Linux > > I don't often use emacs -nw any more and just noticed today that I > have some kind of charset or LANG setting problem that is causing > unusual characters to be printed to my files when using the ALT key > for combos like M-x. > > (I hope these characters are reproduced in this post) > > `M-x' produces '=C3=B8' > `M-Shift + !' produces '=C2=A1' > `M-shift + : produces '=C2=BA' > > What kind of setting is likely to be causing this? You're `Alt` key is almost certainly being captured by your terminal app and translated to a unicode char. Terminal apps generally have a setting which can translate `Alt` to `Esc+` or something which should get you the behavior you're looking for. In the event that your terminal app or OS doesn't have such a setting, you can also press the Meta key by hitting `Esc` followed by the key. -- In Christ, Timmy V. http://blog.twonegatives.com/ http://five.sentenc.es/ -- Spend less time on mail