emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109890: Do not mark objects from


From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109890: Do not mark objects from deleted buffers, windows and frames.
Date: Fri, 07 Sep 2012 11:19:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> I don't know of an easy way to get a dead window's identity from a
> stored window configuration.

You mean for Elisp to get it?  No, you can't, but that was not the
question.  The question was how the GC can get it, which is easy, it's
in the `window' slot of the `saved_window' struct:

   /* This is saved as a Lisp_Vector.  */
   struct saved_window
   {
     struct vectorlike_header header;
   
     Lisp_Object window, buffer, start, pointm, mark;
     Lisp_Object left_col, top_line, total_cols, total_lines;
   ...


-- Stefan



reply via email to

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