From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Le Gouguec Newsgroups: gmane.emacs.help Subject: Fixing key bindings on some terminals Date: Mon, 26 May 2014 10:32:33 +0200 (CEST) Message-ID: <1707864973.524291.1401093153233.JavaMail.root@insa-lyon.fr> References: <1659521050.517588.1401091680002.JavaMail.root@insa-lyon.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1401114179 383 80.91.229.3 (26 May 2014 14:22:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 May 2014 14:22: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 Mon May 26 16:22:48 2014 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 1Wovnb-0005Yj-IQ for geh-help-gnu-emacs@m.gmane.org; Mon, 26 May 2014 16:22:47 +0200 Original-Received: from localhost ([::1]:56956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wovnb-0000xv-4a for geh-help-gnu-emacs@m.gmane.org; Mon, 26 May 2014 10:22:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoqKx-00059x-Ct for help-gnu-emacs@gnu.org; Mon, 26 May 2014 04:32:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoqKn-0004y4-0b for help-gnu-emacs@gnu.org; Mon, 26 May 2014 04:32:51 -0400 Original-Received: from smtp2.insa-lyon.fr ([134.214.182.245]:36762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoqKm-0004xY-QY for help-gnu-emacs@gnu.org; Mon, 26 May 2014 04:32:40 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by smtp2.insa-lyon.fr (smtp2.insa-lyon.fr) with ESMTP id 011F2400C8 for ; Mon, 26 May 2014 10:32:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at insa-lyon.fr Original-Received: from smtp2.insa-lyon.fr ([IPv6:::ffff:127.0.0.1]) by localhost (smtp2.insa-lyon.fr [::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TrZ+j9Gz4kWJ for ; Mon, 26 May 2014 10:32:32 +0200 (CEST) Original-Received: from zstore2.insa-lyon.fr (zstore2.insa-lyon.fr [134.214.182.188]) by smtp2.insa-lyon.fr (smtp2.insa-lyon.fr) with ESMTP id BCE99400E3 for ; Mon, 26 May 2014 10:32:32 +0200 (CEST) In-Reply-To: <1659521050.517588.1401091680002.JavaMail.root@insa-lyon.fr> X-Originating-IP: [80.156.46.53] X-Mailer: Zimbra 7.2.7_GA_2942 (ZimbraWebClient - FF3.0 (Win)/7.2.7_GA_2942) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 134.214.182.245 X-Mailman-Approved-At: Mon, 26 May 2014 10:21:57 -0400 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:97880 Archived-At: Hi, I'm running Emacs (23.2.1) in various terminals (Terminator 0.93, XTerm 261) and I'm trying to set the following behaviour: (global-set-key (kbd "C-?") 'help-command) (global-set-key (kbd "C-h") 'delete-backward-char) (global-set-key (kbd "M-h") 'backward-kill-word) (global-set-key (kbd "M-?") 'help) I.e. move "help" to C-? so that I can use C-h to delete stuff backwards. However with Terminator, C-? ends up behaving like C-h. Running "describe-key" and giving "C-?" as input gives information about the "DEL" key ; with XTerm, running "describe-key" and typing "C-?" prints the prompt in the minibuffer and waits for the final input, as expected. I tried to test some other bindings like "C-," ; again, XTerm recognized the shortcut, while Terminator only recognized ",". I know this is not really a problem with Emacs, but I'd like to know how I can pinpoint what application "eats" my shortcuts (is it Terminator, Openbox (3.5.0), something else entirely?). Basically I'm trying to get C-? to work with Terminator (I tried replacing Terminator with multi-term in Emacs but I'm still not satisfied with it). While I'd love it if anyone could provide a complete graph of causes and effects and the steps needed to get what I want, I'd still be glad with just a few pointers on what I need to learn/look for to fix how Emacs receives key presses when running inside Terminator. Thanks in advance!