0

I use AllChars 5.0.181 on a Windows XP machine to have a compose key (set to the Menu key). It works in most applications (e.g. Menu ^ a produces â).

However, there are two applications where this doesn't work:

  • In EmacsW32 23.1 (reporting as GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-11-04 on LENNART-69DE564 (patched): when I press Menu ^ a, I get the message <packet> is undefined.

  • In mintty 0.8.2 from Cygwin, Menu ^ a has no effect.

Menu Menu does what Menu would do without AllChars in all applications, even EmacsW32 and mintty.

I'm looking for either a way make AllChars work in Emacs and mintty, or another way to get a compose key (not dead keys) that works in all applications.

Gilles 'SO- stop being evil'
  • 69,786
  • 21
  • 137
  • 178

1 Answers1

1

The problem in mintty is that it doesn't process the VK_PACKET virtual key code, which is what AllChars uses to send composed characters to applications. Fixed on svn trunk, for version 0.9.

I'd guess it's the same issue in emacs.

ak2
  • 3,675
  • 17
  • 17
  • 1
    Emacs 24 (specifically the 24.0.50.1 checkout from 2010-09-16 distributed as [EmacsW32](http://www.ourcomments.org/Emacs/Emacs.html)) works, and your patch to mintty does work. Thanks again! – Gilles 'SO- stop being evil' Sep 20 '10 at 19:52
  • I am using mintty 1.0.1 and AllChars does not work either. There seems to be a regression. – sam hocevar Oct 17 '11 at 11:24
  • @Sam Can you enter a mintty issue with details of how it's failing? I've just tried it and it seems fine. – ak2 Oct 18 '11 at 18:40
  • @ak2: sure, I was about to, but I'm not sure what additional information to provide. Maybe the difference is that I am using RightAlt instead of the default RightCtrl? The issue is at http://code.google.com/p/mintty/issues/detail?id=298. – sam hocevar Oct 18 '11 at 19:45
  • @ak2 by the way, since I had too many issues with AllChars I have written my own compose key software for Windows, and it is a lot more robust — if you want to have a look at it, it’s called [WinCompose](https://github.com/SamHocevar/wincompose). – sam hocevar Apr 03 '14 at 19:21