I, <alexander(a)reinwarth.de> wrote:
To test it, I fired up a fresh XEmacs[2] via xemacs -vanilla and
evaluated
the above (defmacro ...).
Now I used the following code to open 10 temporary buffers with the
new `with-output-to-string' and count the survivors.
(progn
(let ((i 0))
(while (< i 10)
(shell-command-to-string "ls")
(setq i ( + i 1))))
(let ((i 0)
(buffers (buffer-list)))
(while buffers
(if (string-match "string-output" (buffer-name(car buffers)))
(setq i (+ i 1)))
(setq buffers (cdr buffers)))
i))
For me this evaluates to ten, none of the temporary buffers had been
duly killed in the process.
Would someone please tell me, that this works for him, so that I can
search for a bug in my local setup?
Ouch.
I forgot to get the .elc-files out of the way. I have corrected
this, but now ten directory listings are neatly inserted into the
buffer.
Anyone seeing this, too?
Alexander
--
To boldly frobnicate what no newbie has grokked before. -
http://my.gnus.org