emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Re: Should (buffer-list) ever return killed buffers?


From: Sergey Organov
Subject: Re: [PATCH] Re: Should (buffer-list) ever return killed buffers?
Date: Mon, 24 May 2021 21:09:37 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Sergey Organov <sorganov@gmail.com>
>> Cc: martin rudalics <rudalics@gmx.at>,  cpitclaudel@gmail.com,
>>   monnier@iro.umontreal.ca,  emacs-devel@gnu.org
>> Date: Mon, 24 May 2021 18:32:18 +0300
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > Then why not use buffer-live-p?
>> 
>> Cause aref is choking on bufname being nil, I think. What if
>> representation of killed buffers change?
>
> Whatever the representation of killed buffers, a buffer with a name of
> nil will never be alive.

Is there a fundamental law that prohibits this? ;-)

That said, I believe you guys know better how to handle this, I just
provided raw approximation for the fix, for convenience.

Thanks,
-- Sergey Organov



reply via email to

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