On 2016-11-18 12:09, Eli Zaretskii wrote: >> From: Clément Pit--Claudel >> 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. Just a vague worry; no special scenario.