Subject: Re: bug#35755: auto-revert-buffers can cause error "Selecting deleted buffer"

From: Paul Pogonyshev <[email-masked]>
Date: Thu, 16 May 2019 14:52:48 +0200

Yes, it got fixed recently (I had a 'master' snapshot from a couple of
months back). Sorry for the duplicate.

On Thu, 16 May 2019 at 08:45, Michael Albinus <[email-masked]>
wrote:

> Paul Pogonyshev <[email-masked]> writes:
>
> Hi Paul,
>
> > To reproduce:
> >
> >     (with-temp-buffer
> >       (auto-revert-mode)
> >       (kill-buffer (current-buffer))
> >       (auto-revert-buffers))
> >
> > The function is usually called from a timer, which means that if a
> > killed buffer somehow ends in `auto-revert-buffer-list', Emacs becomes
> > nearly unusable, because it spams with this error message non-stop.
> >
> > I don't know how exactly a killed buffer can end there, but it has
> > happened to me several times already, probably after extensive C-g
> > use.
> >
> > `auto-revert-buffers' must be fixed to never select killed buffers.
>
> This looks like bug#34847, which is fixed in Emacs 27.0.50. Which Emacs
> version are you using? If it isn't 27.0.50, do you have a chance to run
> it, in order to check whether the bug is fixed for you?
>
> Thanks, and best regards, Michael.
>