Hello list,
I am using the latest emacs-w3m with emacs
23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0).
When I (require 'w3m), I get this backtrace (sorry for the long
lines, but it's clearer this way):
Debugger entered--Lisp error: (error "Cannot return from the debugger in an error")
* char-to-string(17220380)
* (puthash (car entity) (char-to-string (make-char ... ...)) table)
(while --cl-dolist-temp-- (setq entity (car --cl-dolist-temp--)) (puthash (car entity) (char-to-string ...) table) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--)))
(let ((--cl-dolist-temp-- ...) entity) (while --cl-dolist-temp-- (setq entity ...) (puthash ... ... table) (setq --cl-dolist-temp-- ...)) nil)
(catch (quote --cl-block-nil--) (let (... entity) (while --cl-dolist-temp-- ... ... ...) nil))
(cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil)))
(block nil (let (... entity) (while --cl-dolist-temp-- ... ... ...) nil))
(dolist (entity (quote ...)) (puthash (car entity) (char-to-string ...) table))
(let ((table ...)) (dolist (entity ...) (puthash ... ... table)) (dolist (entity ...) (puthash ... ... table)) (dolist (entity ...) (puthash ... ... table)) (when (w3m-mule-unicode-p) (let ... ... ...)) table)
(defconst w3m-entity-table (let (...) (dolist ... ...) (dolist ... ...) (dolist ... ...) (when ... ...) table) "Table of html character entities and values.")
eval-buffer(#<buffer *load*> nil "/home/vk00/elisp/emacs-w3m/w3m.el" nil t) ; Reading at buffer position 80753
I tracked it down to line 2061 of w3m.el (cvs version 1.1377). In
the following
2060: (puthash (car entity)
2061: (char-to-string (make-char 'greek-iso8859-7 (cdr entity)))
2062: table))
(cdr entity) returns 65, but the make-char is returning 17220380
which is causing the (char-to-string) to fail.
Please, can anyone help?
Thanks so much.