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: Reachable killed buffers Date: Fri, 14 Sep 2012 09:29:53 -0400 Message-ID: References: <5049C400.8070400@gmx.at> <504DB6DD.9030002@yandex.ru> <504E042E.5040100@yandex.ru> <504ECB49.4050509@yandex.ru> <50504349.7090603@gmx.at> <50509262.1070601@cs.ucla.edu> <50509533.9000502@yandex.ru> <50509698.5060108@cs.ucla.edu> <505098FB.1020801@gmx.at> <5050B151.2020304@yandex.ru> <5050CC93.3010506@cs.ucla.edu> <5051645B.9070308@cs.ucla.edu> <50520EA7.7060707@gmx.at> <505213DF.8050300@cs.ucla.edu> <50521839.9060605@gmx.at> <50531EB3.5030604@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347629416 5895 80.91.229.3 (14 Sep 2012 13:30:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2012 13:30:16 +0000 (UTC) Cc: martin rudalics , Paul Eggert , emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 14 15:30:17 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 1TCVyF-0004AE-P6 for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2012 15:30:11 +0200 Original-Received: from localhost ([::1]:56776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCVy9-00080T-5Z for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2012 09:30:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCVy4-0007yb-Tt for emacs-devel@gnu.org; Fri, 14 Sep 2012 09:30:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCVxz-0005ki-01 for emacs-devel@gnu.org; Fri, 14 Sep 2012 09:30:00 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:36131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCVxy-0005kX-RL for emacs-devel@gnu.org; Fri, 14 Sep 2012 09:29:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxLT7/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLDiYSFBgNJC6HbgW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="198330546" Original-Received: from 69-196-180-251.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.251]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 14 Sep 2012 09:29:53 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 6352A5944B; Fri, 14 Sep 2012 09:29:53 -0400 (EDT) In-Reply-To: <50531EB3.5030604@yandex.ru> (Dmitry Antipov's message of "Fri, 14 Sep 2012 16:10:27 +0400") 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:153296 Archived-At: > 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: I don't think this issue deserves that much effort. I think the original behavior (of keeping some buffers longer than needed) wasn't that terrible and the current behavior (of sometimes removing deleted buffers but not always) is fine as well, I suspect that in practice those lists are pretty much never reachable from elsewhere, so the "risk" of not removing all deleted buffers is very low. I.e. let's keep the current code and move on to more useful issues, Stefan