Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2024 10:51:33 GMT
From:      MANTANI Nobutaka <nobutaka@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 788bd5f72d97 - main - japanese/anthy: Fix runtime error of anthy.el with emacs-29.1
Message-ID:  <202401271051.40RApXIL079246@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by nobutaka:

URL: https://cgit.FreeBSD.org/ports/commit/?id=788bd5f72d97fc75aa68e99f80c19ae07bc22f95

commit 788bd5f72d97fc75aa68e99f80c19ae07bc22f95
Author:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
AuthorDate: 2024-01-27 10:46:17 +0000
Commit:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
CommitDate: 2024-01-27 10:50:42 +0000

    japanese/anthy: Fix runtime error of anthy.el with emacs-29.1
    
    PR:             276493
    Submitted by:   Akira Sasaki <mah-chan@eagle.ocn.ne.jp>
---
 japanese/anthy/Makefile                      |  2 +-
 japanese/anthy/files/patch-src-util_anthy.el | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/japanese/anthy/Makefile b/japanese/anthy/Makefile
index f80dd0c3b327..8a66dc494b8e 100644
--- a/japanese/anthy/Makefile
+++ b/japanese/anthy/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	anthy
 PORTVERSION=	0.4
-PORTREVISION=	4
+PORTREVISION=	5
 PORTEPOCH=	1
 CATEGORIES=	japanese
 MASTER_SITES=	DEBIAN
diff --git a/japanese/anthy/files/patch-src-util_anthy.el b/japanese/anthy/files/patch-src-util_anthy.el
index e8b6d1da7a6d..db8206b44b7f 100644
--- a/japanese/anthy/files/patch-src-util_anthy.el
+++ b/japanese/anthy/files/patch-src-util_anthy.el
@@ -18,3 +18,21 @@
  	(if anthy-xemacs
  	    (if (coding-system-p (find-coding-system 'euc-japan))
  		(set-process-coding-system proc 'euc-japan 'euc-japan))
+@@ -864,7 +864,7 @@
+ ;; leim の activate
+ ;;
+ (defun anthy-leim-activate (&optional name)
+-  (setq inactivate-current-input-method-function 'anthy-leim-inactivate)
++  (setq deactivate-current-input-method-function 'anthy-leim-inactivate)
+   (setq anthy-leim-active-p t)
+   (anthy-update-mode)
+   (when (eq (selected-window) (minibuffer-window))
+@@ -874,7 +874,7 @@
+ ;; emacsのバグ避けらしいです
+ ;;
+ (defun anthy-leim-exit-from-minibuffer ()
+-  (inactivate-input-method)
++  (deactivate-input-method)
+   (when (<= (minibuffer-depth) 1)
+     (remove-hook 'minibuffer-exit-hook 'anthy-leim-exit-from-minibuffer)))
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401271051.40RApXIL079246>