GNU bug report logs - #69536
30.0.50; Runtime error happens with Tamago input method after recent change with obarry

Previous Next

Package: emacs;

Reported by: Yasuhiro Kimura <yasu <at> utahime.org>

Date: Mon, 4 Mar 2024 06:10:02 UTC

Severity: normal

Tags: notabug

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
To: Yasuhiro Kimura <yasu <at> utahime.org>
Cc: 69536 <at> debbugs.gnu.org
Subject: bug#69536: 30.0.50; Runtime error happens with Tamago input method after recent change with obarry 
Date: Mon, 4 Mar 2024 14:48:03 +0100
[Message part 1 (text/plain, inline)]
Thanks for the report. That code seems to be quite old in style in general; it appears to use obarrays as some kind of poor man's hash table, so perhaps it even pre-dated the addition of hash tables to Emacs.

In any case, filling a vector with `nil` never was a correct was to make an obarray. It must be filled with the integer 0. Of course, today `obarray-make` is preferable.

Do you know if the Github repository (hrs-allbsd/tamago) is the closest we can get to an upstream source for this package? If so, open a bug report (issue) there. We will help explaining the problems.

Attached is an (untested) patch against Tamago. Maybe that will help you get by.

[obarray.diff (application/octet-stream, attachment)]

This bug report was last modified 1 year and 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.