ports/178413: japanese/anthy doesn't work on emacs-24.3

Yuichiro NAITO naito.yuichiro at gmail.com
Wed May 8 06:50:00 UTC 2013


>Number:         178413
>Category:       ports
>Synopsis:       japanese/anthy doesn't work on emacs-24.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 08 06:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Yuichiro NAITO
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD kitt 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I'm using anthy for Japanese Kanji input method.
'last-command-char' emacs lisp function is used in anthy.el.
But it is obsoleted on emacs-24.
Emacs-24 shows an error message "Symbol's value as variable is void: last-command-char",
when I input Kana letters to translate Kanji.

>How-To-Repeat:
Install emacs-24 and japanese/anthy.
Add following emacs lisp in ~/.emacs.

(set-language-environment "Japanese")
(load-library "anthy")
(set-input-method 'japanese-anthy)

Input Kana letters to translate Kanji on emacs-24.

>Fix:
Replace function name from 'last-command-char' to 'last-command-event'.


Patch attached with submission follows:

--- src-util/anthy.el.org	2012-02-28 17:16:08.000000000 +0900
+++ src-util/anthy.el	2013-05-08 15:10:37.000000000 +0900
@@ -892,7 +892,7 @@
 	 ((event-matches-key-specifier-p event 'backspace) 8)
 	 (t
 	  (char-to-int (event-to-character event)))))
-    last-command-char))
+    last-command-event))
 
 ;;
 ;;


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list