all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: j@mremus.net
Cc: 44973@debbugs.gnu.org
Subject: bug#44973: Add a macOS global hotkey function
Date: Mon, 21 Dec 2020 05:34:57 +0100	[thread overview]
Message-ID: <87lfdrhj4e.fsf@gnus.org> (raw)
In-Reply-To: <CAAgndd5jbXk+s7aY=X05wOaJ87T-GAza2EXZKxkVgUc1FRrOxQ@mail.gmail.com> (j.'s message of "Sun, 20 Dec 2020 16:40:37 -0800")

j@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





  reply	other threads:[~2020-12-21  4:34 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30 21:01 bug#44973: Add a macOS global hotkey function j
2020-12-08 20:39 ` Lars Ingebrigtsen
2020-12-21  0:40   ` j
2020-12-21  4:34     ` Lars Ingebrigtsen [this message]
2020-12-30  4:10       ` j
2020-12-30 11:01         ` Alan Third
2020-12-30 17:08         ` Eli Zaretskii
2021-01-04  5:13           ` j
2021-01-04 17:09             ` Eli Zaretskii
2021-01-05  8:25               ` Lars Ingebrigtsen
2021-01-05  8:26                 ` Lars Ingebrigtsen
2021-01-05 15:04                   ` Eli Zaretskii
2021-01-05 15:04                 ` Eli Zaretskii
2021-01-06  5:15                 ` Richard Stallman
2021-01-06  5:02               ` Richard Stallman
2020-12-21  8:12     ` Alan Third
2020-12-21 16:18       ` Eli Zaretskii
2020-12-21 16:34         ` Alan Third
2020-12-22  5:20           ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfdrhj4e.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=44973@debbugs.gnu.org \
    --cc=j@mremus.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.