From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelina Carlton Newsgroups: gmane.emacs.help Subject: Re: emacs-snapshot keybinding problem Date: Fri, 30 Dec 2005 09:21:02 -0500 Message-ID: <8764p6u0mp.fsf@magma.ca> References: <87zmmjyz2z.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1135955770 16205 80.91.229.2 (30 Dec 2005 15:16:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Dec 2005 15:16:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 30 16:16:04 2005 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EsLyx-0007cR-GU for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Dec 2005 16:15:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EsM0M-0006mf-LR for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Dec 2005 10:17:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EsL9W-0008JX-VO for help-gnu-emacs@gnu.org; Fri, 30 Dec 2005 09:22:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EsL9T-0008IC-Sk for help-gnu-emacs@gnu.org; Fri, 30 Dec 2005 09:22:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EsL9T-0008Hz-F5 for help-gnu-emacs@gnu.org; Fri, 30 Dec 2005 09:22:39 -0500 Original-Received: from [206.191.0.250] (helo=mx2.magma.ca) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EsLA0-0006Uk-D6 for help-gnu-emacs@gnu.org; Fri, 30 Dec 2005 09:23:12 -0500 Original-Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (8.13.0/8.13.0) with ESMTP id jBUEL8eX022975 for ; Fri, 30 Dec 2005 09:21:09 -0500 Original-Received: from localhost.localdomain (ottawa-hs-64-26-147-46.d-ip.magma.ca [64.26.147.46]) by mail3.magma.ca (8.13.0/8.13.0) with ESMTP id jBUEL5SV009756 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 30 Dec 2005 09:21:08 -0500 Original-Received: from orchid by localhost.localdomain with local (Exim 4.50) id 1EsL7u-0002Sq-9q for help-gnu-emacs@gnu.org; Fri, 30 Dec 2005 09:21:02 -0500 Original-To: help-gnu-emacs@gnu.org Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: <87zmmjyz2z.fsf-monnier+gnu.emacs.help@gnu.org> (Stefan Monnier's message of "Thu, 29 Dec 2005 23:49:31 -0500") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) 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:32306 Archived-At: Stefan Monnier writes: >> My keybindings for emacs-snapshot however are now changed, it does not >> recognize f13 nor f16, C h-k shows that emacs-snapshot >> thinks it is f2 and it thinks the right option key is f6. > > Please see emacs/lisp/trm/xterm.el for a possible explanation: > f13 is mapped to S-f1 and f16 to S-f4. > > It doesn't seem to explain exactly your behavior, tho. > That file, suggests that because I am using rxvt-unicode it will source another file: ,---- | (if (and (getenv "COLORTERM") | (string-match "\\`rxvt" (getenv "COLORTERM"))) | (progn | (eval-and-compile (load "term/rxvt")) | (terminal-init-rxvt)) `---- echo $TERM gives me rxvt-unicode echo $COLORTERM gives me rxvt-xpm so in /usr/share/emacs/22.0.50/lisp/term/rxvt.el.gz ,---- | (substitute-key-definition [f11] [S-f1] function-key-map) | (substitute-key-definition [f12] [S-f2] function-key-map) | (substitute-key-definition [f13] [S-f3] function-key-map) | (substitute-key-definition [f14] [S-f4] function-key-map) | (substitute-key-definition [f15] [S-f5] function-key-map) | (substitute-key-definition [f16] [S-f6] function-key-map) `---- This seems to match my problem. I can edit this file or is this not a good idea? One more thing, the Apple keyboard has real F11-F16 keys which I have not been able to get working under X, Option "XkbModel" "macintosh" seemed like the right choice but perhaps I need to address this first? Thanks for you help! -- -----Angelina Carlton----- orchid on irc.freenode.net brat@magma.ca web:bzgirl.bakadigital.com --------------------------