Package: uim-el
Version: 1:1.8.8-6.1+b2
Severity: grave
Justification: renders package unusable
Tags: patch

Dear Maintainer,

I used the japanese-anthy-utf8-uim input-method on my Debian Emacs 26 env.
But after upgrading Emacs 27,
I cannot set input-method to japanese-anthy-utf8-uim.

(Same cause as #977257)

There is a problem at initializing uim-el.
So none of the input methods *-uim are prepared on startup.

>From *Message* buffer:
>Error while loading 50uim-el: Symbol’s function definition is void: 
>process-kill-without-query


How to fix:

Replace process-kill-without-query with set-process-query-on-exit-flag
in /usr/share/emacs/site-lisp/uim-el/*.el .
This patch fixes this problem.
----- Begin
--- uim-1.8.8.orig/emacs/uim-helper.el
+++ uim-1.8.8/emacs/uim-helper.el
@@ -106,7 +106,7 @@
     (if (not proc)
     (error "uim.el: Couldn't invoke uim-el-helper-agent."))

-    (process-kill-without-query proc)
+    (set-process-query-on-exit-flag proc nil)

     ;; wait "OK"
     (let ((patience uim-startup-timeout) (ok nil))
--- uim-1.8.8.orig/emacs/uim.el
+++ uim-1.8.8/emacs/uim.el
@@ -488,7 +488,7 @@
     (error "uim.el: Couldn't invoke uim-el-agent."))

     ;; don't ask kill
-    (process-kill-without-query proc)
+    (set-process-query-on-exit-flag proc nil)

     ;; wait "OK"
     (let ((patience uim-startup-timeout) (ok nil))
----- End


Regards,
Nobuhiro Ban




-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'stable-debug'), (500,
'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-4-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages uim-el depends on:
ii  emacs                1:27.1+1-3
ii  emacs-gtk [emacsen]  1:27.1+1-3
ii  libc6                2.31-5
ii  libuim8              1:1.8.8-6.1+b2
ii  uim                  1:1.8.8-6.1+b2
ii  uim-data             1:1.8.8-6.1

uim-el recommends no packages.

uim-el suggests no packages.

-- no debconf information

Reply via email to