Hi,

"preedit" of emacs-anthy is broken with mojibake.
https://yasuoka.net/~yasuoka/images/e03ed2a23747c967672791440c5900f9.png

ok?

Fix anthy.el not to use deleted process-kill-without-query.

Index: inputmethods/anthy/Makefile
===================================================================
RCS file: /disk/cvs/openbsd/ports/inputmethods/anthy/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- inputmethods/anthy/Makefile 24 Aug 2020 13:42:26 -0000      1.26
+++ inputmethods/anthy/Makefile 9 Nov 2020 18:56:50 -0000
@@ -8,7 +8,7 @@ DISTNAME =      anthy-$V
 PKGNAME-main = anthy-$V
 PKGNAME-emacs =        emacs-anthy-$V
 REVISION-main = 2
-REVISION-emacs = 5
+REVISION-emacs = 6
 
 SHARED_LIBS += anthydic             1.0      # .1.0
 SHARED_LIBS += anthy                1.0      # .1.0
Index: inputmethods/anthy/patches/patch-src-util_anthy_el
===================================================================
RCS file: 
/disk/cvs/openbsd/ports/inputmethods/anthy/patches/patch-src-util_anthy_el,v
retrieving revision 1.2
diff -u -p -r1.2 patch-src-util_anthy_el
--- inputmethods/anthy/patches/patch-src-util_anthy_el  24 Aug 2020 13:42:26 
-0000      1.2
+++ inputmethods/anthy/patches/patch-src-util_anthy_el  9 Nov 2020 18:56:50 
-0000
@@ -23,6 +23,15 @@ Index: src-util/anthy.el
  
  ;; buffer local variables
  (anthy-deflocalvar anthy-context-id nil "コンテキストのid")
+@@ -745,7 +745,7 @@
+       (if anthy-agent-process
+           (kill-process anthy-agent-process))
+       (setq anthy-agent-process proc)
+-      (process-kill-without-query proc)
++      (set-process-query-on-exit-flag proc nil)
+       (if anthy-xemacs
+           (if (coding-system-p (find-coding-system 'euc-japan))
+               (set-process-coding-system proc 'euc-japan 'euc-japan))
 @@ -892,7 +892,7 @@
         ((event-matches-key-specifier-p event 'backspace) 8)
         (t

Reply via email to