[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: URL not following some 302 redirects after recent changes
From: |
David Kastrup |
Subject: |
Re: URL not following some 302 redirects after recent changes |
Date: |
Fri, 02 Feb 2007 16:45:34 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> 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