From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Keybindings for Emacs with no X? Date: Fri, 3 Feb 2012 00:10:26 -0700 Message-ID: <20120203071026.GA3958@hysteria.proulx.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1328253055 6611 80.91.229.3 (3 Feb 2012 07:10:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2012 07:10:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Angel de Vicente Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 03 08:10:53 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RtDIK-00037e-2G for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Feb 2012 08:10:52 +0100 Original-Received: from localhost ([::1]:52016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtDIJ-0008DJ-1j for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Feb 2012 02:10:51 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtDI8-00088Y-Ds for help-gnu-emacs@gnu.org; Fri, 03 Feb 2012 02:10:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtDI2-0002nS-LI for help-gnu-emacs@gnu.org; Fri, 03 Feb 2012 02:10:40 -0500 Original-Received: from joseki.proulx.com ([216.17.153.58]:51612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtDI2-0002nK-49 for help-gnu-emacs@gnu.org; Fri, 03 Feb 2012 02:10:34 -0500 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 35734211D3; Fri, 3 Feb 2012 00:10:27 -0700 (MST) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 0BFE12DC9D; Fri, 3 Feb 2012 00:10:26 -0700 (MST) Mail-Followup-To: Bob Proulx , Angel de Vicente , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.17.153.58 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:83596 Archived-At: Angel de Vicente wrote: > I run Emacs in text mode, inside GNUScreen, running in a > gnome-terminal. As a result, many key combinations don't get sent to > Emacs properly. For example, M-SPC gets to Emacs as C-M-j. Since I run > Emacs always like this, and basically I live inside Emacs, I would be > willing to spend some time trying to find a way out of this > problem. Searching the web has not really helped much... > > Any help on where I should be looking? Since the problem you described is with the terminal emulator that you described the place to fix it would seem to be in the terminal emulator. It would seem that gnome-terminal is the deficient code in the path between your keyboard and emacs. For what it is worth I live inside emacs inside an xterm and M-SPC is propagated correctly by xterm. I do have "Meta Sends Escape" (XTerm*metaSendsEscape:true) configured in my Xresources for xterm. Perhaps using xterm would be a solution for you? Bob