The following loop hangs my emacs (even when called with -q) to the point that I have to force quit it.
(let ((buffs (buffer-list)))
(while buffs
(delq (car buffs) buffs)
(print (cadr buffs))))
I don't understand why this should happen, but is there something I can do to recover from a hanging Emacs?