From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shiyuan Newsgroups: gmane.emacs.help Subject: Re: Graphical popup dialog issue on Mac. Date: Sun, 8 Jun 2014 10:57:02 -0700 Message-ID: References: <20140608.180038.311932254.tkk@misasa.okayama-u.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1402250248 14612 80.91.229.3 (8 Jun 2014 17:57:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Jun 2014 17:57:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Tak Kunihiro Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 08 19:57:23 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WthLN-0004rp-OX for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jun 2014 19:57:21 +0200 Original-Received: from localhost ([::1]:57261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WthLL-0001iU-Dk for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jun 2014 13:57:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WthLA-0001iP-MY for help-gnu-emacs@gnu.org; Sun, 08 Jun 2014 13:57:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WthL5-0006er-Ps for help-gnu-emacs@gnu.org; Sun, 08 Jun 2014 13:57:08 -0400 Original-Received: from mail-ve0-x236.google.com ([2607:f8b0:400c:c01::236]:61918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WthL5-0006eW-JN for help-gnu-emacs@gnu.org; Sun, 08 Jun 2014 13:57:03 -0400 Original-Received: by mail-ve0-f182.google.com with SMTP id sa20so5711213veb.27 for ; Sun, 08 Jun 2014 10:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=n3a8UwK7g7sNwhtxUOxc4vNlAtk4bt5Do57pt76H3JE=; b=FxDnXlKSU7F4N5wjJtJ48NpWm7z0/Sw89fsD1ZmXTpeM0i3Ni7/tQpakjWn5l/TFAN jnHX0B4es6PHfgXJXtzitRQCoAzTddz8XIjtEMR5/nXkDtAftXGuiwvVkVgRHYlfO8NI VqIB0l9lebQt9VoRejnD8c5Schpn1Cm48M3oLiw9wZQ+1txDyZCs91V1h4Obcb8vWN6o dR+XZmChPwKOnciNuoe+Jvl2NY6Huvh60UtPD7WlXpsNU0y1JdfjdZijeTfezPQytQx/ cyxGn5qwxzhLbqRjbliqJsKVk8U1Rh2RMy3/vkLD6iCI5esJV3W+YdDOGG0MoN32yI9W eLCA== X-Received: by 10.52.64.225 with SMTP id r1mr17592412vds.30.1402250222740; Sun, 08 Jun 2014 10:57:02 -0700 (PDT) Original-Received: by 10.58.219.103 with HTTP; Sun, 8 Jun 2014 10:57:02 -0700 (PDT) In-Reply-To: <20140608.180038.311932254.tkk@misasa.okayama-u.ac.jp> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c01::236 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98101 Archived-At: I am using the same workaround to prevent the popup. Tak: Are you using emacs-app from macports? Thanks. On Sun, Jun 8, 2014 at 2:00 AM, Tak Kunihiro wrote: > I had the same problem. Following helps. > > ;;; > http://superuser.com/questions/125569/how-to-fix-emacs-popup-dialogs-on-mac-os-x > (defadvice yes-or-no-p (around prevent-dialog activate) > "Prevent yes-or-no-p from activating a dialog" > (let ((use-dialog-box nil)) > ad-do-it)) > (defadvice y-or-n-p (around prevent-dialog-yorn activate) > "Prevent y-or-n-p from activating a dialog" > (let ((use-dialog-box nil)) > ad-do-it)) > > > On 06/08/2014 03:45 AM, Shiyuan wrote: > > Hi, > > I am using Emacs 24.3.9 on Mac 10.9.3. Every time graphical dialog > > pops out, Emacs hangs. Anyone experiences the same problem or have any > > clues what might be wrong? I found a old post from 2009 reporting similar > > problem http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2877 but it was > fixed. > >