all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Fix for bug #39344 (Gnus selecting deleted buffer) incomplete.
@ 2020-01-29 17:00 Karl Fogel
  2020-01-29 17:11 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Karl Fogel @ 2020-01-29 17:00 UTC (permalink / raw)
  To: Emacs Devel

Hi.  I just encountered bug#39344 today (get a "Selecting deleted buffer" error when quitting Gnus).  While I was debugging it, coming to the exact same initial workaround that Steve Berman came to in the bug ticket, Sam Steingold committed this intended fix:

  commit bb3b0990d8505342ae14841144778df9e650ebdc
  Commit:     Sam Steingold <sds@gnu.org>
  CommitDate: Wed Jan 29 11:17:50 2020 -0500
  
      fix bug#39344
      
      * gnus.el (gnus-add-buffer): Use `cl-pushnew' instead of `push' to
        avoid duplicate entries.

I recompiled to get Sam's fix, but the bug is still present.  

After some debugging, I still don't know why the bug remains, though I've learned a lot about Gnus buffer management, so that's nice.  My guess is that this problem is related to earlier commit 5ee3c37634f, in which many functions in Gnus were changed to use `gnus-get-buffer-create' and thus now store the created buffer in in `gnus-buffers'.  I did wonder about the fact that `gnus-buffers' is both a variable and a function (with only the latter pruning out the killed buffers) -- that seems like it could a potential confusion source and/or bug source in general, but I don't know if it has anything to do with the current bug.

Anyway, before I go deeper, Sam, I thought I'd post this in case your fix is working for you and you didn't realize that it isn't working for someone else.  If you can't reproduce the problem anymore after commit bb3b0990d, then I will continue to debug.  However, if you can reproduce it, then I'll assume you are working on it (and you surely would do so much more efficiently then I would).

Best regards,
-Karl



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

end of thread, other threads:[~2020-01-29 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-29 17:00 Fix for bug #39344 (Gnus selecting deleted buffer) incomplete Karl Fogel
2020-01-29 17:11 ` Andreas Schwab
2020-01-29 17:57   ` Karl Fogel

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.