From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5676 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.gnus.user Subject: Re: What to do about "Bad URL syntax"? Date: Tue, 13 Sep 2005 17:29:29 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138671361 28410 80.91.229.2 (31 Jan 2006 01:36:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:36:01 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:35:40 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus,gnu.emacs.help Original-X-Trace: individual.net ItGcAPZvDshOyIdx1kNGoANr1o7RwFhHWCchTf0gWtFBwnvtQH User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:us3xQjvUwESIDOZhILAdDqm1sHU= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5818 Original-Lines: 30 X-Gnus-Article-Number: 5818 Tue Jan 17 17:35:40 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5676 Archived-At: Mathias Dahl writes: > From time to time I get only the text "Bad URL syntax" as message > body when reading news. After a while I figured out that it probably > is because the message is a HTML-message. Not sure though, but I can > read the same post using a "normal" news-reader, and the times I > have bothered to check it has been HTML-messages. OK, I will reply to my own post here: I could not resist trying to debug this problem. It took two hours and I had to learn about stuff called Edebug and instrumenting functions for debugging in the process... :) It seems the root of the problem is when the mime content is to be rendered or washed. In my case links was called and it could not parse the HTML given. Hence the "Bad URL syntax" message, which was from links. I copied the file that could not be parse on Windows XP, to my GNU/Linux box at home and there "links -dump" could grok the content. Strange... Anyway, I wanted to solve it so I just tried to see if maybe lynx would work better. After a while of debugging I found the very interesting option `mm-text-html-renderer', which I could set to lynx instead of the default links. This solved my problem and I seem to now be able to also read HTML-postings in GNUS. Yay! /Mathias