From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: UI input unresponsive on macOS Date: Thu, 16 Nov 2017 19:33:43 +0000 Message-ID: <20171116193343.GA18478@breton.holly.idiocy.org> References: <72DF4592-73FE-452D-9CF3-C892E73BD36E@play-bow.org> <20170103143621.GA41725@breton.holly.idiocy.org> <20170103174900.GA49916@breton.holly.idiocy.org> <83zij6esyt.fsf@gnu.org> <83d1g1ecvh.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1510860924 4326 195.159.176.226 (16 Nov 2017 19:35:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Nov 2017 19:35:24 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) Cc: Gong-Yi Liao =?utf-8?B?5buW5a6u5q+F?= , halley@play-bow.org, Eli Zaretskii , emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 16 20:35:17 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFPwM-0000DG-8y for ged-emacs-devel@m.gmane.org; Thu, 16 Nov 2017 20:35:10 +0100 Original-Received: from localhost ([::1]:42593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFPwS-0001BE-39 for ged-emacs-devel@m.gmane.org; Thu, 16 Nov 2017 14:35:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFPv7-0000yV-RG for emacs-devel@gnu.org; Thu, 16 Nov 2017 14:33:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFPv4-0005EL-5L for emacs-devel@gnu.org; Thu, 16 Nov 2017 14:33:53 -0500 Original-Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:43746) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFPv2-0005CY-SJ; Thu, 16 Nov 2017 14:33:49 -0500 Original-Received: by mail-wr0-x234.google.com with SMTP id u40so100857wrf.10; Thu, 16 Nov 2017 11:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=PtKVsLf4Hl828PTvqa0qy8176wUdHlVQK4GTOuPjDtw=; b=l2cWlhE1OhcuiW4nnLfmZHVHhRP/4mLm0iOWAIfPB4UYggmRn2rcFmSjTQ5Nolrw/G JO4OiqZDdQBswwY5BR1T+IIIL4LCvfMr59/fXaGSRbVzaVJTy69lv7GzJMb7HAk/WTAO BP6EHm3cOIC5FJweycIKHUukTowRDKkE2TNXmwyUKDfjJHzNMUJ5PJhqPoFINWedVShd ukQ3B3X5c7N/zF21JcTFNZQTPbzyRrLMJHSyfOqd04jnidS1LmCyVIrhAND8l6zTVorZ YmAhtEld8ZWQX3D7/7xWwDd3QKcYJ0M74QSV5InWr3u2Zplt5R1Ab05UVDDOrbhcFSek fUIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=PtKVsLf4Hl828PTvqa0qy8176wUdHlVQK4GTOuPjDtw=; b=tjdBjZFwh4fCaXQB1GqPGAZ/a+p/5jfRccz/MxqSFGvH5LQ285RHgAR01rmiE1e1ov cI+BTfQoA8S+VgIlMr7abeUVyE8ZkMI0SxV4zY413e2GkxD/ES4zszxRhaosqrsKgwcJ mzepeWdnFyj2Q9bkK2go7nqoDNsRAzUnuEbsaUIN0T9McG43+cdJkPjNHNB01GG+Aeae PWe9tPVdmgAMl4a70LiNeroc2nk/wqUOlIE6VlLN4FclesiyTbjwnV86uRW4HY8W9+fE Zo1RL6Le1AiN8ohgDaoC7QBI7PZfji0ySvOWPjKbT/PlRAKelXuyOfI5D8PPoL3Yocrf CvLA== X-Gm-Message-State: AJaThX5OQ3HBuVTKk6wbj1OAP6aZUYqihiCTUrnk589lnArEBs20WhxA RWmJiCVChbXco7XM2nERNDU= X-Google-Smtp-Source: AGs4zMYRZpmTF0Y8fPq2iHqoiLMre0D7nK1waqMVfEBNbQX8a+dv/0nmGGG6bquyFeBRTdqQik2QYw== X-Received: by 10.223.135.59 with SMTP id a56mr2638514wra.173.1510860827537; Thu, 16 Nov 2017 11:33:47 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-c1ea-b9f3-6b2a-1c8e.holly.idiocy.org. [2001:8b0:3f8:8129:c1ea:b9f3:6b2a:1c8e]) by smtp.gmail.com with ESMTPSA id x70sm992611wmf.0.2017.11.16.11.33.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Nov 2017 11:33:46 -0800 (PST) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220234 Archived-At: On Thu, Oct 05, 2017 at 12:40:54PM +0900, YAMAMOTO Mitsuharu wrote: > >>>>> On Thu, 05 Jan 2017 17:00:53 +0000, Gong-Yi Liao 廖宮毅 said: > > The following recipe seems to behave differently depending on the > toolkit. > > (make-thread > (lambda () > (let (last-nonmenu-event) > (setq test (y-or-n-p-with-timeout "test" 2 'timeout))))) > > Athena: Works. > GTK+2: Timeout works, but buttons are not displayed. > GTK+3: Hangs. > NS: Crashes. I’m not sure how we could handle that on NS. Perhaps just refuse to display the dialogue at all, and return nil? -- Alan Third