Use binary instead of no-conversion.
authorhayashi <hayashi>
Mon, 9 Jul 2001 07:05:30 +0000 (07:05 +0000)
committerhayashi <hayashi>
Mon, 9 Jul 2001 07:05:30 +0000 (07:05 +0000)
ChangeLog
egg/canna.el
egg/sj3.el
egg/wnn.el
egg/wnnrpc.el

index 72b27c3..b2b8aa9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2001-07-09  Yoshiki Hayashi <yoshiki@xemacs.org>
 
+       * canna.el (canna-open): Use binary instead of no-conversion.
+       * sj3.el (sj3-open): Ditto.
+       * wnn.el (wnn-open): Ditto.
+       * wnnrpc.el (wnnrpc-with-temp-buffer): Ditto.
+       (wnnrpc-with-write-file): Ditto.
+
+2001-07-09  Yoshiki Hayashi <yoshiki@xemacs.org>
+
        * egg-cnv.el (egg-make-bunsetsu): Add start-open property.
        * its.el (its-put-cursor): Ditto.
 
index d6ab041..13655a2 100644 (file)
@@ -345,7 +345,7 @@ katakana to candidates list. NOSTUDY specifies not study."
                ((error quit))))
            (when proc
              (process-kill-without-query proc)
-             (set-process-coding-system proc 'no-conversion 'no-conversion)
+             (set-process-coding-system proc 'binary 'binary)
              (set-process-sentinel proc 'canna-comm-sentinel)
              (set-marker-insertion-type (process-mark proc) t)
              (setq result (cannarpc-open proc user-name)) ;; result is context
index 61d7249..e5e5264 100644 (file)
@@ -147,7 +147,7 @@ Don't specify the optional arguments in normal use."
       ((error quit)
        (egg-error "failed to connect sj3 server")))
     (process-kill-without-query proc)
-    (set-process-coding-system proc 'no-conversion 'no-conversion)
+    (set-process-coding-system proc 'binary 'binary)
     (set-marker-insertion-type (process-mark proc) t)
     (save-excursion
       (set-buffer buf)
@@ -198,7 +198,7 @@ Don't specify the optional arguments in normal use."
 ;;       (if proc
 ;;       (progn
 ;;         (process-kill-without-query proc)
-;;         (set-process-coding-system proc 'no-conversion 'no-conversion)
+;;         (set-process-coding-system proc 'binary 'binary)
 ;;         (set-marker-insertion-type (process-mark proc) t)
 ;;         ;; Initialize dictionaries
 ;;         (setq sj3-sys-dict-list nil)
index 18b392c..3bebcf9 100644 (file)
@@ -1246,7 +1246,7 @@ Return the list of bunsetsu."
                ((error quit))))
            (when proc
              (process-kill-without-query proc)
-             (set-process-coding-system proc 'no-conversion 'no-conversion)
+             (set-process-coding-system proc 'binary 'binary)
              (set-process-sentinel proc 'wnn-comm-sentinel)
              (set-marker-insertion-type (process-mark proc) t)
              (setq result (wnnrpc-open proc myname user-name))
index 8fcc98d..1d651c5 100644 (file)
@@ -1454,16 +1454,16 @@ HINSHI and FUZOKUGO are information of preceding bunsetsu."
 \f
 (defmacro wnnrpc-with-temp-buffer (&rest body)
   `(with-temp-buffer
-     (let ((coding-system-for-read 'no-conversion)
-          (coding-system-for-write 'no-conversion))
+     (let ((coding-system-for-read 'binary)
+          (coding-system-for-write 'binary))
        (set-buffer-multibyte nil)
        ,@body)))
 
 (defmacro wnnrpc-with-write-file (filename error-handler &rest body)
   `(condition-case error
        (with-temp-file ,filename
-        (let ((coding-system-for-read 'no-conversion)
-              (coding-system-for-write 'no-conversion))
+        (let ((coding-system-for-read 'binary)
+              (coding-system-for-write 'binary))
           (set-buffer-multibyte nil)
           ,@body))
      (file-error ,error-handler)))