From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: 9830-done@debbugs.gnu.org
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 [thread overview]
Message-ID: <wl39e9vob9.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <6C4E53F1-E6F7-40AF-A28B-8A169EB28B0C@swipnet.se>
>>>>> On Sun, 30 Oct 2011 18:41:40 +0100, Jan Djärv <jan.h.d@swipnet.se> 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.
>>
> 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
next prev parent reply other threads:[~2011-10-31 3:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-22 4:35 bug#9830: 23.3.50; y-or-n-p-with-timeout with GUI leaks memory YAMAMOTO Mitsuharu
2011-10-30 17:41 ` Jan Djärv
2011-10-31 3:21 ` YAMAMOTO Mitsuharu [this message]
2011-11-06 15:54 ` Jan Djärv
2011-11-06 23:39 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wl39e9vob9.wl%mituharu@math.s.chiba-u.ac.jp \
--to=mituharu@math.s.chiba-u.ac.jp \
--cc=9830-done@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.