shift-tab vs. iso-left-tab in XEmacs
Aidan Kehoe
kehoea at parhasard.net
Mon Mar 22 17:12:28 EDT 2010
Ar an tríú lá is fiche de mí Márta, scríobh It's me FKtPp ;\):
> Would you please help check if the key map
>
> (define-key Info-mode-map [(shift tab)] 'Info-prev-reference)
>
> work in your environment?
It doesn’t work in mine; it’s a quirk of some XFree86 (and derived) layouts.
I don’t think our friends in the US have the problem on their layouts.
> In my env, the key shift-tab always returns as iso-left-tab in XEmacs,
> and it was undefined. So I can't get any of the [(shift tab)] code work.
I think we should change XEmacs to translate iso-left-tab to [(shift tab)]
on XFree86, like so:
diff -r fa137f83a729 lisp/x-win-xfree86.el
--- a/lisp/x-win-xfree86.el Tue Feb 23 14:18:55 2010 +0000
+++ b/lisp/x-win-xfree86.el Mon Mar 22 21:10:20 2010 +0000
@@ -77,6 +77,9 @@
nil nil nil nil nil ?/ nil nil nil nil nil nil nil nil
nil nil nil nil nil ?=])
+ (when (x-keysym-on-keyboard-p 'iso-left-tab device)
+ (define-key function-key-map 'iso-left-tab [(shift tab)]))
+
(loop for (key sane-key) in
'((f13 f1)
(f14 f2)
--
“Apart from the nine-banded armadillo, man is the only natural host of
Mycobacterium leprae, although it can be grown in the footpads of mice.”
-- Kumar & Clark, Clinical Medicine, summarising improbable leprosy research
More information about the XEmacs-Beta
mailing list