[FreeBSD-users-jp 95430] please review and test new tamago-ts unagi (was: [tsunagi 30] egg-sim で "Invalid code(s)")
Mitsutoshi NAKANO <[email protected]>
| Newsgroups | gmane.org.user-groups.freebsd.japan,gmane.linux.debian.jp.devel |
|---|---|
| Message-ID | <CANW2+iu9fWW1SN7KJDoWmuT1A1kxtqtPVJphbOMopn6TWFH-ww@mail.gmail.com> |
TO [email protected] CC [email protected] [email protected] [email protected] [email protected] [email protected] ML 2015128 0:33 Mitsutoshi NAKANO <[email protected]>: > 2015127 22:12 ARAI Shun-ichi <[email protected]>: >> >> >> >> >> >> >> Subject\C-^ egg-sim >> Invalid code(s) >> >> >> >> >> Debugger entered--Lisp error: (error "Invalid code(s)") >> make-char(latin-iso8859-3 112) >> make-char-list(latin-iso8859-3) >> byte-code("\300\301\302\303!E\207" [menu "ISO 8859-3:" make-char-list latin-iso8859-3] 4) >> (defvar egg-sim-latin-3-menu (byte-code "\300\301\302\303!E\207" [menu "ISO 8859-3:" make-char-list latin-iso8859-3] 4)) >> >> Emacs Lispegg-sim.elc >> egg-sim-latin-3-menu make-char-list >> >> >> >> > > tamago-tsunagi > > C-^undefined > (load-library "egg-sim") > > > tamago-tsunagi > > hard: Sony PCG-SRX7S/P RAM 512 MB > http://www.sony.jp/products/biz/vaio/PCG-SRX7S_P/spec.html > OS: Lubuntu 14.04.1 > Emacs: 24.3+1-2ubuntu1 (Lubuntu) > Tamago-tsunagi-5.0.1.0 > > apt-get source emacs24 > > > make-char() > http://git.savannah.gnu.org/cgit/emacs.git/tree/src/charset.c?h=emacs-24 > > c = DECODE_CHAR (charsetp, code); > if (c < 0) > error ("Invalid code(s)"); > return make_number (c); > > error() > error()SIGABRT > > > > > > > Tamagoproject > TamagoEmacs-lispEmacs > > > > > > > > https://sourceforge.jp/ticket/newticket.php?group_id=9668 > > mail http://sourceforge.jp/projects/tamago-tsunagi/lists/archive/misc/2015-January/000029.html tamago-tsunagi egg-sim.el(make-char-list) (make-char) (ignore-errors) ISO-8859-3 (make-char) http://en.wikipedia.org/wiki/ISO/IEC_8859-3 simnil git repositorypushmaster branch fix-egg-sim-Spike branch git clone git://git.sourceforge.jp/gitroot/tamago-tsunagi/tamago-tsunagi.git cd tamago-tsunagi git checkout fix-egg-sim-Spike source 2test 2master branchmergetag tarball reviewtest 2 tamago-tsunagi openSUSEtamago bugreport tamagotamago-tsunagi -- Mitsutoshi NAKANO <[email protected]> <[email protected]> <https://twitter.com/ItSANgo> <http://d.hatena.ne.jp/Itisango/> -------- From: Mitsutoshi NAKANO <[email protected]> Date: 2015-01-28 14:52:49 +0900 Subject: fix that egg-sim did not work References: http://sourceforge.jp/projects/tamago-tsunagi/lists/archive/misc/2015-January/000029.html C-^ (egg-sim) did not work. Because ISO-8859-3 has voids in the charset. But egg-sim forgot it, (make-char) occurred an error. So added (ignore-errors) in (make-char-list). version tsunagi-5.0.2.0 -- diff --git a/ChangeLog b/ChangeLog index 03a441d..38af4b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,12 @@ 2015-01-28 Mitsutoshi NAKANO <[email protected]> + * egg-sim.el(make-char-list): ignore-errors in make-char + Please see: + http://sourceforge.jp/projects/tamago-tsunagi/lists/archive/misc/2015-January/000029.html + * egg.el(egg-version): up from 5.0.1.0 to 5.0.2.0 * .gitignore: ignored TAGS * Makefile.in(tags): added tags entry + * NEWS(5.0.2.0): created 2014-12-15 Mitsutoshi NAKANO <[email protected]> diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..0657d7e --- /dev/null +++ b/NEWS @@ -0,0 +1,8 @@ +NEWS about tamago-tsunagi +========================= + +## 5.0.2.0 Mitsutoshi NAKANO <[email protected]> + +HotFix: C-^ (egg-sim) does not work. So amended quickly. +Please see +http://sourceforge.jp/projects/tamago-tsunagi/lists/archive/misc/2015-January/000029.html diff --git a/egg-sim.el b/egg-sim.el index c91f9b7..54343d7 100644 --- a/egg-sim.el +++ b/egg-sim.el @@ -4,12 +4,10 @@ ;; Copyright (C) 2000 Electrotechnical Laboratory, JAPAN. ;; Licensed to the Free Software Foundation. ;; Copyright (C) 2000 TOMURA Satoru <[email protected]> - +;; 2015 Mitsutoshi NAKANO <[email protected]> ;; Author: TOMURA Satoru <[email protected]> -;; Maintainer: TOMURA Satoru <[email protected]> - ;; Keywords: mule, multilingual, input method ;; This file is part of EGG. @@ -44,6 +42,11 @@ (provide 'egg-sim) +;;; modified 2015.01.28 Mitsutoshi NAKANO <[email protected]> +;;; ignore-errors in make-char +;;; Please see: +;;; http://sourceforge.jp/projects/tamago-tsunagi/lists/archive/misc/2015-January/000029.html +;;; http://www.gnu.org/software/emacs/manual/html_node/elisp/Handling-Errors.html (defun make-char-list (charset &optional from to) (let ((result nil) (chars (charset-chars charset)) @@ -56,8 +59,8 @@ (<= to max) (cond ((= (charset-dimension charset) 1) (while (<= from to) - (setq result (cons (char-to-string - (make-char charset to)) + (setq result (cons (ignore-errors (char-to-string + (make-char charset to))) result) to (1- to))) result) @@ -65,8 +68,9 @@ (while (<= from to) (let ((code max)) (while (<= min code) - (setq result (cons (char-to-string - (make-char charset to code)) + (setq result (cons (ignore-errors + (char-to-string + (make-char charset to code))) result) code (1- code)))) (setq to (1- to))) diff --git a/egg.el b/egg.el index a4abfcf..4d29251 100644 --- a/egg.el +++ b/egg.el @@ -1,12 +1,10 @@ ;;; egg.el --- EGG Input Method Architecture -;; Copyright (C) 1999-2014 Free Software Foundation, Inc +;; Copyright (C) 1999-2015 Free Software Foundation, Inc ;; Author: NIIBE Yutaka <[email protected]> ;; KATAYAMA Yoshio <[email protected]> -;; Maintainer: TOMURA Satoru <[email protected]> - ;; Keywords: mule, multilingual, input method ;; This file is part of EGG. @@ -30,7 +28,7 @@ ;;; Code: -(defconst egg-version "5.0.1.0" +(defconst egg-version "5.0.2.0" "Version number for this version of Tamago.") (defconst egg-tsunagi-version egg-version _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp To unsubscribe, send any mail to "[email protected]"