FS#69207 - [anthy] bunded Emacs frontend is broken

Attached to Project: Arch Linux
Opened by Takamichi Horikawa (myon98) - Monday, 04 January 2021, 13:40 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The anthy package includes an emacs frontend. However currently it does not run because its elisp uses older variables and syntax which were deprecated long ago. Some minor changes are required to use it on modern Emacs but the upstream seems to be dead for a decade. Some distributions seem to patch them on their own, and others seem to use debian-maintained fork as upstream. I have attached a minimal patch and PKGBUILD (not tested very throughly) for reference.

Anthy users who do not use the bundled Emacs frontend (including those who use X11 Emacs with XIM) are not affected.

Additional info:

Emacs:
Old-style backquote syntax was removed in 27.1 which was released on Aug 10, 2020.
https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS.27#n2493
process-kill-without-query was also removed in 27.1.
https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS.27#n2510
last-command-char was removed in 24.3 which was released on March 11, 2013.
https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS.24#n2144

Upstream bug report:
https://osdn.net/projects/anthy/lists/archive/dev/2013-March/003851.html

OpenBSD:
https://marc.info/?l=openbsd-ports&m=160495258201856&w=2

Debian:
Maintains its own fork of Anthy
https://salsa.debian.org/debian/anthy

FreeBSD:
Switched to debian-maintained version
https://docs.freebsd.org/cgi/getmsg.cgi?fetch=3377148+0+/usr/local/www/mailindex/archive/2019/svn-ports-all/20190915.svn-ports-all

Steps to reproduce:
1. enable Emacs Anthy input method by adding (setq default-input-method "japanese-anthy") to init file
2. M-x toggle-debug-on-error
3. attempt to toggle Emacs input method by C-\
4. an error will be encountered and debugger will launch showing message such as "anthy.el: old-style backquotes detected!"
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:16 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/anthy/issues/1
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...