I must work on windows and with multi language. I use windows IME to input multi language. so emacs must accept unicode MS-IME.
I modified emacs23 to accept unicode MS-IME string. I only known a little C and don't know emacs construction.
so this patch may have many bugs. I post it here.hope somebody add unicode ime support in emacs23
/* Simulate middle mouse button events when left and right buttons
are used together, but only if user has two button mouse. */ + + /*Modified By ChunlinYao 2007-03-12*/ + case WM_IME_COMPOSITION: + if (lParam & GCS_RESULTSTR) + { + ime_input(hwnd, msg, wParam, lParam);
+ return 0; + } + goto dflt; case WM_LBUTTONDOWN: case WM_RBUTTONDOWN: if (w32_num_mouse_buttons > 2) Index: w32term.c ===================================================================
RCS file: /sources/emacs/emacs/src/w32term.c,v retrieving revision 1.193.4.40 diff -u -r1.193.4.40 w32term.c --- w32term.c 26 Feb 2007 23:03:29 -0000
1.193.4.40 +++ w32term.c 13 Mar 2007 12:55:24 -0000 @@ -4447,6 +4447,29 @@ } break;