From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#9830: 23.3.50; y-or-n-p-with-timeout with GUI leaks memory Date: Mon, 31 Oct 2011 12:21:14 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <6C4E53F1-E6F7-40AF-A28B-8A169EB28B0C@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1320031337 28207 80.91.229.12 (31 Oct 2011 03:22:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Oct 2011 03:22:17 +0000 (UTC) To: 9830-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 31 04:22:13 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RKiRx-0005GN-Jb for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Oct 2011 04:22:13 +0100 Original-Received: from localhost ([::1]:45873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKiRx-0000uI-1c for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Oct 2011 23:22:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKiRf-0000GN-BX for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 23:21:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKiRd-0007Tm-MJ for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 23:21:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKiRd-0007Tf-H1 for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 23:21:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RKiTi-0005qH-DC for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2011 23:24:02 -0400 Resent-From: YAMAMOTO Mitsuharu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Oct 2011 03:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 9830 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 9830@debbugs.gnu.org, mituharu@math.s.chiba-u.ac.jp Original-Received: via spool by 9830-done@debbugs.gnu.org id=D9830.132003141122417 (code D ref 9830); Mon, 31 Oct 2011 03:24:02 +0000 Original-Received: (at 9830-done) by debbugs.gnu.org; 31 Oct 2011 03:23:31 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKiTC-0005pW-S1 for submit@debbugs.gnu.org; Sun, 30 Oct 2011 23:23:31 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKiT9-0005pM-3X for 9830-done@debbugs.gnu.org; Sun, 30 Oct 2011 23:23:28 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 7E3C2C0560 for <9830-done@debbugs.gnu.org>; Mon, 31 Oct 2011 12:21:14 +0900 (JST) In-Reply-To: <6C4E53F1-E6F7-40AF-A28B-8A169EB28B0C@swipnet.se> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?UTF-8?Q?Shij=C5=8D?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 30 Oct 2011 23:24:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53335 Archived-At: >>>>> On Sun, 30 Oct 2011 18:41:40 +0100, Jan Dj=E4rv = said: >> The patch below uses record_unwind_protect as usual for avoiding >> this memory leak. I think xmenu_show has the same problem. I'm >> not sure about the W32 case. >>=20 > You are correct. Can you install the patch? Done. > As for xmenu_show, is there a case where a menu can be interrupted > like this? Yes. For example, (with-timeout (3 'default) (x-popup-menu t '("Title" ("foo" "nonselectable")))) Actually, y-or-n-p-with-timeout is implemented using with-timeout. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp