GNU bug report logs - #44973
Add a macOS global hotkey function

Previous Next

Package: emacs;

Reported by: j <at> mremus.net

Date: Mon, 30 Nov 2020 21:27:02 UTC

Severity: minor

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: j <at> mremus.net
Cc: 44973 <at> debbugs.gnu.org
Subject: bug#44973: Add a macOS global hotkey function
Date: Mon, 21 Dec 2020 05:34:57 +0100
j <at> mremus.net writes:

> But no matter what I do, it always crashes the program. I think my
> first problem is not knowing how to call elisp (run_hooks, safe_call,
> etc?) correctly, but second, I suspect if this is crashing due to a
> threading issue.

I am not at all familiar with the ns functions, but looking at the other
.m files, it looks like you should be able to just say

  call0 (intern ("some-function"));

or something like that?  (Modulo threading stuff.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 163 days ago.

Previous Next


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