From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Magnus Henoch Newsgroups: gmane.emacs.devel Subject: Re: [disumu@x3y2z1.net: URL not following some 302 redirects after recent changes] Date: Mon, 25 Dec 2006 03:06:50 +0100 Message-ID: <87tzzksp8l.fsf@freemail.hu> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167012451 8667 80.91.229.10 (25 Dec 2006 02:07:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Dec 2006 02:07:31 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 25 03:07:31 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GyfFN-0008KT-1D for ged-emacs-devel@m.gmane.org; Mon, 25 Dec 2006 03:07:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GyfFM-0003er-GN for ged-emacs-devel@m.gmane.org; Sun, 24 Dec 2006 21:07:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GyfF5-0003cQ-3d for emacs-devel@gnu.org; Sun, 24 Dec 2006 21:07:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GyfF4-0003ba-DF for emacs-devel@gnu.org; Sun, 24 Dec 2006 21:07:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GyfF3-0003bI-Vs for emacs-devel@gnu.org; Sun, 24 Dec 2006 21:07:06 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GyfF3-0006PR-Gn for emacs-devel@gnu.org; Sun, 24 Dec 2006 21:07:05 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GyfEz-0001lu-76 for emacs-devel@gnu.org; Mon, 25 Dec 2006 03:07:01 +0100 Original-Received: from etthundrat.olf.sgsnet.se ([193.11.222.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Dec 2006 03:07:01 +0100 Original-Received: from mange by etthundrat.olf.sgsnet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Dec 2006 03:07:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: etthundrat.olf.sgsnet.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (berkeley-unix) Cancel-Lock: sha1:rRDbqs2PE+y2NvLVtMDcU7Yc5wE= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64236 Archived-At: Richard Stallman writes: > Does this still fail? Yes. > If so, would someone please fix it? Please ack when it is fixed. A clean way to do it is not immediately obvious to me. The problem is that url-http-async-sentinel tries to change the sentinel, which fails since the sentinel of a process is "bound" to nil during sentinel execution (which I had forgotten when I wrote this function in the first place). I could create a buffer-local variable that tells the filter function to change the sentinel, but is there a better way to solve this? Magnus