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

Re: w3m-el



Hi,

Thank you for the use of emacs-w3m!

>>>>> In [emacs-w3m : No.03778]
>>>>>	Peter Mickle <mickle@escape.com> wrote:

> After a recent "apt-get dist-upgrade" my w3m-el stopped working
> perfectly, as it normally does.

> When trying to go, for example, to Debian Package Search page, I get
> (wrong-type-argument integerp nil) error.

> I get this error whether I try to follow a link with a (button-2) mouse
> click, or by entering the URL directly: "U" and then
> http://www.debian.org/distro/packages

[...]

> emacs-w3m-version
>  => "1.3.1"

[...]

> Debugger entered--Lisp error: (wrong-type-argument integerp nil)
>   char-to-string(nil)
>   w3m-decode-entities(reserve-prop)
>   w3m-fontify()
>   w3m-prepare-text-content("http://www.debian.org/distrib/packages"...

Oops, I've fixed this bug just after the version 1.3.1 was
released.  Here's a patch:
--- w3m-e21.el~	2002-07-14 08:41:41 +0000
+++ w3m-e21.el	2002-08-21 00:52:30 +0000
@@ -76,7 +76,7 @@
 
 (unless (fboundp 'w3m-ucs-to-char)
   (defun w3m-ucs-to-char (codepoint)
-    (decode-char 'ucs codepoint)))
+    (or (decode-char 'ucs codepoint) ?~)))
 
 (defun w3m-add-local-hook (hook function &optional append)
   "Add to the buffer-local value of HOOK the function FUNCTION."
Otherwise, you can checkout the most recent emacs-w3m using
ViewCVS as mentioned in:

  http://emacs-w3m.namazu.org/index-en.html

Regards,
-- 
Katsumi Yamaoka <yamaoka@jpl.org>