all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#390: 23.0.60; killed buffer in list from function buffer-list?
@ 2008-06-11 21:26 Lennart Borgman (gmail)
  2008-06-12  1:04 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2008-06-11 21:26 UTC (permalink / raw)
  To: emacs-pretest-bug

I sometimes get a killed buffer in the list returned from (buffer-list ...):

Result: (#<buffer *Messages*> #<buffer buff-menu.el> #<buffer ido.el> 
#<buffer buffer.c> #<buffer  *Minibuf-1*> #<killed buffer> #<buffer 
*grep*> #<buffer nt> #<buffer lib-src> #<buffer *GNU Emacs*> #<buffer 
*scratch*> #<buffer  *Minibuf-0*> #<buffer  *code-conversion-work*> 
#<buffer  *Echo Area 0*> #<buffer  *Echo Area 1*> #<buffer 
*ex-working-space*> #<buffer  *ex-print*> #<buffer  *server*> #<buffer 
*Buffer List*> #<buffer *Completions*> #<buffer *Ediff Registry*> 
#<buffer *Help*> #<buffer  *DOC*> #<buffer  *viper-ask-level*>)

This happen in list-buffers-noselect.

       (dolist (buffer (or buffer-list
			  (buffer-list
			   (when Buffer-menu-use-frame-buffer-list
			     (selected-frame)))))

where Buffer-menu-use-frame-buffer-list is t.

Testing it further I found that buffer-live-p with the buffer #<killed 
buffer> as an argument returns nil.

Unfortunately this is in my patched version of Emacs. I have no patches 
in src/buffer.c (which of course does not mean that my patches could not 
be involved).

The doc string for buffer-list says "Return a list of all live buffers".

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
  of 2008-06-10 on LENNART-69DE564






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

end of thread, other threads:[~2008-06-12  1:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-11 21:26 bug#390: 23.0.60; killed buffer in list from function buffer-list? Lennart Borgman (gmail)
2008-06-12  1:04 ` Stefan Monnier
2008-06-12  1:19   ` Lennart Borgman (gmail)

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.