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: `with-output-to-string' leaks buffers Date: Mon, 22 Sep 2008 20:27:11 -0400 Message-ID: References: <878wtnlqly.fsf@elegiac.orebokech.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222129657 32447 80.91.229.12 (23 Sep 2008 00:27:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2008 00:27:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 23 02:28:34 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KhvlP-0005aN-Jc for ged-emacs-devel@m.gmane.org; Tue, 23 Sep 2008 02:28:23 +0200 Original-Received: from localhost ([127.0.0.1]:39987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhvkN-0000rF-My for ged-emacs-devel@m.gmane.org; Mon, 22 Sep 2008 20:27:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhvkK-0000r2-55 for emacs-devel@gnu.org; Mon, 22 Sep 2008 20:27:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhvkH-0000qq-Oh for emacs-devel@gnu.org; Mon, 22 Sep 2008 20:27:14 -0400 Original-Received: from [199.232.76.173] (port=58516 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhvkH-0000qn-Ir for emacs-devel@gnu.org; Mon, 22 Sep 2008 20:27:13 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:6719 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KhvkH-0004mV-Eg for emacs-devel@gnu.org; Mon, 22 Sep 2008 20:27:13 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqEEALLU10jO+KDT/2dsb2JhbACBXbUNgWaBBA X-IronPort-AV: E=Sophos;i="4.32,449,1217822400"; d="scan'208";a="27257654" Original-Received: from 206-248-160-211.dsl.teksavvy.com (HELO ceviche.home) ([206.248.160.211]) by ironport2-out.teksavvy.com with ESMTP; 22 Sep 2008 20:27:12 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 0605BB40EC; Mon, 22 Sep 2008 20:27:12 -0400 (EDT) In-Reply-To: <878wtnlqly.fsf@elegiac.orebokech.com> (Romain Francoise's message of "Sat, 20 Sep 2008 00:26:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104049 Archived-At: > Shouldn't `with-output-to-string' reap the temporary buffer it > creates even if the code it wraps exits nonlocally? I'd think so, yes. Could you check the users to see if you find any suspicious use-case? Stefan