Package: lookup-el
Version: 1.4.1-21
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I noticed lookup-pattern or lookup-region always failed on Emacs
after I updated my environment to trixie.
Error message is:

lookup-entries-cache-get: Wrong type argument: obarrayp, [nil nil nil nil nil 
nil nil nil nil nil ...]

I suspect that this is due to changes in Emacs 30.
I changed the code in lookup.el

(defconst lookup-obarray (make-vector 1511 nil))

to

(defconst lookup-obarray (make-vector 1511 0))

and it worked, but it seems that a few more modifications need to
keep compatibility with older versions of Emacs.

-- System Information:
Debian Release: 13.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.41+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lookup-el depends on:
ii  emacsen-common  3.0.8

Versions of packages lookup-el recommends:
ii  dict-jargon [dictd-dictionary]  4.4.7-3.1
ii  dictd [dict-server]             1.13.1+dfsg-1
ii  eblook                          1:1.6.1-16+b1
ii  emacs                           1:30.1+1-6
ii  emacs-gtk [emacs]               1:30.1+1-6

Versions of packages lookup-el suggests:
pn  bitmap-mule        <none>
pn  dict-foldoc        <none>
pn  dict-gcide         <none>
pn  dict-vera          <none>
ii  dictzip            1.13.1+dfsg-1
pn  edict-fpw          <none>
ii  flim               1:1.14.9+0.20230205-1
pn  ispell | hunspell  <none>
pn  kakasi             <none>
pn  namazu2            <none>
pn  sufary             <none>

-- no debconf information

Reply via email to