help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-snapshot keybinding problem


From: Angelina Carlton
Subject: Re: emacs-snapshot keybinding problem
Date: Fri, 30 Dec 2005 09:21:02 -0500
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> My keybindings for emacs-snapshot however are now changed, it does not
>> recognize f13 nor f16, C h-k <left option> 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
--------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]