From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [disumu@x3y2z1.net: URL not following some 302 redirects after recent changes] Date: Mon, 25 Dec 2006 18:30:01 -0500 Message-ID: References: <87tzzksp8l.fsf@freemail.hu> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167089457 6039 80.91.229.10 (25 Dec 2006 23:30:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Dec 2006 23:30:57 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 26 00:30:56 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 1GyzHS-0008MT-LK for ged-emacs-devel@m.gmane.org; Tue, 26 Dec 2006 00:30:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GyzHR-0005zu-I1 for ged-emacs-devel@m.gmane.org; Mon, 25 Dec 2006 18:30:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GyzGg-0005ha-MA for emacs-devel@gnu.org; Mon, 25 Dec 2006 18:30:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GyzGg-0005hH-6i for emacs-devel@gnu.org; Mon, 25 Dec 2006 18:30:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GyzGg-0005hB-1l for emacs-devel@gnu.org; Mon, 25 Dec 2006 18:30:06 -0500 Original-Received: from [83.228.183.142] (helo=alfajor.home) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GyzGf-00068u-B2 for emacs-devel@gnu.org; Mon, 25 Dec 2006 18:30:05 -0500 Original-Received: by alfajor.home (Postfix, from userid 20848) id 42BB61CD5C; Mon, 25 Dec 2006 18:30:01 -0500 (EST) Original-To: emacs-devel@gnu.org In-Reply-To: <87tzzksp8l.fsf@freemail.hu> (Magnus Henoch's message of "Mon\, 25 Dec 2006 03\:06\:50 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) 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:64269 Archived-At: >> 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? Or have the sentinel be a function that calls another function (this one stored in a buffer-local var, or in the process-plist), Stefan