From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: URL not following some 302 redirects after recent changes Date: Fri, 02 Feb 2007 16:45:34 +0100 Message-ID: <86bqkcsgv5.fsf@lola.quinscape.zz> References: <871wnw2opm.fsf@x3y2z1.net> <87tzy7wbsj.fsf@x3y2z1.net> <87bqkek9s7.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170431172 10697 80.91.229.12 (2 Feb 2007 15:46:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Feb 2007 15:46:12 +0000 (UTC) Cc: Chong Yidong , mange@freemail.hu, rms@gnu.org, disumu@x3y2z1.net, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 02 16:46:03 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HD0bv-0001tN-BA for ged-emacs-devel@m.gmane.org; Fri, 02 Feb 2007 16:45:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HD0bu-0007Za-S5 for ged-emacs-devel@m.gmane.org; Fri, 02 Feb 2007 10:45:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HD0bj-0007WW-4y for emacs-devel@gnu.org; Fri, 02 Feb 2007 10:45:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HD0bf-0007WI-Tp for emacs-devel@gnu.org; Fri, 02 Feb 2007 10:45:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HD0bf-0007WF-Nx for emacs-devel@gnu.org; Fri, 02 Feb 2007 10:45:43 -0500 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HD0bf-0003Jf-3m for emacs-devel@gnu.org; Fri, 02 Feb 2007 10:45:43 -0500 Original-Received: from quinscape.de (pd95b0fdb.dip0.t-ipconnect.de [217.91.15.219]) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id QAA24510 for ; Fri, 2 Feb 2007 16:45:34 +0100 X-Delivered-To: Original-Received: (qmail 3437 invoked from network); 2 Feb 2007 15:45:40 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 2 Feb 2007 15:45:40 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id B2A40C2AB3; Fri, 2 Feb 2007 16:45:34 +0100 (CET) In-Reply-To: (Stefan Monnier's message of "Fri\, 02 Feb 2007 10\:37\:41 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:65773 Archived-At: Stefan Monnier writes: >> Here's one idea. Instead of setting the sentinel temporarily to nil, >> set it temporarily to `sentinel-temporarily-inhibited'. That would be >> ignored just as nil is ignored. > >> On restoring the sentinel, if its current value isn't >> `sentinel-temporarily-inhibited', just discard the old value instead >> of restoring it. > > Why can't we do the same thing with nil? If people are allowed to reseat the sentinel to arbitrary functions in the sentinel, they would be surprised to find out that they can't equally well clear it. Instead of using `sentinel-temporarily-inhibited' I'd probably prefer `ignore'. We have similar behavior for filter functions. -- David Kastrup