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

Re: w3m crashes emacs



>>>>> In [emacs-w3m : No.08527] Leon wrote:

> I'll try my best to help. But I know little about lisp and programming
> in general:(

That's okay. ;-)

I tried the third solution in order to lead the first item.  So
far I'm not sure of myself but the following patch seems to have
solved the problem.  I'll consult the Mule guru...

--- w3m.el~	2006-02-27 00:21:58 +0000
+++ w3m.el	2006-02-28 02:01:02 +0000
@@ -4051,8 +4051,8 @@
 	(goto-char (point-min))
 	(while (re-search-forward "\240\\| \\| " nil t)
 	  (replace-match " "))))
-    (set-buffer-multibyte t)
-    (decode-coding-region (point-min) (point-max) w3m-current-coding-system)))
+    (decode-coding-region (point-min) (point-max) w3m-current-coding-system)
+    (set-buffer-multibyte t)))
 
 (defun w3m-x-moe-decode-buffer ()
   (let ((args '("-i" "-cs" "x-moe-internal"))