From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Emery Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Mon, 23 May 2005 11:09:03 +0200 Organization: Home, France Message-ID: <87ll66pavk.fsf@spamfoil.invalid> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1116844118 19783 80.91.229.2 (23 May 2005 10:28:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 May 2005 10:28:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 23 12:28:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaAAJ-000786-9e for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 12:28:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaADk-0002j5-5r for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 06:31:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!infeed-2.proxad.net!news14-e.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: T-gnus/6.17.3 (based on No Gnus v0.3) SEMI/1.14.6 (Maruoka)FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/22.0.50 (gnu/linux) MULE/5.0 (SAKAKI) Cancel-Lock: sha1:OX1SwQmbgJ93CBtJtAqObb+Dth8= Original-Lines: 36 Original-NNTP-Posting-Date: 23 May 2005 11:08:43 MEST Original-NNTP-Posting-Host: 82.233.241.49 Original-X-Trace: 1116839323 news14-e.free.fr 10509 82.233.241.49:56724 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:131466 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26921 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26921 Tim X writes: > Can you try http://www.une.edu.au/itd and then try one of the links on > the page you get i.e. "About ITD" and see if that works for you. I've > found that if I use that link instead of > http://www.une.edu.au/itd/index.html, it doesn't work, but if I > use the full link with the index.html on the end, relative links work > OK. Oh, i hadn't though of that ! What happens is that `url-http-parse-headers' gets back a "301" redirection, with URI "http://www.une.edu.au/itd/", but it does not pass it on to `w3-fetch-callback' ... This can be solved with the following patch to url-http.el: --- url-http.el~ +++ url-http.el @@ -461,7 +461,8 @@ (url-request-data url-http-data) (url-request-extra-headers url-http-extra-headers)) (url-retrieve redirect-uri url-callback-function - url-callback-arguments) + (list redirect-uri) ;;url-callback-arguments + ) (url-mark-buffer-as-dead (current-buffer)))))) ((= class 4) ; Client error ;; 400 Bad Request HTH, Thierry -- thierry |dot| emery |at| free |dot| fr