Le Thu 10/01/2002, Simon Josefsson disait
"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
> (1) what, if anything, to do about the XK_EuroSign keysym for X
> (I know you can
>
> (global-set-key [EuroSign]
> (lambda () (interactive)
> (insert (make-char 'latin-iso8859-15 #xA4)))
>
> but does there need to be a default binding? Is that the right
> one? Should it be activated by the language environment? etc)
FWIW, Emacs seem to use the locale to decode the X keysyms. If I
start Emacs with a euro-compatible locale ($LANG=sv_SE@euro) AltGr-E
gives me a euro.
Same for me with $LANG=fr_FR@euro
This sort of feelt unnecessary to me, Emacs complained that it
didn't
have a binding for "EuroSign" when I press AltGr-E without the proper
locale. If it received the keysym "EuroSign" I don't see what
problems might be caused by defaulting to inserting a euro sign...
I agree. Samething with the other iso-8859-15 characters. I get a oe
undefined when using it.
I think most people would like the default binding and not have to
fiddle with locales much. But I have tried using the euro in other X
applications and none have worked, so I guess people won't expect it
to work anyway...
> Please note that the Gnus in the XEmacs packages seems to be broken;
> it will not do QP-encoding of ISO 8859/15 (or ISO 8859/any, for any !=
> 1) correctly. Not for me, anyway (it just doesn't know anything about
> XEmacs, period). I haven't tried VM yet.
Oort Gnus works, I think.
So do I, I'm trying it.
--
Erwan