Subject: generate-new-buffer-name could be more efficient

From: Glenn Morris <[email-masked]>
Date: Thu, 23 Oct 2008 02:58:49 -0400

Package: emacs
Severity: wishlist
Version: 23.0.60

As mentioned in bug#122, generate-new-buffer-name could be more
efficient for invisible buffers:

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=122#182

    Oh, yes, of course. When generate-new-buffer-name is called for a
    user-visible buffer, fixing this would be probably too much
    trouble for too little benefit. But for internal buffers, whose
    precise name doesn't actually matter, we should use a different
    strategy, where we immediately start by adding a random suffix to
    the buffer name, so as to avoid conflicts.