* 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
* bug#390: 23.0.60; killed buffer in list from function buffer-list?
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)
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2008-06-12 1:04 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: emacs-pretest-bug, 390
> I sometimes get a killed buffer in the list returned from (buffer-list ...):
That'd be a bug. [ Of course, it may also happen that the buffer dies
between the call to buffer-list and the printing of the result, if you
do something like a sit-for or read between the two. ]
But without some kind of recipe to reproduce it, it's going to be
difficult to track it down.
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#390: 23.0.60; killed buffer in list from function buffer-list?
2008-06-12 1:04 ` Stefan Monnier
@ 2008-06-12 1:19 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2008-06-12 1:19 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-pretest-bug, 390
Stefan Monnier wrote:
>> I sometimes get a killed buffer in the list returned from (buffer-list ...):
>
> That'd be a bug. [ Of course, it may also happen that the buffer dies
> between the call to buffer-list and the printing of the result, if you
> do something like a sit-for or read between the two. ]
>
> But without some kind of recipe to reproduce it, it's going to be
> difficult to track it down.
I have no recipe - yet.
All I can say is that it happens and that it is about the list returned
for one frame. If I open a new frame buffer-list works ok there.
^ 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.