unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35755: auto-revert-buffers can cause error "Selecting deleted buffer"
@ 2019-05-15 20:06 Paul Pogonyshev
  2019-05-16  6:45 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Pogonyshev @ 2019-05-15 20:06 UTC (permalink / raw)
  To: 35755

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 747 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35755: auto-revert-buffers can cause error "Selecting deleted buffer"
  2019-05-15 20:06 bug#35755: auto-revert-buffers can cause error "Selecting deleted buffer" Paul Pogonyshev
@ 2019-05-16  6:45 ` Michael Albinus
  2019-05-16 12:52   ` Paul Pogonyshev
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2019-05-16  6:45 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 35755

Paul Pogonyshev <pogonyshev@gmail.com> 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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35755: auto-revert-buffers can cause error "Selecting deleted buffer"
  2019-05-16  6:45 ` Michael Albinus
@ 2019-05-16 12:52   ` Paul Pogonyshev
  2019-05-16 13:20     ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Pogonyshev @ 2019-05-16 12:52 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 35755

[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]

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 <michael.albinus@gmx.de>
wrote:

> Paul Pogonyshev <pogonyshev@gmail.com> 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.
>

[-- Attachment #2: Type: text/html, Size: 1620 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35755: auto-revert-buffers can cause error "Selecting deleted buffer"
  2019-05-16 12:52   ` Paul Pogonyshev
@ 2019-05-16 13:20     ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2019-05-16 13:20 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 35755

Paul Pogonyshev <pogonyshev@gmail.com> writes:

Hi Paul,

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

No problem, I'm merging this bug with bug#34847.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-16 13:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-15 20:06 bug#35755: auto-revert-buffers can cause error "Selecting deleted buffer" Paul Pogonyshev
2019-05-16  6:45 ` Michael Albinus
2019-05-16 12:52   ` Paul Pogonyshev
2019-05-16 13:20     ` Michael Albinus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).