Gnus development mailing list
 help / color / mirror / Atom feed
* Gnus 5.10.6: attempts to use w3m even when there isn't any
@ 2004-05-23 22:15 Miles Bader
  2004-05-23 22:22 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Miles Bader @ 2004-05-23 22:15 UTC (permalink / raw)


w3m-command is nil

[Especially silly considering most people probably don't have w3m installed]

Here's a stack-backtrace:

   Debugger entered--Lisp error: (wrong-type-argument stringp nil)
     call-process-region(1 166 nil "/tmp/emacsEKvRTi" t nil "-T" "text/html" "-halfdump")
     byte-code(...)
     (defvar w3m-accept-japanese-characters (byte-code ...))
     require(w3m)
     mm-setup-w3m()
     mm-inline-text-html-render-with-w3m((#<buffer  *mm*<3>> ("text/html" (charset . "us-ascii")) 7bit nil nil nil nil nil))
     mm-inline-text-html((#<buffer  *mm*<3>> ("text/html" (charset . "us-ascii")) 7bit nil nil nil nil nil))
     mm-display-inline((#<buffer  *mm*<3>> ("text/html" (charset . "us-ascii")) 7bit nil nil nil nil nil))
     mm-display-part((#<buffer  *mm*<3>> ("text/html" (charset . "us-ascii")) 7bit nil nil nil nil nil))
     byte-code(...)
     gnus-mime-display-alternative(((#<buffer  *mm*<2>> ("text/plain" ... ...) 7bit nil nil nil nil nil) (#<buffer  *mm*<3>> ("text/html" ...) 7bit nil nil nil nil nil)) nil nil 1)
     gnus-mime-display-part((#("multipart/alternative" 0 21 (start nil from "bobehrlich@comcast.net" buffer #<buffer  *mm*> boundary "------------060006050001040700010704")) (#<buffer  *mm*<2>> ("text/plain" ... ...) 7bit nil nil nil nil nil) (#<buffer  *mm*<3>> ("text/html" ...) 7bit nil nil nil nil nil)))
     gnus-display-mime()
     gnus-article-prepare-display()
     gnus-article-prepare(1112128 nil)
     gnus-summary-display-article(1112128 nil)
     gnus-summary-select-article(nil force)
     gnus-summary-show-article(nil)
     call-interactively(gnus-summary-show-article)

Thanks,

-Miles
-- 
自らを空にして、心を開く時、道は開かれる




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus 5.10.6: attempts to use w3m even when there isn't any
  2004-05-23 22:15 Gnus 5.10.6: attempts to use w3m even when there isn't any Miles Bader
@ 2004-05-23 22:22 ` Lars Magne Ingebrigtsen
  2004-05-23 22:36   ` Katsumi Yamaoka
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2004-05-23 22:22 UTC (permalink / raw)


Miles Bader <miles@gnu.org> writes:

> w3m-command is nil
>
> [Especially silly considering most people probably don't have w3m installed]

[...]

>      require(w3m)
>      mm-setup-w3m()
>      mm-inline-text-html-render-with-w3m((#<buffer  *mm*<3>> ("text/html" (charset . "us-ascii")) 7bit nil nil nil nil nil))

This should only happen if `mm-inline-text-html-renderer' or
`mm-text-html-renderer' are set to
`mm-inline-text-html-render-with-w3m', which shouldn't happen unless
one has set those to that.  I think.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus 5.10.6: attempts to use w3m even when there isn't any
  2004-05-23 22:22 ` Lars Magne Ingebrigtsen
@ 2004-05-23 22:36   ` Katsumi Yamaoka
  2004-05-23 22:56     ` Miles Bader
  0 siblings, 1 reply; 7+ messages in thread
From: Katsumi Yamaoka @ 2004-05-23 22:36 UTC (permalink / raw)


>>>>> In <m3ekpalr72.fsf@quimbies.gnus.org>
>>>>>	Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Miles Bader <miles@gnu.org> writes:

>> w3m-command is nil
>>
>> [Especially silly considering most people probably don't have w3m installed]

> [...]

>>      require(w3m)
>>      mm-setup-w3m()
>>      mm-inline-text-html-render-with-w3m((#<buffer  *mm*<3>> ("text/html" (charset . "us-ascii")) 7bit nil nil nil nil nil))

> This should only happen if `mm-inline-text-html-renderer' or
> `mm-text-html-renderer' are set to
> `mm-inline-text-html-render-with-w3m', which shouldn't happen unless
> one has set those to that.  I think.  :-)

It is hard to imagine there's emacs-w3m installed without w3m.
But that's okay.  Does the following patch help?

--- mm-decode.el~	2004-05-20 06:13:13 +0000
+++ mm-decode.el	2004-05-23 22:34:46 +0000
@@ -99,7 +99,7 @@
 
 (defcustom mm-text-html-renderer
   (cond ((locate-library "w3") 'w3)
-	((locate-library "w3m") 'w3m)
+	((and (locate-library "w3m") (executable-find "w3m") 'w3m))
 	((executable-find "w3m") 'w3m-standalone)
 	((executable-find "links") 'links)
 	((executable-find "lynx") 'lynx)
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus 5.10.6: attempts to use w3m even when there isn't any
  2004-05-23 22:36   ` Katsumi Yamaoka
@ 2004-05-23 22:56     ` Miles Bader
  2004-05-23 23:18       ` Katsumi Yamaoka
  0 siblings, 1 reply; 7+ messages in thread
From: Miles Bader @ 2004-05-23 22:56 UTC (permalink / raw)


Katsumi Yamaoka <yamaoka@jpl.org> writes:
> It is hard to imagine there's emacs-w3m installed without w3m.

Hmmm, that seems to the be the case on my system though -- I think I
tried w3m-el at some point, didn't like it, and uninstalled the debian
package for `w3m', but the elisp stuff was in /usr/local so I didn't
bother.

> But that's okay.  Does the following patch help?

It looks reasonable to me, but I must admit I can't remember exactly
where that html article was, to test it!

-Miles
-- 
"Unless there are slaves to do the ugly, horrible, uninteresting work, culture
and contemplation become almost impossible. Human slavery is wrong, insecure,
and demoralizing.  On mechanical slavery, on the slavery of the machine, the
future of the world depends." -Oscar Wilde, "The Soul of Man Under Socialism"




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus 5.10.6: attempts to use w3m even when there isn't any
  2004-05-23 22:56     ` Miles Bader
@ 2004-05-23 23:18       ` Katsumi Yamaoka
  2004-05-24  0:31         ` TSUCHIYA Masatoshi
  0 siblings, 1 reply; 7+ messages in thread
From: Katsumi Yamaoka @ 2004-05-23 23:18 UTC (permalink / raw)


>>>>> In <87smdqda7y.fsf@tc-1-100.kawasaki.gol.ne.jp>
>>>>>	Miles Bader <miles@gnu.org> wrote:

> Katsumi Yamaoka <yamaoka@jpl.org> writes:
>> It is hard to imagine there's emacs-w3m installed without w3m.

> Hmmm, that seems to the be the case on my system though -- I think I
> tried w3m-el at some point, didn't like it, and uninstalled the debian
> package for `w3m', but the elisp stuff was in /usr/local so I didn't
> bother.

Hm, the package named `w3m-el' is very old.  It is now much
improved and renamed to `emacs-w3m'[1].

>> But that's okay.  Does the following patch help?

> It looks reasonable to me, but I must admit I can't remember exactly
> where that html article was, to test it!

I've installed it in both the trunk and the v5-10 branch.

[1] http://emacs-w3m.namazu.org/
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus 5.10.6: attempts to use w3m even when there isn't any
  2004-05-23 23:18       ` Katsumi Yamaoka
@ 2004-05-24  0:31         ` TSUCHIYA Masatoshi
  2004-05-24  0:42           ` Katsumi Yamaoka
  0 siblings, 1 reply; 7+ messages in thread
From: TSUCHIYA Masatoshi @ 2004-05-24  0:31 UTC (permalink / raw)


>> On Mon, 24 May 2004 08:18:16 +0900
>> yamaoka@jpl.org (Katsumi Yamaoka) said as follows:

>Hm, the package named `w3m-el' is very old.  It is now much improved
>and renamed to `emacs-w3m'[1].

Because of historical reason, the Debian package of emacs-w3m is named
`w3m-el', which is well maintained and is not old.  For more detail,
please check http://packages.debian.org/w3m-el.

-- 
TSUCHIYA Masatoshi



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Gnus 5.10.6: attempts to use w3m even when there isn't any
  2004-05-24  0:31         ` TSUCHIYA Masatoshi
@ 2004-05-24  0:42           ` Katsumi Yamaoka
  0 siblings, 0 replies; 7+ messages in thread
From: Katsumi Yamaoka @ 2004-05-24  0:42 UTC (permalink / raw)


>>>>> In <87k6z23btg.fsf@namazu.org> TSUCHIYA Masatoshi wrote:

>>Hm, the package named `w3m-el' is very old.  It is now much improved
>>and renamed to `emacs-w3m'[1].

> Because of historical reason, the Debian package of emacs-w3m is named
> `w3m-el', which is well maintained and is not old.  For more detail,
> please check http://packages.debian.org/w3m-el.

Oh, I had to know it.  Thanks.
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-05-24  0:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-23 22:15 Gnus 5.10.6: attempts to use w3m even when there isn't any Miles Bader
2004-05-23 22:22 ` Lars Magne Ingebrigtsen
2004-05-23 22:36   ` Katsumi Yamaoka
2004-05-23 22:56     ` Miles Bader
2004-05-23 23:18       ` Katsumi Yamaoka
2004-05-24  0:31         ` TSUCHIYA Masatoshi
2004-05-24  0:42           ` Katsumi Yamaoka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).