GNU bug report logs - #12043
24.1.50; NS: y-or-n-p-with-timeout with GUI hangs

Previous Next

Package: emacs;

Reported by: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Date: Wed, 25 Jul 2012 05:32:01 UTC

Severity: normal

Found in version 24.1.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12043 in the body.
You can then email your comments to 12043 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12043; Package emacs. (Wed, 25 Jul 2012 05:32:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 25 Jul 2012 05:32:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1.50; NS: y-or-n-p-with-timeout with GUI hangs
Date: Wed, 25 Jul 2012 14:25:03 +0900
Steps to reproduce:
  1. $ Emacs.app/Contents/MacOS/Emacs -Q
  2. (let (last-nonmenu-event) (y-or-n-p-with-timeout "foo" 3 'bar)) C-j
  3. Wait 3 seconds. 
  4. Repeat Step 2 and 3 if the dialog is popped down without hanging.

Result:
  It hangs within a few trials.
  Neither pushing buttons in the dialog nor C-g pops it down.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp

In GNU Emacs 24.1.50.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47)
 of 2012-07-25 on yamamoto-no-iMac.local
Bzr revision: 109200 yamaoka <at> jpl.org-20120725032225-t89a214q5zgzlm5y
Windowing system distributor `Apple', version 10.3.1138
Configured using:
 `configure '--with-ns''

Important settings:
  value of $LANG: ja_JP.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t





Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Wed, 25 Jul 2012 17:40:02 GMT) Full text and rfc822 format available.

Notification sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
bug acknowledged by developer. (Wed, 25 Jul 2012 17:40:02 GMT) Full text and rfc822 format available.

Message #10 received at 12043-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 12043-done <at> debbugs.gnu.org
Subject: Re: bug#12043: 24.1.50; NS: y-or-n-p-with-timeout with GUI hangs
Date: Wed, 25 Jul 2012 19:32:58 +0200
Hello.

25 jul 2012 kl. 07:25 skrev YAMAMOTO Mitsuharu:

> Steps to reproduce:
>  1. $ Emacs.app/Contents/MacOS/Emacs -Q
>  2. (let (last-nonmenu-event) (y-or-n-p-with-timeout "foo" 3 'bar)) C-j
>  3. Wait 3 seconds. 
>  4. Repeat Step 2 and 3 if the dialog is popped down without hanging.
> 
> Result:
>  It hangs within a few trials.
>  Neither pushing buttons in the dialog nor C-g pops it down.
> 

I have checked in a fix in trunk.

	Jan D.






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 23 Aug 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.