[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reachable killed buffers
From: |
Dmitry Antipov |
Subject: |
Re: Reachable killed buffers |
Date: |
Fri, 14 Sep 2012 16:10:27 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
Since our discussion shows that there is no solid and bullet-proof
solution for killed buffers problem (IMHO), I would like to propose
an alternate (less effective, but safe) solution: when the window
dies, it's prev_buffers and next_buffers are set to nil, but both
buffer lists are saved in struct saved_window just for the sake of
possible resurrection. Martin said that the most of window-configuration
objects are created with 'save-window-excursion' and so they're
short-lived objects which tends to not survive next GC. So, if
deleted window isn't recorded in window-configuration object or
such an object dies quickly, we're lucky; otherwise, the only thing
we can do is to hope that recorded window will be resurrected and
Lisp code from window.el will take care about the contents of
it's buffer lists.
Dmitry
kill_window.patch
Description: Text document
- Re: Reachable killed buffers, (continued)
- Re: Reachable killed buffers, martin rudalics, 2012/09/12
- Re: Reachable killed buffers, Paul Eggert, 2012/09/12
- 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 <=
- Re: Reachable killed buffers, Stefan Monnier, 2012/09/14
- Re: Reachable killed buffers, martin rudalics, 2012/09/14
- Re: Reachable killed buffers, Dmitry Antipov, 2012/09/13
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109890: Do not mark objects from deleted buffers, windows and frames., martin rudalics, 2012/09/06