emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: HTTP redirects make url-retrieve-synchronously asynchronous


From: Mark Plaksin
Subject: Re: Fwd: HTTP redirects make url-retrieve-synchronously asynchronous
Date: Sun, 19 Feb 2006 15:15:18 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.51 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>> 2. sometimes the callback gets called in another buffer than the one
>>> returned by url-retrieve.
>
>>> One solution would be to give the first buffer a local variable that
>>> would, in this case, point to the second buffer.
>>> Then url-retrieve-synchronously could check the local variable, which
>>> would tell it to check the process in the other buffer.
>
>> Yes, sounds like a good quick-fix.
>
> The patch below uses this approach.  Mark, does it work well for you?

It does; thanks!  Are applications supposed to be aware of the possibility
of redirect buffers and clean up both the original buffer and the redirect
buffer?  You could easily say "It's a work around, so yes!" :)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]