[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24962: 26.0.50; list-buffers doesn't show buffers w/ name " "... vis
From: |
Eli Zaretskii |
Subject: |
bug#24962: 26.0.50; list-buffers doesn't show buffers w/ name " "... visiting a file |
Date: |
Fri, 18 Nov 2016 19:09:44 +0200 |
> From: Clément Pit--Claudel <clement.pit@gmail.com>
> Date: Fri, 18 Nov 2016 11:48:07 -0500
>
> >> >From the Emacs manual:
> >> doc/lispref/buffers.texi (Buffer Names):
> >> Buffers that are ephemeral and generally uninteresting to the user
> >> have names starting with a space, so that the @code{list-buffers} and
> >> @code{buffer-menu} commands don't mention them (but if such a buffer
> >> visits a file, it @strong{is} mentioned).
> >
> > Thank. Please add a test for this to the test suite.
>
> Could we fix the manual instead? Or do we have evidence that all modes that
> use temporary buffers visiting files set buffer-file-name to nil to prevent
> these buffers from being listed?
I'm not sure what use case you have in mind. Usually, temporary
buffers don't visit files, those files are inserted into temporary
buffers without affecting buffer-file-name. But maybe you are talking
about some scenario I'm missing.