From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#9168: 24.0.50; x-popup-dialog can freeze Emacs on OS X Date: Mon, 25 Jul 2011 23:55:14 +0200 Message-ID: <4E2DE642.90603@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311630980 32167 80.91.229.12 (25 Jul 2011 21:56:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2011 21:56:20 +0000 (UTC) Cc: 9168-done@debbugs.gnu.org To: Ivan Andrus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 25 23:56:15 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 1QlT8I-0003QL-R2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Jul 2011 23:56:15 +0200 Original-Received: from localhost ([::1]:36608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlT8I-00026z-C5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Jul 2011 17:56:14 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlT89-0001fB-B3 for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2011 17:56:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlT87-0000HJ-EI for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2011 17:56:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlT87-0000H1-4V for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2011 17:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QlT86-0005PM-Ny for bug-gnu-emacs@gnu.org; Mon, 25 Jul 2011 17:56:02 -0400 Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Jul 2011 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 9168 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 9168@debbugs.gnu.org, jan.h.d@swipnet.se Original-Received: via spool by 9168-done@debbugs.gnu.org id=D9168.131163092620732 (code D ref 9168); Mon, 25 Jul 2011 21:56:02 +0000 Original-Received: (at 9168-done) by debbugs.gnu.org; 25 Jul 2011 21:55:26 +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 1QlT7U-0005OL-GL for submit@debbugs.gnu.org; Mon, 25 Jul 2011 17:55:24 -0400 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QlT7S-0005O4-2q for 9168-done@debbugs.gnu.org; Mon, 25 Jul 2011 17:55:23 -0400 Original-Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id C7A6AE9AEB for <9168-done@debbugs.gnu.org>; Mon, 25 Jul 2011 23:55:15 +0200 (CEST) X-SENDER-IP: [85.225.45.26] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtFiACHlLU5V4S0aPGdsb2JhbAA0AQEFPiIVAQ8RDA4TGRgPAgMeDQsbBw4BDgEBG4h6nj0LAQEBATcyiH7BAYNDgnwEl3eLWw X-IronPort-AV: E=Sophos;i="4.67,265,1309730400"; d="scan'208";a="31471066" Original-Received: from c-1a2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.26]) by ipb3.telenor.se with ESMTP; 25 Jul 2011 23:55:15 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id C04207FA059; Mon, 25 Jul 2011 23:55:14 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 25 Jul 2011 17:56:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:49607 Archived-At: Hello. I checked in a fix so x-popup-dialog behaves the same as the X11 versions of Emacs, i.e.: (x-popup-dialog t "hi") throws an error, and if no buttons have been specified, as in (x-popup-dialog t '("hi")), an "Ok" button is shown. Jan D. Ivan Andrus skrev 2011-07-25 16:37: > From emacs -Q evaluating: > > (x-popup-dialog t "hi") > > will bring up a dialog with no way to dismiss it and no way to close it. I have to force quit Emacs. I can only test it on OS X right now. > > I realize this is not the proper way to invoke x-popup-dialog, but something similar seems to be the cause of a problem that just happened to me in Customize. I cannot reproduce it now, but ns_popup_dialog was in the gdb backtrace (which I foolishly didn't save), so I tried just running x-popup-dialog before reading the docstring and ran across this. In the problem that I saw from inside customize I did not see a dialog at all, but the other symptoms were the same, so it may be that the dialog was displayed off screen where I simply couldn't dismiss it. > > > > If Emacs crashed, and you have the Emacs process in the gdb debugger, > please include the output from the following gdb commands: > `bt full' and `xbacktrace'. > For information about debugging Emacs, please read the file > /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/etc/DEBUG. > > > In GNU Emacs 24.0.50.6 (i386-apple-darwin10.8.0, NS apple-appkit-1038.36) > of 2011-07-25 on oroszlan.local > Windowing system distributor `Apple', version 10.3.1038 > configured using `configure '--with-ns'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: nil > value of $XMODIFIERS: nil > locale-coding-system: nil > default enable-multibyte-characters: t > > Major mode: Lisp Interaction > > Minor modes in effect: > highlight-parentheses-mode: t > highlight-symbol-mode: t > hi-lock-mode: t > drag-stuff-global-mode: t > drag-stuff-mode: t > eldoc-mode: t > hl-sexp-mode: t > which-function-mode: t > show-paren-mode: t > recentf-mode: t > msb-mode: t > ido-everywhere: t > global-hl-line-mode: t > delete-selection-mode: t > auto-image-file-mode: t > auto-insert-mode: t > yas/global-mode: t > global-visible-mark-mode: t > visible-mark-mode: t > gvol-mode: t > desktop-save-mode: t > command-frequency-autosave-mode: t > command-frequency-mode: t > itunes-mode: t > 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 > column-number-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > y M-x e m a c s r e > C-g M-x r e p o r > > Recent messages: > Making completion list... > Desktop lazily opening results.gap (5 remaining)... > tex now compiling remotely > tex now compiling locally > Current project is tex > iTunes not running > Desktop lazily opening results.gap (5 remaining)...done > Desktop lazily opening trac.org (4 remaining)... > iTunes not running > Desktop lazily opening trac.org (4 remaining)...done > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr message rfc822 mml mml-sec mm-decode mm-bodies > mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev > mail-utils gmm-utils mailheader subword emacsbug gvol-light-theme > sage-mode compile ansi-color python-21 python gap-mode gap-process > highlight-parentheses highlight-symbol hi-lock drag-stuff eldoc hl-sexp > thingatpt greedy-delete vc-hg reveal org-habit org-wl org-w3m org-vm > org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp > ob-exp org-exp-blocks org-info org-gnus org-docview org-bibtex org-bbdb > org-agenda ob-python org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table > org-footnote org-src ob-comint comint ring ob-keys ob ob-eval > org-complete pcomplete org-list org-faces org-compat org-entities > org-macs noutline outline auctex-autoloads tex-site info > drag-stuff-autoloads highlight-parentheses-autoloads > highlight-symbol-autoloads speck-autoloads xml-rpc-autoloads package > tabulated-list saveplace uniquify jka-compr which-func imenu paren > recentf tree-widget wid-edit msb ido icomplete hl-line delsel image-file > cus-start cus-load diary-lib diary-loaddefs cal-menu calendar > cal-loaddefs warnings autoinsert yasnippet dropdown-list derived edmacro > kmacro help-mode view tramp tramp-compat auth-source eieio byte-opt > bytecomp byte-compile cconv macroexp gnus-util mm-util mail-prsvr > password-cache format-spec tramp-loaddefs visible-mark parenface fold cl > xml desktop browse-kill-ring backtr command-frequency uptimes pp server > easy-mmode assoc dired+ dired-x easymenu ediff-merg ediff-diff > ediff-wind ediff-mult ediff-help ediff-init ediff-util dired-aux dired > regexp-opt advice help-fns advice-preload windmove time-date tooltip > ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset > image fringe lisp-mode register page menu-bar rfn-eshadow timer select > scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham > georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese hebrew greek romanian slovak czech european ethiopic > indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple > abbrev minibuffer loaddefs button faces cus-face files text-properties > overlay sha1 md5 base64 format env code-pages mule custom widget > hashtable-print-readable backquote make-network-process ns multi-tty > emacs) > >