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

Re: mm-inline-text-html: Symbol's value as variable is void:w3m-meta-content-type-charset-regexp

>> On Wed, 14 Jul 2004 16:12:12 -0500
>> pete_lee@swbell.net (Peter Lee) said as follows:

>emacs-w3m-1.4.2 seems to have a problem when displaying html when
>invoked from gnus summary buffer.  I get the following error:

>mm-inline-text-html: Symbol's value as variable is void:

You can put these following expressions to your ~/.gnus or ~/.emacs,
in order to avoid your problem temporary.

(defconst w3m-meta-content-type-charset-regexp
  "<meta[ \t\n]+http-equiv=\"?Content-type\"?[ \t\n]+\
content=\"?\\([^;]+\\);[ \t\n]*charset=\\([^\"]+\\)\"?[ \t\n]*/?>")
(defconst w3m-meta-charset-content-type-regexp
  "<meta[ \t\n]+content=\"?\\([^;]+\\);[ \t\n]*charset\
=\\([^\"]+\\)\"?[ \t\n]+http-equiv=\"?Content-type\"?[ \t\n]*/?>")

BTW, I think that compatibility problem between Gnus and emacs-w3m
will occur.  What would you suggest?

Gnus と emacs-w3m の互換性問題はこれからも発生しそうですよねえ….どう

TSUCHIYA Masatoshi