Sean MacLennan writes:
On Tue, 16 Nov 2010 07:31:08 -0500
"Sirano Dhe-Paganon" <sirano.dhepaganon(a)utoronto.ca> wrote:
> Hi Jeff; thanks, but way over my head. I'm using Xemacs-21.4 on
> Windows-7.
If you press a key that XEmacs doesn't understand, it should report
"<keysym> not defined" in the echo area. The keysym that is reported
there can then be bound using define-key (which you are using
correctly, although Sean's version is the more common idiom).
You can see old messages by looking at the buffer named
" *Message-Log*" (the quotation marks are not part of the name, but
the leading space is significant).
> I was hoping something like this in my custom.el file might do
the
> trick "(define-key global-map '(E0_17) 'kill-primary-selection)",
> but ... it doesn't.
If E0_17 is recognized as a keysym, try this:
(global-set-key [E0_17] 'kill-primary-selection)
And if it works, report it as a bug :-). Those two forms should be
equivalent.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta