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: martin rudalics
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:52:54 +0200

>> Do you really do that?  Currently, the window must be valid for that
>> purpose.  So some of your code must be broken.
>
> I definitely remember doing that for processes and see no reason why the
> same reasons wouldn't push me to do the same for other objects.
> Of course, if needed I could work around this by using a hash table
> with weak keys, but it would be better to make (frame|window)-parameters
> work rather than force people to re-invent them differently.

As Chong remarked earlier, functions like `window-absolute-pixel-edges'
could crash when invoked on dead windows.  So we should look into
whether and where we want to allow functions to operate on dead windows
in order to maintain some consistency.

martin



reply via email to

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