From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Case Newsgroups: gmane.emacs.help Subject: Re: keypad bindings in gnome not in xTerm ?? Date: Tue, 19 Aug 2008 10:09:18 -0400 Message-ID: <1219154958.2618.31.camel@CASE> References: <1218775262.11374.15.camel@CASE> <1218813981.3551.16.camel@CASE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219154996 28940 80.91.229.12 (19 Aug 2008 14:09:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Aug 2008 14:09:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Kevin Rodgers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 19 16:10:49 2008 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 1KVRv0-00016p-Bc for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Aug 2008 16:10:42 +0200 Original-Received: from localhost ([127.0.0.1]:50945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVRu3-0007iU-5r for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Aug 2008 10:09:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVRth-0007iN-Ef for help-gnu-emacs@gnu.org; Tue, 19 Aug 2008 10:09:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVRtg-0007hQ-MJ for help-gnu-emacs@gnu.org; Tue, 19 Aug 2008 10:09:20 -0400 Original-Received: from [199.232.76.173] (port=55081 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVRtg-0007hG-Di for help-gnu-emacs@gnu.org; Tue, 19 Aug 2008 10:09:20 -0400 Original-Received: from smtp125.rog.mail.re2.yahoo.com ([206.190.53.30]:40798) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KVRtg-0005mv-J5 for help-gnu-emacs@gnu.org; Tue, 19 Aug 2008 10:09:20 -0400 Original-Received: (qmail 60336 invoked from network); 19 Aug 2008 14:09:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=nmVR5s+HD7FsXl0W7sHrAxWNV15LFVz0DznFOWaKbWvTMyauh15zJ/u8pGctXNHYZWiZgxw+4Td0XqOyFMkmfF6CERcez9l/ZDcClaO7HtD7jV/D3TTIOVao+uODtOG2cocltgnsSjSeh2UhdLzNb4OcE2NbZWyteeDlVmefiMQ= ; Original-Received: from unknown (HELO ?192.168.1.3?) (billlinux@rogers.com@99.245.244.213 with plain) by smtp125.rog.mail.re2.yahoo.com with SMTP; 19 Aug 2008 14:09:18 -0000 X-YMail-OSG: qVKlQKUVM1n7n1Nq3ce6TVaYzYVmROO..r0SGYuMASuFEV9_t9xQ5Qre86Zdl9EjeQ-- X-Yahoo-Newman-Property: ymail-3 In-Reply-To: X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:56775 Archived-At: Hi Kevin; On Tue, 2008-08-19 at 02:29 -0600, Kevin Rodgers wrote: > William Case wrote: > > Hi Kevin; > > > > On Fri, 2008-08-15 at 05:16 -0600, Kevin Rodgers wrote: > >> William Case wrote: > >>> I have some basic commands such 'kill-this-buffer' bound to keypad keys > >>> e.g. . As long as I am in a Gnome desktop it works fine. > >>> If I switch to an xterm (C-A-Fx), the binding no longer works even > >>> though C-h w says that 'kill-this-buffer' is still bound to > >>> . I have double checked that Num Lock is off. > >>> > >>> How can I get my keypad bindings to work in xTerminals? They are what I > >>> am used to now. > >> What does `C-h k ' show in xterm? > > > > "self-insert-command" > > Ah, I see the same thing: - runs the command self-insert-command > > Note the absence of "(translated from )", which means > that the terminal sent "-" to Emacs rather than an escape sequence. > You can confirm that with ` C-h l'. > I will chase this down. > So I think you are out of luck and cannot bind > independently of "-" in xterm. But a little bit of Googling > suggests that you might be able to get xterm to send escape > sequences via X resources; then Emacs should automatically > recognize via function-key-map. > > Please let us know if you figure out how to get xterm to > send escape sequences for the keypad. I will, but it is not just the keypad that is the problem. Kevin, are you running Gnome and/or Fedora? Why I ask is, this morning I ran a little program to clean gconf and it came up with about 15 mis-configured keyboard conf-keys. (Not my doing that I know of.) I have other gnome problems creeping in as well. It could be the result of a fresh install while retaining my '/home' partition. That's my problem for another list and another day. I just wondered if you were getting the same result because of the same kind of problem. I know emacs keeps itself pretty well divorced from such things but one never knows what the distribution or desktop might be forcing on the whole system in its latest incantation. By the way, isn't the only binding I have lost. I just used that as an example. Some others are straight forward like C-F1 => (find-file-other-window "/path/to/.emacs"). Several like that aren't working either. The mystery is that other custom .emacs commands are working in xterm, just not the key bindings. -- Regards Bill; Fedora 9, Gnome 2.22.3 Evo.2.22.3.1, Emacs 22.2.1