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

Re: 23.0.60; Gnus gives wrong-type-argument with text/HTML

>>>>> Stephen Berman wrote:
> On Sat, 09 Feb 2008 20:09:48 +0900 Katsumi Yamaoka <yamaoka@xxxxxxx> wrote:

>>>>>>> Stephen Berman <Stephen.Berman@xxxxxxx> wrote:
>>> results in "require: Wrong type argument: arrayp, nil".

The ccl programs in w3m-ems.el, that provide the `w3m-euc-japan'
coding system and the `w3m-iso-latin-1' coding system for Emacs
21 and 22, cause this error in Emacs 23.  It is possible to
improve the source code so that it does not cause an error in
all the versions of Emacsen that emacs-w3m supports.  However,

>> Please try rebuilding emacs-w3m using the latest Emacs CVS.
>> Cf. http://article.gmane.org/gmane.emacs.w3m/7355

why I recommend rebuilding the elc files is that things causing
errors are not only them.  The typical one is the macro
`detect-coding-with-priority', of which the expanded versions
made by Emacs 22/23 are incompatible with Emacs 23/22 mutually.
There will probably be other incompatible things, though I have
not scanned all over the emacs-w3m source code yet.

In addition, I believe there will possibly be the ones other
than emacs-w3m that cause such a trouble.  So,

> This eliminates the error and I can again read html multipart messages
> with Gnus and use emacs-w3m -- in Emacs 23.0.60, but no longer in
> 23.0.50.  I suppose I could rebuild emacs-w3m again for the latter, but
> the installed emacs-w3m will only work with one build, since it is
> installed in the top level site-lisp of the Emacs installation tree:

>   /usr/local/share/emacs:
>   total used in directory 24 available 7888308
>   drwxr-xr-x  6 root root 4096 2008-02-11 14:53 .
>   drwxr-xr-x 15 root root 4096 2008-01-16 19:46 ..
>   drwxr-xr-x  6 root root 4096 2007-08-24 11:29 22.1.50
>   drwxr-xr-x  6 root root 4096 2008-01-16 19:46 23.0.50
>   drwxr-xr-x  6 root root 4096 2008-02-11 14:54 23.0.60
>   drwxr-xr-x  6 root root 4096 2007-09-18 14:56 site-lisp <== w3m

> Since the numbered installation directories (i.e., 23.0.50 etc) each
> have their own site-lisp subdirectory, would it be possible to install
> emacs-w3m in these, and would that permit a usable emacs-w3m for each
> Emacs version?

I think the best way is to install the PACKAGEs to


for each VERSION of Emacs.  Actually I've been doing so because
I have various versions of (X)Emacsen installed.