> For those running XEmacs on a Mac under X11 (currently under
XQuartz).
> you know what to set in order to get Hyper and Super keys, but without
> doing something that hoses up other stuff on the Mac?
Not sure what you mean, but in any case, the most common problem
on
Macs is the mapping of Meta which clashes with Mac's use of
Cmd. That's what I have right now:
Yes, but that's not the problem here.
didier(s001)% cat ~/.Xmodmap
! Darwin: switch Cmd and Alt keys.
clear mod1
clear mod2
keycode 66 = Meta_L
keycode 69 = Meta_R
keycode 63 = Mode_switch
keycode 71 = Mode_switch
add mod1 = Meta_L
add mod1 = Meta_R
add mod2 = Mode_switch
It's been so long since I've used a .Xmodmap file on a Mac that
I don't even have one in my backups that I can locate. However,
that may well be a clue to getting where I need to be.
By actual count, my keybindings file has 32 key bindings that
use the hyper key, and 28 that use the super key, like these:
(define-key global-map '[(hyper o) (hyper l)] 'linux-notebook-entry)
(define-key global-map '[(super a)] 'auto-fill-mode)
The problem is that at the moment no key on my keyboard generates
stuff that XEmacs recognizes as either hyper or super.
It's been a while since I didn't encounter a keyboard with
CTRL on the
middle row... probably 15 years ago on a Spark station.
Since you *didn't* encounter one with Ctrl on the middle row? You
mean it's always on that key next to the 'A' key? Surely you mean
the other way around? That key is bound to Caps Lock on every PC
keyboard and Mac by default, and has been for many years.
Caps Lock is perhaps the single most useless function on the keyboard.
I'm not saying it's never necessary, but why it should be tied to the
most accessible mode key on the keyboard has always been beyond me.
I'm good at typing like the wind while holding the Shift key down for those
rare occasions I need to type things in all upper case.
Back in the mid-eighties, when GUIs were just becoming available on
Unix systems (because of X11, as I recall), our whole engineering office
at Motorola Computer Group used a kind of networking graphics terminal.
You'd boot the terminal with a long string of typed in arguments that included
IP addresses where to load some software and where to get a login, and
these were provided by server systems. On these terminals the control
key was on that key left of the 'A' key. And had keycaps to match.
As an Emacs user, I liked it that way.
Fortunately, on both Unix and Linux systems and on Macs, too, it's
configurable. Any stranger who sits at my computer would be confused,
but only one stranger has ever tried, who immediately found himself
unable to do anything. :-)
So anyhow, I still have no solution for this problem of generating Super
and Hyper codes.
--
Lynn David Newton
Columbus, Ohio
neologisticsediting.com
lynndavidnewton.com
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta