[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reachable killed buffers
From: |
Paul Eggert |
Subject: |
Re: Reachable killed buffers |
Date: |
Wed, 12 Sep 2012 10:55:31 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 |
On 09/12/2012 08:59 AM, Dmitry Antipov wrote:
> - Lisp_Object tail;
> - for (tail = list; CONSP (tail); tail = XCDR (tail))
> + Lisp_Object tail = list;
> + while (CONSP (tail) && !CONS_MARKED_P (XCONS (tail)))
...
...
> + tail = XCDR (tail);
This will keep killed buffers that happen to follow
an item on the list that is already marked for other
reasons. Shouldn't all the killed buffers be discarded?
Also, as a minor style matter, I prefer the form of that
for-loop to the less-clear while loop.
- Re: Reachable killed buffers, (continued)
- Re: Reachable killed buffers, Stefan Monnier, 2012/09/10
- Re: Reachable killed buffers, Dmitry Antipov, 2012/09/11
- Re: Reachable killed buffers, Stefan Monnier, 2012/09/11
- Re: Reachable killed buffers, martin rudalics, 2012/09/12
- Re: Reachable killed buffers, Paul Eggert, 2012/09/12
- Re: Reachable killed buffers, Dmitry Antipov, 2012/09/12
- Re: Reachable killed buffers, Paul Eggert, 2012/09/12
- Re: Reachable killed buffers, martin rudalics, 2012/09/12
- Re: Reachable killed buffers, Dmitry Antipov, 2012/09/12
- Re: Reachable killed buffers, martin rudalics, 2012/09/12
- Re: Reachable killed buffers,
Paul Eggert <=
- Re: Reachable killed buffers, Stefan Monnier, 2012/09/12
- Re: Reachable killed buffers, Paul Eggert, 2012/09/13
- Re: Reachable killed buffers, Dmitry Antipov, 2012/09/13
- Re: Reachable killed buffers, Paul Eggert, 2012/09/13
- Re: Reachable killed buffers, Stefan Monnier, 2012/09/13
- Re: Reachable killed buffers, martin rudalics, 2012/09/13
- Re: Reachable killed buffers, Paul Eggert, 2012/09/13
- Re: Reachable killed buffers, martin rudalics, 2012/09/13
- Re: Reachable killed buffers, Dmitry Antipov, 2012/09/14
- Re: Reachable killed buffers, Stefan Monnier, 2012/09/14