From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#44973: Add a macOS global hotkey function Date: Mon, 21 Dec 2020 16:34:45 +0000 Message-ID: References: <874kkw9gmq.fsf@gnus.org> <83im8vrv2l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25783"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44973@debbugs.gnu.org, larsi@gnus.org, j@mremus.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 21 17:36:07 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1krOAI-0006Yl-IG for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Dec 2020 17:36:06 +0100 Original-Received: from localhost ([::1]:51350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krOAH-0003Cg-Kn for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Dec 2020 11:36:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krO9G-0002M9-IX for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2020 11:35:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krO9G-0002bF-AN for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2020 11:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1krO9G-0006ST-3G for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2020 11:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Dec 2020 16:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44973 X-GNU-PR-Package: emacs Original-Received: via spool by 44973-submit@debbugs.gnu.org id=B44973.160856850024813 (code B ref 44973); Mon, 21 Dec 2020 16:35:02 +0000 Original-Received: (at 44973) by debbugs.gnu.org; 21 Dec 2020 16:35:00 +0000 Original-Received: from localhost ([127.0.0.1]:48122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krO9D-0006S8-Lj for submit@debbugs.gnu.org; Mon, 21 Dec 2020 11:34:59 -0500 Original-Received: from outbound.soverin.net ([116.202.65.218]:56107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krO9A-0006Ro-St for 44973@debbugs.gnu.org; Mon, 21 Dec 2020 11:34:58 -0500 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 3EBFB6008F; Mon, 21 Dec 2020 16:34:50 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1608568489; bh=2G9WqrMx0kTTTK8SBvq1834Ct7AXfKVK7d98FvjsyiA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dqeKxD5RS/g7m5jvgyILdkRxp+td48SM9rofY01nnOkeQy2/1RGJpSHYTanC87ivm wErRWcTJBSJ8N5Detp0BOS3cCW/U0sjh7c0RxLY69H5A7kh4Qr4mf355P4Ov/wxlFO lfSWyUQ27R21vq1t17PrecsH57moRgk5vYt0vmQWzPw0+0DxSP1/EPRREc1e7q1AdD oKA/pFu/61hTS0n447+UOFiubd71VB695Rm9saH3HrVthIOka8vJLUvGT8XpKYilK8 RfeJUwv3hQFqSGjqM21wW2Zq9WtKHshFZ119cn73ZeMn7wojCKzDr8urVkomGiH0tF qbbQQWhsynQtA== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 582732029096DF; Mon, 21 Dec 2020 16:34:45 +0000 (GMT) Mail-Followup-To: Alan Third , Eli Zaretskii , 44973@debbugs.gnu.org, larsi@gnus.org, j@mremus.net Content-Disposition: inline In-Reply-To: <83im8vrv2l.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196544 Archived-At: On Mon, Dec 21, 2020 at 06:18:58PM +0200, Eli Zaretskii wrote: > > Date: Mon, 21 Dec 2020 08:12:04 +0000 > > From: Alan Third > > Cc: 44973@debbugs.gnu.org, Lars Ingebrigtsen > > > > One potential problem with your approach is that we don't accept code > > using Objective C blocks as it's incompatible with GCC. Unless that > > policy has changed? > > It hasn't changed, but does this code really need to use that feature? > The last time we had a much more grave problem: the system header used > for some code itself used ObjC blocks, and thus couldn't be compiled > by GCC. It looks like this case is not that problematic? The class method used takes a block as an argument. I don't think there are any work-arounds. The GCC work to support blocks appears to be progressing, but slowly: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 -- Alan Third