From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel 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 Message-ID: <5049C3F6.3060409@gmx.at> References: <504848D0.4020908@yandex.ru> <5048B643.1090404@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347011572 14453 80.91.229.3 (7 Sep 2012 09:52:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2012 09:52:52 +0000 (UTC) Cc: Dmitry Antipov , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 11:52:54 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T9vF7-0002ai-O4 for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2012 11:52:53 +0200 Original-Received: from localhost ([::1]:41492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9vF4-0002rN-Nx for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2012 05:52:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9vEx-0002r4-FX for emacs-devel@gnu.org; Fri, 07 Sep 2012 05:52:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9vEr-0000Sy-RG for emacs-devel@gnu.org; Fri, 07 Sep 2012 05:52:43 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:34702) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1T9vEr-0000St-Gq for emacs-devel@gnu.org; Fri, 07 Sep 2012 05:52:37 -0400 Original-Received: (qmail invoked by alias); 07 Sep 2012 09:52:36 -0000 Original-Received: from 62-47-56-101.adsl.highway.telekom.at (EHLO [62.47.56.101]) [62.47.56.101] by mail.gmx.net (mp069) with SMTP; 07 Sep 2012 11:52:36 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19b8QB3ExhbPbDiHKKxx4s74Kqk9aPEOsc0VD8FNs gY6XeMRJgTI3g1 In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153141 Archived-At: >> 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