From: "Jan Djärv" <jan.h.d@swipnet.se>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: 9830@debbugs.gnu.org
Subject: bug#9830: 23.3.50; y-or-n-p-with-timeout with GUI leaks memory
Date: Sun, 6 Nov 2011 16:54:52 +0100 [thread overview]
Message-ID: <AA669299-C67E-4F62-BC2A-69AE438C4F7A@swipnet.se> (raw)
In-Reply-To: <wl39e9vob9.wl%mituharu@math.s.chiba-u.ac.jp>
Hello.
31 okt 2011 kl. 04:21 skrev YAMAMOTO Mitsuharu:
>>>>>> 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.
I see you checked in this in the emacs-23 tree. Is that still merged to the trunk?
>
>> 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.
I'm waiting for your fix to show up in the trunk before fixing this. I don't think it makes sense to use the emacs-23 tree anymore.
Jan D.
next prev parent reply other threads:[~2011-11-06 15:54 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
2011-11-06 15:54 ` Jan Djärv [this message]
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=AA669299-C67E-4F62-BC2A-69AE438C4F7A@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=9830@debbugs.gnu.org \
--cc=mituharu@math.s.chiba-u.ac.jp \
/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.