]> git.eshelyaron.com Git - emacs.git/commit
Avoid responding to input method queries asynchronously
authorPo Lu <luangruo@yahoo.com>
Fri, 9 Jun 2023 10:05:26 +0000 (18:05 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 9 Jun 2023 10:05:26 +0000 (18:05 +0800)
commit01bea42cbff84ca76f339088f19a42cddfe83cbb
treef3f0c250a13ee6e4ad004fbc310726667779710a
parenta5b74e2ff62faccea19c00783e62bc328c30f92a
Avoid responding to input method queries asynchronously

* src/androidterm.c (handle_one_android_event): Don't answer
queries here; just rely on the event interrupting
android_select.  This avoids exposing buffer contents to input
methods while a command is being executed.
* src/textconv.c (TEXTCONV_DEBUG, really_commit_text)
(really_finish_composing_text, really_set_composing_text)
(really_set_composing_region, really_delete_surrounding_text)
(really_set_point_and_mark, get_extracted_text): Add debugging
printouts.
src/androidterm.c
src/textconv.c