[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs hyper key
Pascal J. Bourguignon
Re: emacs hyper key
Thu, 03 Jul 2008 00:11:53 +0200
Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux)
Thr4wn <address@hidden> writes:
> On Jul 1, 3:43 pm, address@hidden (Pascal J. Bourguignon)
>> Thr4wn <address@hidden> writes:
>> > First of all, what actually IS the emacs hyper key? the emacs meta key
>> > seems to just be mod1, but I can't seem to figure out what emacs will
>> > interpret as the hyper key. right now, my left-windoze button is
>> > assigned to be Super_L. I tried mapping Super_L to mod1 (whereupon
>> > emacs interpreted it as meta, and I could use it just like meta). Then
>> > I mapped Super_L to mod2, mod3, mod4, and mod5 (making sure that I
>> > removed the previous binding each time); emacs acted like it did not
>> > even know that button existed (ie after executing C-h k , pressing
>> > 'a' returned binding for 'a' and pressing L-Windoze button and 'a'
>> > also returned the binding for 'a' (self-insert)).
>> > Looking back over some old .emacs file I have, I used define-key but
>> > the KEY arguments were things like [166...], but I do not even
>> > recognize that notation anymore and I don't think that notation works
>> > across different computers.
>> > so...
>> > what does emacs interpret as hyper?
>> > what is that other notation I used in define-key?
>> > I have a more recent version of Debian.
>> M-x apropos RET hyper RET
>> This is specified by: x-hyper-keysym
>> Usually, it's Hyper_L and Hyper_R.
>> You can choose what key generate these keysyms with xmodmap(1).
> For some reason when I apropos 'hyper' it says it couldn't find any
> matches. I also did ^h v x-hyper-keysym and nothing was found
Perhaps you're not using the same version of emacs than me. I've got:
emacs-version --> "22.2.1"
__Pascal Bourguignon__ http://www.informatimago.com/
WARNING: This product attracts every other piece of matter in the
universe, including the products of other manufacturers, with a
force proportional to the product of the masses and inversely
proportional to the distance between them.