bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Clément Pit--Claudel
Subject: bug#24962: 26.0.50; list-buffers doesn't show buffers w/ name " "... visiting a file
Date: Fri, 18 Nov 2016 11:48:07 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 2016-11-18 09:31, Eli Zaretskii wrote:
>> From: Tino Calancha <address@hidden>
>> Date: Fri, 18 Nov 2016 20:15:52 +0900 (JST)
>> Cc: Tino Calancha <address@hidden>
>>
>> emacs -Q -eval '(write-region "foo" nil (expand-file-name 
>> temporary-file-directory "foo"))'
>>   M-: (find-file (expand-file-name temporary-file-directory "foo")) RET
>>   M-: (rename-buffer " foo") RET
>>   C-x C-b
>>   ;; Buffer " foo" not listed.
>>
>> >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?

Clément.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]