emacs-devel
[Top][All Lists]
Advanced

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

Re: Mysterious gzipped images


From: Lars Magne Ingebrigtsen
Subject: Re: Mysterious gzipped images
Date: Sun, 18 Aug 2013 19:06:18 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> It's not switch-to-buffer that moves point, it's
> url-http-wait-for-headers-change-function, which is called by
> url-http-generic-filter.  Here's the relevant fragment:
>
>     ;; We are still at the beginning of the buffer... must just be
>     ;; waiting for a response.
>     (url-http-debug "Spinning waiting for headers...")
>     (when (eq process-buffer (current-buffer))
>       (goto-char (point-max)))))  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Ah, good catch.

I wonder why it's doing that even after the process has exited.  It's
calling that after the callback has been called, and the callback will
kill the buffer 99% of the time, so I wonder whether it should check
whether the buffer is live before going to point-max.  But I'm not
familiar enough with that code to say...

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php
  and http://lars.ingebrigtsen.no/2013/08/twenty-years-of-september.html



reply via email to

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