From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#390: 23.0.60; killed buffer in list from function buffer-list?
Date: Wed, 11 Jun 2008 23:26:28 +0200 [thread overview]
Message-ID: <48504304.5030502@gmail.com> (raw)
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
next reply other threads:[~2008-06-11 21:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-11 21:26 Lennart Borgman (gmail) [this message]
2008-06-12 1:04 ` bug#390: 23.0.60; killed buffer in list from function buffer-list? Stefan Monnier
2008-06-12 1:19 ` Lennart Borgman (gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48504304.5030502@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=390@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).