From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109890: Do not mark objects from deleted buffers, windows and frames. Date: Thu, 06 Sep 2012 13:33:37 -0400 Message-ID: References: <504848D0.4020908@yandex.ru> <5048B643.1090404@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346952833 17438 80.91.229.3 (6 Sep 2012 17:33:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2012 17:33:53 +0000 (UTC) Cc: Dmitry Antipov , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 19:33:52 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 1T9fxf-0000Gi-8B for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2012 19:33:51 +0200 Original-Received: from localhost ([::1]:40825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9fxc-0002na-6P for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2012 13:33:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9fxV-0002nA-Mu for emacs-devel@gnu.org; Thu, 06 Sep 2012 13:33:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9fxU-00016P-Oi for emacs-devel@gnu.org; Thu, 06 Sep 2012 13:33:41 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:17548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9fxU-00016K-Kl for emacs-devel@gnu.org; Thu, 06 Sep 2012 13:33:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FpYew/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNAcLFBgNJIgcBboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="197718926" Original-Received: from 69-165-135-176.dsl.teksavvy.com (HELO pastel.home) ([69.165.135.176]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Sep 2012 13:33:38 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E408658B33; Thu, 6 Sep 2012 13:33:37 -0400 (EDT) In-Reply-To: <5048B643.1090404@gmx.at> (martin rudalics's message of "Thu, 06 Sep 2012 16:42:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:153122 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. Stefan