Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

Loading...