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

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).