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

(emacs-23 or later) Select coding system (default utf-8): Error reading from stdin



Hi, 
I think the wanderlust with emacs-23 or later,
We may have following error with 
  env LANG=C make info
----------
Tagifying wl.info done
Formatting Info file...done.
Saving file /scratch/mail/wl/work/wl-2.14.0/doc/wl.info...
INFODIR is /scratch/mail/wl/work/.destdir/usr/pkg/info

Select coding system (default utf-8): Error reading from stdin
----------
Above lines are picked up from following URL
http://ftp.netbsd.org/pub/pkgsrc/misc/joerg/20100702.2312/wl-2.14.0nb8/install.log

  Or just stops waiting for human input
----------
Select coding system (default utf-8): 
----------
  If you say,
  env LANG=ja_JP.eucJP make info
you may not get the same problem.
    
I think following patch is necessary.
If I am wrong, would anybody corret me ?
Thanks,
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.
$NetBSD$

--- wl/wl-vars.el.orig	2008-02-15 23:10:39.000000000 +0900
+++ wl/wl-vars.el	2010-07-09 07:50:56.000000000 +0900
@@ -107,6 +107,10 @@
   (and wl-on-mule (or wl-on-xemacs
 		      (> emacs-major-version 19))))
 
+(defconst wl-on-mule6
+  (and wl-on-mule 
+       (> emacs-major-version 22)))
+
 (defconst wl-on-nemacs nil) ; backward compatibility.
 
 (eval-when-compile
@@ -123,7 +127,8 @@
 	(t           nil)))
 
 (defvar wl-cs-local
-  (cond (wl-on-mule3  'junet)
+  (cond (wl-on-mule6  'utf-8)
+	(wl-on-mule3  'junet)
 	(wl-on-mule   '*junet*)
 	(t           nil)))