[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#140900: marked as done (can not input Japanese on subject line of mew draft mode)



Your message dated Wed, 02 Oct 2002 09:06:45 -0400
with message-id <E17wjDB-0002GT-00@auric.debian.org>
and subject line Bug#140900: fixed in emacs-dl-canna 1.4-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Apr 2002 09:44:07 +0000
>From ishikawa@linux.or.jp Tue Apr 02 03:44:07 2002
Return-path: <ishikawa@linux.or.jp>
Received: from mizuho.linux.or.jp (lists.linux.or.jp) [210.171.226.47] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16sKpj-000098-00; Tue, 02 Apr 2002 03:44:07 -0600
Received: from localhost (localhost [127.0.0.1])
	by lists.linux.or.jp (Postfix) with ESMTP id 0E32D5FD58
	for <submit@bugs.debian.org>; Tue,  2 Apr 2002 18:44:00 +0900 (JST)
Date: Tue, 02 Apr 2002 18:43:57 +0900
From: ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
To: submit@bugs.debian.org
Subject: can not input Japanese on subject line of mew draft mode
User-Agent: Wanderlust/2.9.8 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=ISO-2022-JP
Message-Id: <20020402184358T.ishikawa@linux.or.jp>
X-Dispatcher: imput version 20000414(IM141)
Lines: 126
Delivered-To: submit@bugs.debian.org

Package: emacs-dl-canna
Version: 1.4-4
Tags: patch

 `japanese-canna' input mode can not input Japanese at subject line in
mew (2.0 or later) draft mode.  This is canna.el's bug.

 Here is a patch to fix this, please apply it.

--- emacs-dl-canna-1.4/canna.el.orig	Tue Apr  2 18:11:23 2002
+++ emacs-dl-canna-1.4/canna.el	Tue Apr  2 18:17:30 2002
@@ -224,6 +224,7 @@
 
 (defvar canna:*exit-japanese-mode* nil)
 (defvar canna:*fence-mode* nil)
+(defvar canna:*select-mode* nil)
 ;(make-variable-buffer-local 'canna:*fence-mode*)
 ;(setq-default canna:*fence-mode* nil)
 
@@ -237,11 +238,9 @@
 (defvar canna:*spos-undo-text* (make-marker))
 (defvar canna:*epos-undo-text* (make-marker))
 (defvar canna:*undo-text-yomi* nil)
-(defvar canna:*local-map-backup*  nil)
 (defvar canna:*last-kouho* 0)
 (defvar canna:*initialized* nil)
 (defvar canna:*previous-window* nil)
-(defvar canna:*minibuffer-local-map-backup* nil)
 (defvar canna:*cursor-was-in-minibuffer* nil)
 (defvar canna:*menu-buffer* " *menu*")
 (defvar canna:*saved-minibuffer*)
@@ -322,6 +321,11 @@
        (define-key canna-mode-map [?\C- ]   [?\C-@])
        ))
 
+(or (assq 'canna:*fence-mode* minor-mode-map-alist)
+    (setq minor-mode-map-alist
+          (cons (cons 'canna:*fence-mode* canna-mode-map)
+		minor-mode-map-alist)))
+
 ;; $B%_%K%P%C%U%!$K2?$+$rI=<($7$F$$$k;~$N%m!<%+%k%^%C%W(B
 (defvar canna-minibuffer-mode-map (make-sparse-keymap))
 
@@ -363,6 +367,11 @@
        (define-key canna-minibuffer-mode-map [?\C- ]   [?\C-@])
        ))
 
+(or (assq 'canna:*select-mode* minor-mode-map-alist)
+    (setq minor-mode-map-alist
+          (cons (cons 'canna:*select-mode* canna-minibuffer-mode-map)
+		minor-mode-map-alist)))
+
 ;;;
 ;;; $B%0%m!<%P%k4X?t$N=q$-BX$((B
 ;;;
@@ -613,7 +622,7 @@
 	 (select-window (minibuffer-window))
 	 (set-window-buffer (minibuffer-window)
 			    (get-buffer-create canna:*menu-buffer*))
-	 (use-local-map canna-minibuffer-mode-map) ))
+	 (setq canna:*select-mode* t)))
   )
 
 (defun canna:minibuffer-input (str len revpos revlen nfixed)
@@ -645,14 +654,12 @@
 	  (redirect-frame-focus (selected-frame) 
 				(window-frame (minibuffer-window)))
 	  )
-	;; $B%_%K%P%C%U%!$N%-!<%^%C%W$rJ]B8$7$F$*$/!#(B
-	(setq canna:*minibuffer-local-map-backup* (current-local-map))
 	))
   (select-window (minibuffer-window))
   (set-window-buffer (minibuffer-window)
 		     (get-buffer-create canna:*menu-buffer*))
 
-  (use-local-map canna-minibuffer-mode-map)
+  (setq canna:*select-mode* t)
 
 ;  (canna:yomi-attr-off (point-min) (point-max) )
 ;  (canna:henkan-attr-off (point-min) (point-max) )
@@ -679,7 +686,7 @@
   (if (or (zerop len) canna-empty-info)
       (progn
 	(setq canna:*cursor-was-in-minibuffer* nil)
-	(use-local-map canna:*minibuffer-local-map-backup*)
+	(setq canna:*select-mode* nil)
 
 	;; $B%_%K%P%C%U%!%&%#%s%I%&$N%P%C%U%!$r85$KLa$9!#(B
 	(set-window-buffer (minibuffer-window) canna:*saved-minibuffer*)
@@ -707,7 +714,7 @@
   "Use input character as a key of complex translation input such as\n\
 kana-to-kanji translation, even if you are in the minibuffer."
   (interactive "p")
-  (use-local-map canna:*minibuffer-local-map-backup*)
+  (setq canna:*select-mode* nil)
   (set-window-buffer (minibuffer-window) canna:*saved-minibuffer*)
   (select-window canna:*previous-window*)
   (let ((ch))
@@ -843,14 +850,13 @@
 				 canna:*saved-mode-string*
 			       new-mode)))
 			0)))
-  (setq canna:*local-map-backup* (current-local-map))
   (setq canna:*fence-mode* t)
   ;; XEmacs change:
   ;; (buffer-disable-undo (current-buffer))
   ;; Original:
   ;; (if (boundp 'disable-undo)
   ;;     (setq disable-undo canna:*fence-mode*))
-  (use-local-map canna-mode-map))
+  (setq disable-undo canna:*fence-mode*))
 
 (defun canna:enter-canna-mode-and-functional-insert ()
   (canna:enter-canna-mode)
@@ -859,7 +865,6 @@
 
 (defun canna:quit-canna-mode ()
   (cond (canna:*fence-mode*
-	 (use-local-map canna:*local-map-backup*)
 	 (setq canna:*fence-mode* nil)
 	 (if canna:*exit-japanese-mode*
 	     (progn

-- 
ISHIKAWA Mutsumi
 <ishikawa@netvillage.co.jp>, <ishikawa@linux.or.jp>, <ishikawa@debian.org>

---------------------------------------
Received: (at 140900-close) by bugs.debian.org; 2 Oct 2002 13:08:20 +0000
>From katie@auric.debian.org Wed Oct 02 08:08:20 2002
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17wjEh-0005xb-00; Wed, 02 Oct 2002 08:08:19 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 17wjDB-0002GT-00; Wed, 02 Oct 2002 09:06:45 -0400
From: Matej Vela <vela@debian.org>
To: 140900-close@bugs.debian.org
X-Katie: $Revision: 1.26 $
Subject: Bug#140900: fixed in emacs-dl-canna 1.4-5
Message-Id: <E17wjDB-0002GT-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Wed, 02 Oct 2002 09:06:45 -0400
Delivered-To: 140900-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
emacs-dl-canna, which is due to be installed in the Debian FTP archive:

emacs-dl-canna_1.4-5.diff.gz
  to pool/main/e/emacs-dl-canna/emacs-dl-canna_1.4-5.diff.gz
emacs-dl-canna_1.4-5.dsc
  to pool/main/e/emacs-dl-canna/emacs-dl-canna_1.4-5.dsc
emacs-dl-canna_1.4-5_i386.deb
  to pool/main/e/emacs-dl-canna/emacs-dl-canna_1.4-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 140900@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matej Vela <vela@debian.org> (supplier of updated emacs-dl-canna package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  2 Oct 2002 13:29:37 +0200
Source: emacs-dl-canna
Binary: emacs-dl-canna
Architecture: source i386
Version: 1.4-5
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matej Vela <vela@debian.org>
Description: 
 emacs-dl-canna - Canna DL module for emacs20-dl
Closes: 140900 141204
Changes: 
 emacs-dl-canna (1.4-5) unstable; urgency=low
 .
   * QA upload.
   * canna.el: Apply patch from ISHIKAWA Mutsumi to allow Japanese input in
     Subject line in mew (>= 2.0) draft mode.  Closes: #140900.
   * debian/emacsen-install, debian/emacsen-remove: Unlike
     `dpkg --print-architecture', `dpkg --print-installation-architecture'
     doesn't depend on gcc.  Closes: #141204.
   * Switch to debhelper 4.
   * Change priority to extra, catching up with the override file.
   * debian/README.Rebuild: Remove it now that we have build dependencies.
   * debian/changelog: Remove obsolete Emacs local variables.
   * Remove dh_make templates.
   * Conforms to Standards version 3.5.7.
Files: 
 c203840f47f93f14dec8080462b7f08b 617 editors extra emacs-dl-canna_1.4-5.dsc
 6a7638b016db3c14118ae64c03f649a9 5301 editors extra emacs-dl-canna_1.4-5.diff.gz
 4271c8350dfc87cc738fbb5d069a3c9b 28414 editors extra emacs-dl-canna_1.4-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9mti1xBYivKllgY8RApo0AKCRXUVX/VKjNrZ8xkDxClv0X9C/dwCgzgfk
S8A/hdX7uZ7Hdec/nZ04ydk=
=XcTF
-----END PGP SIGNATURE-----



Reply to: