[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mysterious file-error
- From: Guido Van Hoecke <emacs-w3m@xxxxxxxxxxxxx>
- Date: Fri, 01 Jul 2005 08:57:14 +0200
- X-ml-name: emacs-w3m
- X-mail-count: 08220
- References: <br5negt5.fsf@Guido@VanHoecke.org> <b9yfyuzqnom.fsf@jpl.org>
Katsumi Yamaoka <yamaoka@jpl.org> writes:
>>>>>> In [emacs-w3m : No.08218] Guido Van Hoecke wrote:
>
>> When I view a web page and hit T or click the images icon, emacs-w3m
>> starts looking for D:\\ap\\pspad\\convert which is an existing
>> directory name, but not a program. I have no clue why it is looking
>> for this pspad thing.
>
> I guess the `exec-path' Lisp variable in your system contains
> the "D:\\ap\\pspad" directory. Normally the value of `exec-path'
Correct
> inherits the `PATH' environment variable. It's not wonder if
> there are executable files in the "D:\\ap\\pspad" directory.
> Emacs-w3m looks for the `convert' program in all the `exec-path'
> directories. However, it seems to be an XEmacs bug if the
> `convert' directory is recognized as executable file. Could you
> try the following form? To do that, copy the line into the
> *scratch* buffer and type the `C-j' key at the end of the line.
>
> (file-executable-p "D:\\ap\\pspad\\convert")
Yep, this is the error: the result is t! I definitely will report this
to the XEmacs developers.
>
> Regardless of the result, you can specify explicitly in the
> ~/.emacs-w3m.el file where the real `convert' program is:
>
> (setq w3m-imagick-convert-program "D:\\some\\where\\convert.exe")
I have now installed ImageMagick, and it has registered its directory
at the front of the path variable. I must have missed the
documentation section about needing the ImageMagick program :(
> By the way, there are many bugs in XEmacs of the versions prior
> to 21, and I don't put faith even in the latest XEmacsen. Though
> I was an enthusiastic XEmacs fan in the past, I had deserted it
> in the end of 2003.
Up to now, I am rather happy with the naive windows port of XEmacs.
I'll use it further on, but I will bear your statement in mind.
Anyhow, thans a lot for the prompt and efficient support,
Guido.