wish: right alt/meta to switch keyboard layout while pressed
kehoea at parhasard.net
Sat Nov 26 12:59:17 EST 2005
[CCing XEmacs Beta, because despite it originating at emacs-devel at gnu.org,
this isn’t directly relevant to the FSF’s Emacs any more, but there’s more
value in keeping it visible than in keeping it in private mail.]
Ar an séú lá is fiche de mí na Samhain, scríobh Paul Pogonyshev:
> > > > [...] Recent betas of XEmacs do. Not to do it is expected
> > > > behaviour, when you think of it; it would be reasonable to bind
> > > > M-Cyrillic_tse to something different to M-x, if both were
> > > > available on the keyboard.
> > >
> > > Yeah, and then I'd have to remember if I'm typing in Russian or in
> > > English and press different key combos in different layouts to say
> > > delete a word.
> > Yup, just like people using German or French layouts use different
> > key combos in different layouts to say delete a word.
> Oh, I feel sorry for them, then. I think it is very inconvenient. Maybe a
> little less inconvenient than with Russian, since at least those
> different keys have the same letters on them (as I understand.)
Much less inconvenient than with Russian, yes.
> > > [...] Non-self-inserting keys _absolutely_ must work independently
> > > of the layout, at least by default.
> > I agree--I did implement the support in XEmacs. This problem is not a
> > problem I have personally, though, so my implementation may be incomplete;
> > if you’d like to try it out, I’d love to have some feedback.
> > [...]
> Sorry, I'm on dial-up and I don't think I want to download megabytes just
> to test it. I use GNU Emacs normally.
Sure. I hope you don’t mind if I ask you a few specific questions then --
-- If you see M-; listed as a key binding, is the first thing that occurs to
you to type Alt+Shift+8? Or would you go for Alt+ж, since ж is where ; is on
the US keyboard? Should we accept both?
-- More generally, does this need to be done just for the alphabetic
characters, or does punctuation need to be handled too? Looking at the
Russian key layout, there’s no way to type `, ^, $, so I suspect you’re
going to answer “yes” to me on that.
-- When I switch to the Russian layout in software, and type C-ч и to call
“switch-to-buffer” , I then need to switch the keyboard layout back if I am
to type *scratch*, which I frequently want to do. Is there a reasonable
thing we can do there that doesn’t make it necessary to switch layout?
Accepting “;ыскфеср;” as an equivalent buffer name for “*scratch*” doesn’t
really seem like a great idea to me; maybe you _wanted_ to create a buffer
with that name. I frequently create buffers named fdlsfdsfds and variations
on that, for example.
Further, my implementation doesn’t handle shifted characters and I realise
now that’s not good enough. Must fix it!
I AM IN JAIL AND ALLOWED SEND ONLY ONE CABLE SINCE WAS ARRESTED WHILE
MEASURING FIFTEEN FOOT WALL OUTSIDE PALACE AND HAVE JUST FINISHED COUNTING
THIRTY EIGHT THOUSAND FIVE HUNDERED TWENTY TWO NAMES WHOS WHO IN MIDEAST.
More information about the XEmacs-Beta