From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Emacs 21 and w3 on Debian Date: 22 May 2005 21:05:11 +1000 Message-ID: <87sm0fbjx4.fsf@tiger.rapttech.com.au> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116760025 22756 80.91.229.2 (22 May 2005 11:07:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 May 2005 11:07:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 22 13:07:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DZoIM-0001fw-OK for geh-help-gnu-emacs@m.gmane.org; Sun, 22 May 2005 13:06:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZoLb-0004JH-4O for geh-help-gnu-emacs@m.gmane.org; Sun, 22 May 2005 07:10:19 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-36.lns2.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1116759912 59.167.21.36 (22 May 2005 20:35:12 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!2001:1a50:0:1::9.MISMATCH!news.rh-tec.net!koehntopp.de!news.musoftware.de!quokka.wn.com.au!figjam.pipenetworks.com!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:131435 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:26891 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26891 This weekend, I thought it was about time I tried to work out why I have not been able to get emacs w3 working reliably. It seems that there is a problem with relative links within w3 and I wanted to know if anyone else has seen this and possibly has a solution. I'm running - Linux Debian Sid (Testing) Emacs 21.4 w3-el-e21 (version 4.0pre.2001.10.27-16) w3-url-e21 (version 2001.11.08-7) When I try to follow a link in a page, it seems w3 is parsing the information icnorrectly. For example, if I'm at the page http://www.some.host/dir/index.html and that page has a url of the form next link, tabbing to that link and hitting enter causes w3 to try and retrieve the url http://www.some.host/about/index.html when it should be trying to retrieve http://www.some.host/dir/about/index.html. It seems that instead of forming the relative link so that it is relative to the current page, it forms one which is relative to the document root of the remote server. Has anyone (especially anyone using Debian) seen this problem? If so, does anyone have a fix? If not, I'll try to track it down further. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out! 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: Sun, 22 May 2005 22:14:11 +0200 Organization: Home, France Message-ID: <874qcvqar0.fsf@spamfoil.invalid> References: <87sm0fbjx4.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 1116793073 9319 80.91.229.2 (22 May 2005 20:17:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 May 2005 20:17:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 22 22:17:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DZwt3-00038G-Ed for geh-help-gnu-emacs@m.gmane.org; Sun, 22 May 2005 22:17:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZwwM-0000cG-UH for geh-help-gnu-emacs@m.gmane.org; Sun, 22 May 2005 16:20:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!proxad.net!infeed-1.proxad.net!news6-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:qNsC4I1NdwD5G9CC98I2xEWo5C8= Original-Lines: 25 Original-NNTP-Posting-Date: 22 May 2005 22:13:50 MEST Original-NNTP-Posting-Host: 82.233.241.49 Original-X-Trace: 1116792830 news6-e.free.fr 6671 82.233.241.49:45782 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:131443 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:26899 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26899 Tim X writes: > It seems that > there is a problem with relative links within w3 and I wanted to know > if anyone else has seen this and possibly has a solution. I have never experienced such a problem ; do you have an example that is accessible on internet ? > For example, if I'm at the page > > http://www.some.host/dir/index.html > > and that page has a url of the form next > link, tabbing to that link and hitting enter causes w3 to try and > retrieve the url http://www.some.host/about/index.html when it should > be trying to retrieve http://www.some.host/dir/about/index.html. A wild guess: is there an erroneous in http://www.some.host/dir/index.html ? Thierry -- thierry |dot| emery |at| free |dot| fr From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: 23 May 2005 08:27:02 +1000 Message-ID: <87oeb2c2x5.fsf@tiger.rapttech.com.au> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116800895 20871 80.91.229.2 (22 May 2005 22:28:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 May 2005 22:28:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 23 00:28:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DZyuT-0005yi-3K for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 00:27:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZyxm-0003wJ-8R for geh-help-gnu-emacs@m.gmane.org; Sun, 22 May 2005 18:30:26 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 44 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-36.lns2.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1116800822 59.167.21.36 (23 May 2005 07:57:02 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!figjam.pipenetworks.com!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:131452 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:26908 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26908 Thierry Emery writes: > Tim X writes: > > > It seems that > > there is a problem with relative links within w3 and I wanted to know > > if anyone else has seen this and possibly has a solution. > > I have never experienced such a problem ; do you have an example > that is accessible on internet ? Well, it seems pretty much any page with a relative link which is not relative to the document root of the server. An example is http://www.une.edu.au/itd/index.html If you try to follow the "About ITD" link on that page, instead of getting http://www.une.edu.au/itd/about/index.html I get http://www.une.edu.au/about/index.html which doesn't work (obviously). I will check the page for incorrect HTML - however, the above pages work with every other browser I've tried - w3m, firefox, opera, IE. > A wild guess: is there an erroneous > > in http://www.some.host/dir/index.html ? Will check, but doubt its a page specific problem as all other browsers are dealing with this page (and other) fine. Note that w3 under xemcas also works fine. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out! From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: 23 May 2005 17:49:45 +1000 Message-ID: <87k6lqbcva.fsf@tiger.rapttech.com.au> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116836013 27803 80.91.229.2 (23 May 2005 08:13:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 May 2005 08:13:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 23 10:13:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Da82Y-0007Yx-Al for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 10:11:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Da85x-00085e-PA for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 04:15:29 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 54 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-36.lns2.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1116834585 59.167.21.36 (23 May 2005 17:19:45 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!uunet!bos.uu.net!dca.uu.net!snewsf0.syd.ops.aspac.uu.net!news1.optus.net.au!optus!news.mel.connect.com.au!news-south.connect.com.au!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:131461 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:26917 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26917 Tim X writes: > Thierry Emery writes: > > > Tim X writes: > > > > > It seems that > > > there is a problem with relative links within w3 and I wanted to know > > > if anyone else has seen this and possibly has a solution. > > > > I have never experienced such a problem ; do you have an example > > that is accessible on internet ? > > Well, it seems pretty much any page with a relative link which is not > relative to the document root of the server. An example is > > http://www.une.edu.au/itd/index.html > > If you try to follow the "About ITD" link on that page, instead of > getting > > http://www.une.edu.au/itd/about/index.html > > I get > > http://www.une.edu.au/about/index.html > > which doesn't work (obviously). > > I will check the page for incorrect HTML - however, the above pages > work with every other browser I've tried - w3m, firefox, opera, IE. > Some more information has come to light. If I attempt to go to the page http://www.une.edu.au/itd/index.html and then follow a link in that page to the "About ITD" it works fine. However, if I go to the link http://www.une.edu.au/itd I get the page, but when I try to follow relative links from that page, the link is made relative to the document root rather than the page the link was followed from. So, it seems that what *may* be happening under Emacs/W3 is that it is incorrectly removing the last element of the original url i.e. itd in the above example, possibly mistakenly beleiving that is the last element of the url (instead of recognizing it is the defualt index.html) and then appending the relative link - resulting in the wrong link. I will see if I can debug it further. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out! From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: 23 May 2005 17:53:24 +1000 Message-ID: <87fywebcp7.fsf@tiger.rapttech.com.au> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116837815 576 80.91.229.2 (23 May 2005 08:43:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 May 2005 08:43:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 23 10:43:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Da8Ut-0002aZ-MX for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 10:41:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Da8XN-0004CN-Bg for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 04:43:49 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-36.lns2.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1116834804 59.167.21.36 (23 May 2005 17:23:24 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp-out.svc.us.xo.net!nntp1-feeder.SJ.svc.us.xo.net!newsfeed.concentric.net!sjc1.nntp.concentric.net!newsfeed-3001.bay.webtv.net!news.moat.net!quokka.wn.com.au!token.pipenetworks.com!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:131462 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:26918 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26918 Klaus Straubinger writes: > Tim X wrote: > > > An example is > > > > http://www.une.edu.au/itd/index.html > > > > If you try to follow the "About ITD" link on that page, instead of > > getting > > > > http://www.une.edu.au/itd/about/index.html > > > > I get > > > > http://www.une.edu.au/about/index.html > > > > which doesn't work (obviously). > > With Emacs/W3 from its CVS and Emacs/URL from the Emacs CVS, I get the > correct link. So I think you have an outdated Emacs/W3 or something > else is not working correctly. Hi Klaus, 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. I'm guessing the problem is that Emacs/W3 is interpreting a link that ends without the explicit .html page (e.g. index.html) incorrectly - its stripping the last element off the link and adding the relative link to that, which is incorrect. regards, Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out! 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 10:30:17 +0200 Organization: Home, France Message-ID: <87psvipco6.fsf@spamfoil.invalid> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.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 1116841458 11787 80.91.229.2 (23 May 2005 09:44:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 May 2005 09:44:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 23 11:44:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Da9SU-0001pD-Ew for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 11:42:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Da9Vu-0007qp-VE for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 05:46:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!freenix!usenet-fr.net!proxad.net!infeed-2.proxad.net!news16-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:UBGhb/viOL2SKbUMHEqWjwZfUK8= Original-Lines: 78 Original-NNTP-Posting-Date: 23 May 2005 10:30:00 MEST Original-NNTP-Posting-Host: 82.233.241.49 Original-X-Trace: 1116837000 news16-e.free.fr 20259 82.233.241.49:36642 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:131463 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:26919 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26919 Tim X writes: > Well, it seems pretty much any page with a relative link which is not > relative to the document root of the server. An example is > > http://www.une.edu.au/itd/index.html > > If you try to follow the "About ITD" link on that page, instead of > getting > > http://www.une.edu.au/itd/about/index.html Hmm, strange, this works for me when using the same environment as you have: Debian GNU/Linux sid GNU Emacs 21.4.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-03-17 on trouble, modified by Debian w3-el-e21 4.0pre.2001.10.27-16 w3-url-e21 2001.11.08-7 with the following procedure: /usr/bin/emacs -q & M-x w3-fetch http://www.une.edu.au/itd/index.html this does get http://www.une.edu.au/itd/about/index.html ... However: 1. Errors are signaled when loading images ("Text is read-only"), this is solved with: (defadvice w3-finalize-image-download (around set-inhibit-read-only activate) (let ((inhibit-read-only t)) ad-do-it)) (defadvice widget-image-value-create (around set-inhibit-read-only activate) (let ((inhibit-read-only t)) ad-do-it)) 2. Images are not inserted where they belong, this is fixed with: (eval-after-load "w3-widget" (quote (defun widget-image-value-set (widget value) ;; Recreate widget with new value. (save-excursion (let* ((where (widget-get widget 'where))) (widget-image-delete widget) (if (or (eq 'image (car-safe value)) ; Emacs 21 (widget-glyphp value)) (widget-put widget 'glyph value) (widget-put widget :value value)) (and where (goto-char where)) (put-text-property (point) (progn (widget-apply widget :create) (point)) 'inaudible widget-image-inaudible-p)))) )) 3. There are ">" glitches, which are eliminated with: (add-hook 'w3-parse-hooks (lambda () (while (search-forward "/>" nil t) (replace-match ">")))) Hoping this helps, Thierry -- thierry |point| emery |chez| free |point| fr 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 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:57:48 +0200 Organization: Home, France Message-ID: <87wtpq1cyr.fsf@spamfoil.invalid> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87psvipco6.fsf@spamfoil.invalid> 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 1116844717 21939 80.91.229.2 (23 May 2005 10:38:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 May 2005 10:38:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 23 12:38:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaAHP-0008I0-LO for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 12:35:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaAKq-0007Zo-47 for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 06:39:00 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fr.ip.ndsoftware.net!proxad.net!infeed-1.proxad.net!news3-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:tjmcCa3NROJH4rg50fbPPYUm53w= Original-Lines: 40 Original-NNTP-Posting-Date: 23 May 2005 11:57:27 MEST Original-NNTP-Posting-Host: 82.233.241.49 Original-X-Trace: 1116842247 news3-e.free.fr 6530 82.233.241.49:43613 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:131468 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:26924 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26924 Klaus Straubinger writes: > Thierry Emery wrote: > >> (defadvice w3-finalize-image-download (around set-inhibit-read-only activate) >> (let ((inhibit-read-only t)) >> ad-do-it)) > > Thank you for your improvements. They work good for me. > Do have any possibility to bring them into the CVS version? I have a CVS client installed, if that is what you are asking ? Who is in charge of the CVS version you mention ? >> (defadvice widget-image-value-create (around set-inhibit-read-only activate) >> (let ((inhibit-read-only t)) >> ad-do-it)) > > Is this really necessary? Oops, no -- i had written it chronologically before the first `defadvice' and have not checked afterwards whether it was still useful ... thanks for testing it ! > I have been able to achieve good results with the following: > > (defadvice widget-image-value-set (around set-point activate) > (save-excursion > (let ((p (widget-get (ad-get-arg 0) 'where))) > (if p (goto-char p))) > ad-do-it)) > > This avoids redefining the whole function and using eval-after-load. Yes, this is more elegant on the user side ! Thierry -- thierry |dot| emery |at| free |dot| fr 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 19:22:51 +0200 Organization: Home, France Message-ID: <87vf59kgb8.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> <87ll66pavk.fsf@spamfoil.invalid> 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 1116868944 9896 80.91.229.2 (23 May 2005 17:22:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 May 2005 17:22:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 23 19:22:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaGcg-0006Sz-G8 for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 19:21:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaGgB-0000RQ-74 for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 13:25:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!infeed-1.proxad.net!news1-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:SzmGNCLv+rRcBqM/NnVSTwCYlLs= Original-Lines: 12 Original-NNTP-Posting-Date: 23 May 2005 19:22:28 MEST Original-NNTP-Posting-Host: 82.233.241.49 Original-X-Trace: 1116868948 news1-e.free.fr 10013 82.233.241.49:36908 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:131477 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:26932 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26932 Klaus Straubinger writes: > Did you suggest that improvement to the Emacs development list? > If not yet, I think that would be a good idea. The URL library > is maintained there (in parallel?). I have proposed it both through M-x report-emacs-bug and to Debian, as they maintain two slightly different versions of the URL package. Thierry -- thierry |dot| emery |at| free |dot| fr 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 19:25:10 +0200 Organization: Home, France Message-ID: <87r7fxkg7d.fsf@spamfoil.invalid> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87psvipco6.fsf@spamfoil.invalid> <87wtpq1cyr.fsf@spamfoil.invalid> 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 1116869405 11388 80.91.229.2 (23 May 2005 17:30:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 May 2005 17:30:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 23 19:30:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaGhp-000782-CI for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 19:27:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaGlK-0003uZ-5c for geh-help-gnu-emacs@m.gmane.org; Mon, 23 May 2005 13:30:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!proxad.net!infeed-1.proxad.net!news1-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:e5MEd9MtFZG2vdgMAcBapihTq1Q= Original-Lines: 15 Original-NNTP-Posting-Date: 23 May 2005 19:24:47 MEST Original-NNTP-Posting-Host: 82.233.241.49 Original-X-Trace: 1116869087 news1-e.free.fr 10013 82.233.241.49:36908 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:131478 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:26935 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26935 Klaus Straubinger writes: > Thierry Emery wrote: >> Who is in charge of the CVS version you mention ? > > I don't know. That's part of the problem. In the meantime, i have submitted modifications to w3-finalize-image-download and widget-image-value-set as Debian GNU/Linux bug reports. Thierry -- thierry |dot| emery |at| free |dot| fr From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Tue, 24 May 2005 07:48:46 +0200 (CEST) Organization: not organised Message-ID: References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> <87vf59kgb8.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116913930 2359 80.91.229.2 (24 May 2005 05:52:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 May 2005 05:52:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 07:52:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaSKG-0000Sl-PI for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 07:51:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaSNr-0002id-RP for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 01:55:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!npeer.de.kpn-eurorings.net!news-FFM2.ecrc.net!news.sap-ag.de!news2!news.sap-ag.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 10.18.75.12 Original-X-Trace: news.sap-ag.de 1116913726 29180 10.18.75.12 (24 May 2005 05:48:46 GMT) Original-X-Complaints-To: newsmaster@sap.com Original-NNTP-Posting-Date: Tue, 24 May 2005 05:48:46 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 X-No-Archive: yes Original-Xref: shelby.stanford.edu gnu.emacs.help:131485 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 X-Gmane-Expiry: 2005-06-07 Xref: news.gmane.org gmane.emacs.help:26942 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26942 Thierry Emery wrote: > I have proposed it both through M-x report-emacs-bug and to Debian, > as they maintain two slightly different versions of the URL package. Maybe someone should suggest to Debian that they work with Emacs development instead of doubling the maintenance effort. Does Debian maintain (officially or not) the W3 package? This package is not (yet?) in the Emacs development tree. -- Klaus Straubinger From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: 24 May 2005 18:17:17 +1000 Message-ID: <873bsdavhu.fsf@tiger.rapttech.com.au> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116925980 763 80.91.229.2 (24 May 2005 09:13:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 May 2005 09:13:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 11:12:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaVRv-00020N-7s for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 11:11:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaVVY-0006iS-8y for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 05:15:28 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-36.lns2.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1116922638 59.167.21.36 (24 May 2005 17:47:18 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp-out.svc.us.xo.net!nntp1-feeder.SJ.svc.us.xo.net!newsfeed.concentric.net!sjc1.nntp.concentric.net!newsfeed-3001.bay.webtv.net!news.moat.net!quokka.wn.com.au!token.pipenetworks.com!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:131487 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:26944 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26944 Klaus Straubinger writes: > Tim X wrote: > > > 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. > > That does not work, indeed. I have found that the problem has its root > in the handling directories without the trailing "/". If you try > "http://www.une.edu.au/itd/" (note the trailing slash) you will see the > difference. > > > 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. > > That will work, too, yes. > > > I'm guessing the problem is that Emacs/W3 is interpreting a link that > > ends without the explicit .html page (e.g. index.html) incorrectly - > > its stripping the last element off the link and adding the relative > > link to that, which is incorrect. > > I have my own suspicion, see above. However, I have not had enough > energy to fix it. Maybe it is widespread but incorrect HTML usage > and Emacs/W3 is not to blame. > Thanks Klaus. I think your right in that without the / it is incorrect (technically). Unfortunately, most other browsers I've tried do work without the slash, so I guess its one of those examples where the technical spec and common use differ. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out! From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: 24 May 2005 18:19:32 +1000 Message-ID: <87y8a59gtn.fsf@tiger.rapttech.com.au> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116926163 1300 80.91.229.2 (24 May 2005 09:16:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 May 2005 09:16:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 11:16:02 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaVUz-0002JI-Sh for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 11:14:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaVYc-00005k-UL for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 05:18:38 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 52 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-36.lns2.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1116922773 59.167.21.36 (24 May 2005 17:49:33 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!newsfeed.pacific.net.au!token.pipenetworks.com!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:131488 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:26945 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26945 Thierry Emery writes: > 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 Thierry, Thanks a lot for that - you saved me a lot of work and have gone above and beyond with this one. Greatly appreciated! regards, Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out! From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: 24 May 2005 18:24:28 +1000 Message-ID: <87u0kt9glf.fsf@tiger.rapttech.com.au> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87psvipco6.fsf@spamfoil.invalid> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116926214 1453 80.91.229.2 (24 May 2005 09:16:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 May 2005 09:16:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 11:16:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DaVVV-0002O3-6K for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 11:15:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaVZ8-0001A2-8l for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 05:19:10 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 97 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-36.lns2.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1116923069 59.167.21.36 (24 May 2005 17:54:29 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!figjam.pipenetworks.com!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:131489 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:26946 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26946 Thierry Emery writes: > Tim X writes: > > > Well, it seems pretty much any page with a relative link which is not > > relative to the document root of the server. An example is > > > > http://www.une.edu.au/itd/index.html > > > > If you try to follow the "About ITD" link on that page, instead of > > getting > > > > http://www.une.edu.au/itd/about/index.html > > Hmm, strange, this works for me when using the same environment as you have: > > Debian GNU/Linux sid > GNU Emacs 21.4.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2005-03-17 on trouble, modified by Debian > w3-el-e21 4.0pre.2001.10.27-16 > w3-url-e21 2001.11.08-7 > > with the following procedure: > > /usr/bin/emacs -q & > M-x w3-fetch > http://www.une.edu.au/itd/index.html > > > this does get http://www.une.edu.au/itd/about/index.html ... > > > However: > > 1. Errors are signaled when loading images ("Text is read-only"), > this is solved with: > > (defadvice w3-finalize-image-download (around set-inhibit-read-only activate) > (let ((inhibit-read-only t)) > ad-do-it)) > > (defadvice widget-image-value-create (around set-inhibit-read-only activate) > (let ((inhibit-read-only t)) > ad-do-it)) > > 2. Images are not inserted where they belong, this is fixed with: > > (eval-after-load "w3-widget" (quote > (defun widget-image-value-set (widget value) > ;; Recreate widget with new value. > (save-excursion > (let* ((where (widget-get widget 'where))) > (widget-image-delete widget) > (if (or (eq 'image (car-safe value)) ; Emacs 21 > (widget-glyphp value)) > (widget-put widget 'glyph value) > (widget-put widget :value value)) > (and where > (goto-char where)) > (put-text-property (point) > (progn > (widget-apply widget :create) > (point)) > 'inaudible > widget-image-inaudible-p)))) > )) > > 3. There are ">" glitches, which are eliminated with: > > (add-hook 'w3-parse-hooks > (lambda () > (while (search-forward "/>" nil t) > (replace-match ">")))) > > > Hoping this helps, > > Thierry > -- > thierry |point| emery |chez| free |point| fr Thierry, You blow me away with all of this! I've used defadvice a bit myself to get around problems etc, but it would take me ages to work out everything that you have so quickly. You have reinspired my faith in newsgroups! thanks, Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out! 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: Tue, 24 May 2005 18:39:01 +0200 Organization: Home, France Message-ID: <874qcsbmu2.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> <87ll66pavk.fsf@spamfoil.invalid> <87vf59kgb8.fsf@spamfoil.invalid> 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 1116952932 30900 80.91.229.2 (24 May 2005 16:42:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 May 2005 16:42:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 18:42:10 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DacTB-0004Cu-Bs for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 18:41:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DacWs-0007BJ-6E for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2005 12:45:18 -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!news1-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:qp/nyUJ01xVMNZ5DGICs/de3cPk= Original-Lines: 24 Original-NNTP-Posting-Date: 24 May 2005 18:38:47 MEST Original-NNTP-Posting-Host: 82.233.241.49 Original-X-Trace: 1116952727 news1-e.free.fr 10050 82.233.241.49:33045 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:131498 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:26955 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26955 Klaus Straubinger writes: > Maybe someone should suggest to Debian that they work with Emacs > development instead of doubling the maintenance effort. So far, Debian GNU/Linux "sid" includes GNU Emacs 21.4, which does not contain the URL package. I suppose that when Debian upgrades to GNU Emacs 22 (either released or from CVS) there won't be such a double maintenance anymore ? > Does Debian maintain (officially or not) the W3 package? Yes, based on a 2001 snapshot of its CVS version. It seems to me that there are only minor differences with the current state of the CVS version. > This package is not (yet?) in the Emacs development tree. You are right. It is still a GNU project though: http://savannah.gnu.org/projects/w3/ Thierry -- thierry |dot| emery |at| free |dot| fr 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: Wed, 25 May 2005 19:28:33 +0200 Organization: Home, France Message-ID: <871x7vtdtq.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> <87ll66pavk.fsf@spamfoil.invalid> 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 1117042410 12248 80.91.229.2 (25 May 2005 17:33:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 May 2005 17:33:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 25 19:33:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dazj0-0004X1-Ib for geh-help-gnu-emacs@m.gmane.org; Wed, 25 May 2005 19:31:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dazmu-0000OT-Ef for geh-help-gnu-emacs@m.gmane.org; Wed, 25 May 2005 13:35:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!newsserver.cilea.it!univ-lyon1.fr!in2p3.fr!proxad.net!infeed-1.proxad.net!news11-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:XEpeFQ1rH8HPFVJrYmg3G5bHqys= Original-Lines: 22 Original-NNTP-Posting-Date: 25 May 2005 19:28:06 MEST Original-NNTP-Posting-Host: 82.233.241.49 Original-X-Trace: 1117042086 news11-e.free.fr 26441 82.233.241.49:35317 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:131518 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:26976 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26976 Klaus Straubinger writes: > Wouldn't it be more correct to replace the first argument of > url-callback-arguments with the redirect-uri if there are any > such callback arguments present? I have experienced problems > with your solution that went away with this improvement. Through looking at the code, i thought that i had chosen the most cautious alternative, but it seems that i was wrong ... Is it ok with you if i request Emacs and Debian maintainers to replace: (list redirect-uri) with: (cons redirect-uri (cdr url-callback-arguments)) ? Thanks again for your careful testing, Thierry -- thierry |dot| emery |at| free |dot| fr From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Wed, 25 May 2005 11:52:42 -0600 Message-ID: References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117044358 18685 80.91.229.2 (25 May 2005 18:05:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 May 2005 18:05:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 25 20:05:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Db0EG-0000gb-2T for geh-help-gnu-emacs@m.gmane.org; Wed, 25 May 2005 20:03:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Db0IA-0006Vo-DY for geh-help-gnu-emacs@m.gmane.org; Wed, 25 May 2005 14:07:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Db0Ej-0004lQ-IQ for help-gnu-emacs@gnu.org; Wed, 25 May 2005 14:04:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Db0Eb-0004f7-1i for help-gnu-emacs@gnu.org; Wed, 25 May 2005 14:04:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Db0Ea-0004R4-3i for help-gnu-emacs@gnu.org; Wed, 25 May 2005 14:04:00 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Db072-0003GO-Iq for help-gnu-emacs@gnu.org; Wed, 25 May 2005 13:56:12 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Db04E-0007dv-JM for help-gnu-emacs@gnu.org; Wed, 25 May 2005 19:53:18 +0200 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 May 2005 19:53:18 +0200 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 May 2005 19:53:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 16 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: 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:26981 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26981 Klaus Straubinger wrote: > Wouldn't it be more correct to replace the first argument of > url-callback-arguments with the redirect-uri if there are any > such callback arguments present? I have experienced problems > with your solution that went away with this improvement. How exactly is that improvement implemented? (cons redirect-uri url-callback-arguments) (if url-callback-arguments (cons redirect-uri (cdr url-callback-arguments)) (list redirect-uri)) -- Kevin Rodgers 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: Thu, 26 May 2005 12:11:03 +0200 Organization: Home, France Message-ID: <87zmui8fgo.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> <87ll66pavk.fsf@spamfoil.invalid> <871x7vtdtq.fsf@spamfoil.invalid> 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 1117102501 4049 80.91.229.2 (26 May 2005 10:15:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 May 2005 10:15:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 26 12:15:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbFMR-0006Ad-UM for geh-help-gnu-emacs@m.gmane.org; Thu, 26 May 2005 12:13:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbFQU-0008UJ-Lk for geh-help-gnu-emacs@m.gmane.org; Thu, 26 May 2005 06:17:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newscon06.news.prodigy.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.stueberl.de!news.cs.univ-paris8.fr!proxad.net!infeed-1.proxad.net!news1-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:C/kInmfZkP6bGfkxdyd4NmBHgM8= Original-Lines: 47 Original-NNTP-Posting-Date: 26 May 2005 12:10:34 MEST Original-NNTP-Posting-Host: 82.233.241.49 Original-X-Trace: 1117102234 news1-e.free.fr 10027 82.233.241.49:56041 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:131542 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:27001 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27001 I wrote: > Klaus Straubinger writes: > >> Wouldn't it be more correct to replace the first argument of >> url-callback-arguments with the redirect-uri if there are any >> such callback arguments present? I have experienced problems >> with your solution that went away with this improvement. > > Through looking at the code, i thought that i had chosen the most > cautious alternative, but it seems that i was wrong ... Ok, i have taken a much better look at the different places in Debian `sid' GNU Emacs 21.4 in which there are calls to `url-retrieve' and found out that my bogus patch caused problems in `w3-maybe-start-image-download' and `w3-maybe-start-background-image-download', but also in the Gnus library "nnweb.el". I have submitted two patches for these problems to Debian: - the first one replaces in "url-http.el" my erroneous: (list redirect-uri) with: (cons redirect-uri (and url-callback-arguments (cdr url-callback-arguments))) - the second patch adds in "nnweb.el" `url' as first argument for `nnweb-callback' and as third argument in the call to `nnweb-url-retrieve-asynch' in `nnweb-fetch-url' (arguments used when calling `nnweb-callback' start with this third argument). I have also submitted a modified patch to "url-http.el" as a follow-up to my M-x report-emacs-bug. The patch on "nnweb.el" is not applicable to CVS Emacs: library "nnweb.el" does not call `url-retrieve' anymore, but uses `mm-url-insert' instead, which calls `url-insert-file-contents'. Finally, i have found that backporting to Emacs 21.4 the new `url-retrieve-synchronously' from "url.el" in CVS Emacs avoids some cases of Emacs 21.4 locking up (e.g. when a site has lots of images), and have also submitted a patch for this to Debian. Thanks again for pointing out my mistake, Thierry -- thierry |dot| emery |at| free |dot| fr From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Fri, 27 May 2005 08:15:16 +0200 (CEST) Organization: not organised Message-ID: References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> <871x7vtdtq.fsf@spamfoil.invalid> <87zmui8fgo.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117176142 22714 80.91.229.2 (27 May 2005 06:42:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 May 2005 06:42:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 27 08:42:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbYWE-0005yL-NM for geh-help-gnu-emacs@m.gmane.org; Fri, 27 May 2005 08:40:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbYaS-0005UQ-6z for geh-help-gnu-emacs@m.gmane.org; Fri, 27 May 2005 02:44:52 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!news.sap-ag.de!news2!news.sap-ag.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: 10.18.74.2 Original-X-Trace: news.sap-ag.de 1117174515 10743 10.18.74.2 (27 May 2005 06:15:15 GMT) Original-X-Complaints-To: newsmaster@sap.com Original-NNTP-Posting-Date: Fri, 27 May 2005 06:15:15 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 X-No-Archive: Yes Original-Xref: shelby.stanford.edu gnu.emacs.help:131555 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 X-Gmane-Expiry: 2005-06-10 Xref: news.gmane.org gmane.emacs.help:27014 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27014 Thierry Emery wrote: > Finally, i have found that backporting to Emacs 21.4 the new > `url-retrieve-synchronously' from "url.el" in CVS Emacs avoids some > cases of Emacs 21.4 locking up (e.g. when a site has lots of images) Indeed. Did you also experience locking-up in redirecting? I noticed improvement after inserting another (accept-process-output url-http-process) there. -- Klaus Straubinger From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Fri, 27 May 2005 08:29:37 +0200 (CEST) Organization: not organised Message-ID: References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117176339 23285 80.91.229.2 (27 May 2005 06:45:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 May 2005 06:45:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 27 08:45:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbYZt-0006WS-8U for geh-help-gnu-emacs@m.gmane.org; Fri, 27 May 2005 08:44:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbYe6-00075A-4i for geh-help-gnu-emacs@m.gmane.org; Fri, 27 May 2005 02:48:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!news.sap-ag.de!news2!news.sap-ag.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: 10.18.74.2 Original-X-Trace: news.sap-ag.de 1117175377 11549 10.18.74.2 (27 May 2005 06:29:37 GMT) Original-X-Complaints-To: newsmaster@sap.com Original-NNTP-Posting-Date: Fri, 27 May 2005 06:29:37 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 X-No-Archive: Yes Original-Xref: shelby.stanford.edu gnu.emacs.help:131556 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 X-Gmane-Expiry: 2005-06-10 Xref: news.gmane.org gmane.emacs.help:27015 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27015 Kevin Rodgers wrote: > How exactly is that improvement implemented? > > (cons redirect-uri url-callback-arguments) > > (if url-callback-arguments > (cons redirect-uri (cdr url-callback-arguments)) > (list redirect-uri)) I chose something like the second alternative: (if url-callback-arguments (setcar url-callback-arguments redirect-uri) (setq url-callback-arguments (list redirect-uri))) The first would not be correct because the URL sometimes already present as first argument in the url-callback-arguments list must be replaced. Would it work then to simply write (setq url-callback-arguments (append (list redirect-uri) (cdr url-callback-arguments))) independent of the value of url-callback-arguments? -- Klaus Straubinger From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Fri, 27 May 2005 10:35:20 -0600 Message-ID: References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117212315 7298 80.91.229.2 (27 May 2005 16:45:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 May 2005 16:45:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 27 18:45:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbhuP-0004dn-HN for geh-help-gnu-emacs@m.gmane.org; Fri, 27 May 2005 18:42:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dbhyi-0003Ur-Dk for geh-help-gnu-emacs@m.gmane.org; Fri, 27 May 2005 12:46:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dbhxq-0002ss-TB for help-gnu-emacs@gnu.org; Fri, 27 May 2005 12:45:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dbhxn-0002rO-KW for help-gnu-emacs@gnu.org; Fri, 27 May 2005 12:45:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dbhxn-0002oo-48 for help-gnu-emacs@gnu.org; Fri, 27 May 2005 12:45:35 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Dbhsf-0004Pt-GS for help-gnu-emacs@gnu.org; Fri, 27 May 2005 12:40:17 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DbhnA-0003A8-Ba for help-gnu-emacs@gnu.org; Fri, 27 May 2005 18:34:36 +0200 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 May 2005 18:34:36 +0200 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 May 2005 18:34:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 53 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: 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:27024 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27024 Klaus Straubinger wrote: > Kevin Rodgers wrote: >>How exactly is that improvement implemented? >> >>(cons redirect-uri url-callback-arguments) >> >>(if url-callback-arguments >> (cons redirect-uri (cdr url-callback-arguments)) >> (list redirect-uri)) > > I chose something like the second alternative: > > (if url-callback-arguments > (setcar url-callback-arguments redirect-uri) > (setq url-callback-arguments (list redirect-uri))) Is it necessary to destructively modify url-callback-arguments? I.e. is it used elsewhere that must reflect the redirection as well? Note that setcar does not return the modified cons, so I think that should be (asssuming setcar is indeed necessary): (if url-callback-arguments (progn (setcar url-callback-arguments redirect-uri) url-callback-arguments) (setq url-callback-arguments (list redirect-uri))) > The first would not be correct because the URL sometimes already > present as first argument in the url-callback-arguments list must be > replaced. Again: destructively, or just in this particular call to url-retrieve? > Would it work then to simply write > > (setq url-callback-arguments > (append (list redirect-uri) (cdr url-callback-arguments))) > > independent of the value of url-callback-arguments? Yes, it's not necessary to test url-callback-arguments and it's better to avoid destructive operations on lists unless you're sure of what you're doing. But (append (list x) ...) is better expressed as (cons x ...): (cons redirect-uri (cdr url-callback-arguments)) Again, why setq? Do you really need to change its global value? -- Kevin Rodgers 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: Fri, 27 May 2005 21:09:13 +0200 Organization: Home, France Message-ID: <87zmuga3l2.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> <87ll66pavk.fsf@spamfoil.invalid> <871x7vtdtq.fsf@spamfoil.invalid> <87zmui8fgo.fsf@spamfoil.invalid> 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 1117221071 1791 80.91.229.2 (27 May 2005 19:11:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 May 2005 19:11:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 27 21:11:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbkEM-0001vT-Eh for geh-help-gnu-emacs@m.gmane.org; Fri, 27 May 2005 21:10:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbkIg-0007Lm-L1 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 May 2005 15:15:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!proxad.net!infeed-2.proxad.net!news10-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:pZ2tSiMjNhx/h+aI2GTJh/lmPsc= Original-Lines: 21 Original-NNTP-Posting-Date: 27 May 2005 21:08:42 MEST Original-NNTP-Posting-Host: 82.233.241.49 Original-X-Trace: 1117220922 news10-e.free.fr 16639 82.233.241.49:58843 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:131567 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:27026 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27026 Klaus Straubinger writes: > Indeed. Did you also experience locking-up in redirecting? No ; did you ? If so, do you have an accessible example ? > I noticed > improvement after inserting another (accept-process-output url-http-process) "another" ? (i couldn't find any occurrence of this in the Debian package source) > there. and i don't see where this is ... Could you give more information ? Thierry -- thierry |dot| emery |at| free |dot| fr From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Mon, 30 May 2005 08:26:48 +0200 (CEST) Organization: not organised Message-ID: References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117435477 26970 80.91.229.2 (30 May 2005 06:44:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 May 2005 06:44:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 30 08:44:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DcdzW-000792-Be for geh-help-gnu-emacs@m.gmane.org; Mon, 30 May 2005 08:43:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dce4K-0007cB-2E for geh-help-gnu-emacs@m.gmane.org; Mon, 30 May 2005 02:48:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!feed.news.tiscali.de!news.netplace.de!news-FFM2.ecrc.net!news.sap-ag.de!news2!news.sap-ag.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 10.18.74.238 Original-X-Trace: news.sap-ag.de 1117434407 6009 10.18.74.238 (30 May 2005 06:26:47 GMT) Original-X-Complaints-To: newsmaster@sap.com Original-NNTP-Posting-Date: Mon, 30 May 2005 06:26:47 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 X-No-Archive: Yes Original-Xref: shelby.stanford.edu gnu.emacs.help:131606 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 X-Gmane-Expiry: 2005-06-13 Xref: news.gmane.org gmane.emacs.help:27065 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27065 Kevin Rodgers wrote: > Is it necessary to destructively modify url-callback-arguments? I am not sure because I have no complete overview over the URL library. But in many places dynamic binding is used where one indeed must modify the globally visible value of variables. See for example the definition of the function "url-http-activate-callback". By the way: The code uses "(declare (special ...))" to mark these cases and to pacify the byte-compiler. Someone with CVS write access could replace these with an equivalent non-CL statement, i.e., append the named variables to "byte-compile-bound-variables". > But (append (list x) ...) is better expressed as (cons x ...): > > (cons redirect-uri (cdr url-callback-arguments)) Isn't that a matter of taste? I find it more intuitive to use "append" and "list" for list operations and "cons" for simple cells. But I am no lisp expert. -- Klaus Straubinger From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Mon, 30 May 2005 08:33:46 +0200 (CEST) Organization: not organised Message-ID: References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> <871x7vtdtq.fsf@spamfoil.invalid> <87zmui8fgo.fsf@spamfoil.invalid> <87zmuga3l2.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117436552 29687 80.91.229.2 (30 May 2005 07:02:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 May 2005 07:02:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 30 09:02:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DceHw-0000UE-PE for geh-help-gnu-emacs@m.gmane.org; Mon, 30 May 2005 09:02:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DceMl-0005g5-3P for geh-help-gnu-emacs@m.gmane.org; Mon, 30 May 2005 03:07:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!news.sap-ag.de!news2!news.sap-ag.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 10.18.74.238 Original-X-Trace: news.sap-ag.de 1117434825 6009 10.18.74.238 (30 May 2005 06:33:45 GMT) Original-X-Complaints-To: newsmaster@sap.com Original-NNTP-Posting-Date: Mon, 30 May 2005 06:33:45 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 X-No-Archive: Yes Original-Xref: shelby.stanford.edu gnu.emacs.help:131607 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 X-Gmane-Expiry: 2005-06-13 Xref: news.gmane.org gmane.emacs.help:27066 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27066 Thierry Emery wrote: >> I noticed >> improvement after inserting another (accept-process-output url-http-process) > > "another" ? > (i couldn't find any occurrence of this in the Debian package source) It is in "url-retrieve-synchronously" as provided by Emacs CVS. >> there. > > and i don't see where this is ... I did it in "url-http-parse-headers" where responses of class 3 (redirection) are handled and another "url-retrieve" is called. Before this could succeed, one has to make sure that the previous process has a chance to finish, hence (accept-process-output url-http-process). > Could you give more information ? For me the problem only happened with sites that provide no Content-Length header. Unfortunately, I cannot remember any more with which site I tested. -- Klaus Straubinger From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Tue, 31 May 2005 10:41:17 -0600 Message-ID: References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117557824 20192 80.91.229.2 (31 May 2005 16:43:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 May 2005 16:43:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 31 18:43:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dd9p6-0007Vj-8K for geh-help-gnu-emacs@m.gmane.org; Tue, 31 May 2005 18:42:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dd9uD-000775-N4 for geh-help-gnu-emacs@m.gmane.org; Tue, 31 May 2005 12:47:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dd9tl-00073J-QE for help-gnu-emacs@gnu.org; Tue, 31 May 2005 12:47:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dd9ti-00071e-Ur for help-gnu-emacs@gnu.org; Tue, 31 May 2005 12:47:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dd9ti-00070K-My for help-gnu-emacs@gnu.org; Tue, 31 May 2005 12:47:22 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Dd9s9-0000vk-3C for help-gnu-emacs@gnu.org; Tue, 31 May 2005 12:45:45 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Dd9m7-000706-Ql for help-gnu-emacs@gnu.org; Tue, 31 May 2005 18:39:31 +0200 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2005 18:39:31 +0200 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2005 18:39:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 50 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: 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:27097 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27097 Klaus Straubinger wrote: > Kevin Rodgers wrote: >>Is it necessary to destructively modify url-callback-arguments? > > I am not sure because I have no complete overview over the URL library. > But in many places dynamic binding is used where one indeed must modify > the globally visible value of variables. That is not what I asked. One can change the globally visible value of a variable without destructively modifying the original list structure. If you intend to change the variable permanently, you use setq; if you intend to change it temporarily (e.g. for the duration of a function call), you use let. But you should destructively modify the original value only when changing the variable permanently, and only if you understand the implications (namely, that you are modifying by side-effect any other variable that happens to share that data structure). > See for example the definition > of the function "url-http-activate-callback". I don't see any modification of a global variable (permanent or temporary, destructive or not) in the CVS implementation at http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/url/url-http.el?rev=HEAD&content-type=text/vnd.viewcvs-markup > By the way: The code uses > "(declare (special ...))" to mark these cases and to pacify the > byte-compiler. Someone with CVS write access could replace these with an > equivalent non-CL statement, i.e., append the named variables to > "byte-compile-bound-variables". No, those declarations are there to pacify the Common Lisp cravings of the author. The right thing to do is to defvar the global variables at the top level (either in url-http.el itself or in one of the libraries it requires). >>But (append (list x) ...) is better expressed as (cons x ...): >> >> (cons redirect-uri (cdr url-callback-arguments)) > > Isn't that a matter of taste? I find it more intuitive to use "append" > and "list" for list operations and "cons" for simple cells. But I am no > lisp expert. Yes, I suppose it is a matter of style. But the fact is that cons is the primitive function for constructing a new list from an element and an old list. And 2 function calls are seldom more readable than 1. -- Kevin Rodgers From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Wed, 1 Jun 2005 08:19:46 +0200 (CEST) Organization: not organised Message-ID: References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117607912 29526 80.91.229.2 (1 Jun 2005 06:38:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2005 06:38:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 01 08:38:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DdMrj-0004M9-4y for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jun 2005 08:38:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DdMwx-0000qd-Go for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jun 2005 02:43:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!news.sap-ag.de!news2!news.sap-ag.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 10.18.74.6 Original-X-Trace: news.sap-ag.de 1117606786 9122 10.18.74.6 (1 Jun 2005 06:19:46 GMT) Original-X-Complaints-To: newsmaster@sap.com Original-NNTP-Posting-Date: Wed, 1 Jun 2005 06:19:46 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 X-No-Archive: Yes Original-Xref: shelby.stanford.edu gnu.emacs.help:131655 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 X-Gmane-Expiry: 2005-06-15 Xref: news.gmane.org gmane.emacs.help:27115 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27115 Kevin Rodgers wrote: [(declare (special ...))] > those declarations are there to pacify the Common Lisp cravings of > the author. The right thing to do is to defvar the global variables at > the top level (either in url-http.el itself or in one of the libraries > it requires). Could you do that? It is (or has been, last time I looked) on the release-critical list to get rid of these declarations. -- Klaus Straubinger From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Wed, 01 Jun 2005 11:55:46 -0400 Organization: Bell Sympatico Message-ID: <87wtpe2htn.fsf-monnier+gnu.emacs.help@gnu.org> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117642402 11116 80.91.229.2 (1 Jun 2005 16:13:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2005 16:13:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 01 18:13:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DdVnk-0001iD-OE for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jun 2005 18:10:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DdVt3-0000Zs-Oj for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jun 2005 12:16:09 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!msrtrans!News.Dal.Ca!ursa-nb00s0.nbnet.nb.ca!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:ks9JyDuRZa1w/izMISvR68dWkNU= Original-Lines: 25 Original-NNTP-Posting-Host: 67.71.32.43 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1117641346 67.71.32.43 (Wed, 01 Jun 2005 11:55:46 EDT) Original-NNTP-Posting-Date: Wed, 01 Jun 2005 11:55:46 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:131677 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:27137 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27137 >> By the way: The code uses >> "(declare (special ...))" to mark these cases and to pacify the >> byte-compiler. Someone with CVS write access could replace these with an >> equivalent non-CL statement, i.e., append the named variables to >> "byte-compile-bound-variables". > No, those declarations are there to pacify the Common Lisp cravings of > the author. The right thing to do is to defvar the global variables at > the top level (either in url-http.el itself or in one of the libraries > it requires). There's nothing wrong with (declare (special ...) ...). >>> But (append (list x) ...) is better expressed as (cons x ...): >>> >>> (cons redirect-uri (cdr url-callback-arguments)) >> >> Isn't that a matter of taste? I find it more intuitive to use "append" >> and "list" for list operations and "cons" for simple cells. But I am no >> lisp expert. It's just a lot less efficient. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Wed, 01 Jun 2005 11:57:52 -0400 Organization: Bell Sympatico Message-ID: <87r7fm2hr3.fsf-monnier+gnu.emacs.help@gnu.org> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117642616 12096 80.91.229.2 (1 Jun 2005 16:16:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2005 16:16:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 01 18:16:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DdVrp-0002O0-En for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jun 2005 18:14:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DdVx9-0001wW-7E for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jun 2005 12:20:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!wns13feed!worldnet.att.net!207.35.177.252!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Qp6jSCXWte5dCLtzEmsBuIRDFBw= Original-Lines: 17 Original-NNTP-Posting-Host: 67.71.32.43 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1117641472 67.71.32.43 (Wed, 01 Jun 2005 11:57:52 EDT) Original-NNTP-Posting-Date: Wed, 01 Jun 2005 11:57:52 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:131678 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:27139 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27139 > [(declare (special ...))] >> those declarations are there to pacify the Common Lisp cravings of >> the author. The right thing to do is to defvar the global variables at >> the top level (either in url-http.el itself or in one of the libraries >> it requires). > Could you do that? Please don't unless there's a good reason other than personal preference. > It is (or has been, last time I looked) on the > release-critical list to get rid of these declarations. Which list? Which release? It's not in admin/FOR-RELEASE and it's not known to create any particular problem. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Thu, 2 Jun 2005 08:42:58 +0200 (CEST) Organization: not organised Message-ID: References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> <87r7fm2hr3.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117695209 22912 80.91.229.2 (2 Jun 2005 06:53:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2005 06:53:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 02 08:53:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DdjYf-000187-Ru for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2005 08:52:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ddje7-0008CO-62 for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2005 02:57:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!news.sap-ag.de!news2!news.sap-ag.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 10.18.74.6 Original-X-Trace: news.sap-ag.de 1117694578 27466 10.18.74.6 (2 Jun 2005 06:42:58 GMT) Original-X-Complaints-To: newsmaster@sap.com Original-NNTP-Posting-Date: Thu, 2 Jun 2005 06:42:58 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 X-No-Archive: Yes Original-Xref: shelby.stanford.edu gnu.emacs.help:131699 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 X-Gmane-Expiry: 2005-06-16 Xref: news.gmane.org gmane.emacs.help:27159 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27159 Stefan Monnier wrote: [remove (declare (special ...))] > Please don't unless there's a good reason other than personal preference. I thought it is recommended to get rid of CL constructs. If that is (still?) correct, it is not only personal preference. > It's not in admin/FOR-RELEASE It had been until February 28. > and it's not known to create any particular problem. Indeed. I never said anything else. -- Klaus Straubinger From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Sun, 05 Jun 2005 19:08:18 -0400 Organization: Bell Sympatico Message-ID: <87oeakmmil.fsf-monnier+gnu.emacs.help@gnu.org> References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> <87r7fm2hr3.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118013873 19756 80.91.229.2 (5 Jun 2005 23:24:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2005 23:24:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 06 01:24:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Df4TJ-0007pH-Nk for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Jun 2005 01:24:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Df4ZV-0003z2-Tj for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jun 2005 19:30:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!News.Dal.Ca!ursa-nb00s0.nbnet.nb.ca!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:yGk68mm6nn4QohtDHur9xIlN3IE= Original-Lines: 10 Original-NNTP-Posting-Host: 67.71.116.59 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1118012898 67.71.116.59 (Sun, 05 Jun 2005 19:08:18 EDT) Original-NNTP-Posting-Date: Sun, 05 Jun 2005 19:08:18 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:131783 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:27248 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27248 >> Please don't unless there's a good reason other than personal preference. > I thought it is recommended to get rid of CL constructs. > If that is (still?) correct, it is not only personal preference. The only convention I know is that packages bundled with Emacs shouldn't use CL at run-time, tho they are free to use CL at compile-time. I.e. CL macros are perfectly fine and are used pretty frequently. Stefan