]> git.eshelyaron.com Git - emacs.git/commitdiff
Document the new 'w32-get/set-ime-open-status' functions
authorEli Zaretskii <eliz@gnu.org>
Mon, 13 Apr 2020 13:33:57 +0000 (16:33 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 13 Apr 2020 13:33:57 +0000 (16:33 +0300)
* doc/emacs/msdos.texi (Windows Keyboard): Document
'w32-set-ime-open-status'.

* etc/NEWS: Announce the new IME-related functions.

doc/emacs/msdos.texi
etc/NEWS

index 3275fded5654109a0f2562d708e6dc8dee5f1c35..30dbaa3abd534e089defdaa71ffb78618bec79a6 100644 (file)
@@ -712,6 +712,21 @@ is @code{t}, which means these keys produce @code{AltGr}; setting it
 to @code{nil} causes @key{AltGr} or the equivalent key combination to
 be interpreted as the combination of @key{Ctrl} and @key{Meta}
 modifiers.
+
+@cindex IME, MS-Windows
+@findex w32-set-ime-open-status
+  Some versions of MS-Windows, typically East Asian localized Windows,
+enable the Input Method Manager (@acronym{IMM}) that allows
+applications to communicate with the Input Method Editor
+(@acronym{IME}), the native Windows input method service.  Emacs uses
+the @acronym{IME} when available to allow users to input East Asian
+non-@acronym{ASCII} characters, similarly to Emacs's built-in input
+methods (@pxref{Input methods}).  However, in some situations the
+@acronym{IME} can get in the way if it interprets simple
+@acronym{ASCII} keys you input as part of a key sequence that
+designates a non-@acronym{ASCII} character.  The @acronym{IME} can be
+temporarily turned off and then on again by using the
+@code{w32-set-ime-open-status} function.
 @end ifnottex
 
 @node Windows Mouse
index 9f3e5b650b57fc752ea34aba3a609bf1426787a2..46f59ab869fcd96456a63b5e62ebb69d588e1226 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -379,6 +379,13 @@ coding-system-for-{read,write} or call 'set-process-coding-system'.
 'module-file-suffix' now has the value ".dylib" on macOS, but the
 ".so" suffix is supported as well.
 
++++
+** On MS-Windows, Emacs can now toggle the IME.
+A new function 'w32-set-ime-open-status' can now be used to disable
+and enable the MS-Windows native Input Method Editor (IME) at run
+time.  A companion function 'w32-get-ime-open-status' returns the
+current IME activation status.
+
 \f
 ----------------------------------------------------------------------
 This file is part of GNU Emacs.