From: Ivan Andrus <darthandrus@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: p.stephani2@gmail.com, dancol@dancol.org, emacs-devel@gnu.org
Subject: Re: Callbacks from modules
Date: Fri, 27 Nov 2015 10:31:17 -0700 [thread overview]
Message-ID: <5950C53E-2053-46C1-B364-74F6F18363AD@gmail.com> (raw)
In-Reply-To: <83610nu9n9.fsf@gnu.org>
On Nov 27, 2015, at 1:30 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> From: Ivan Andrus <darthandrus@gmail.com>
>> Date: Thu, 26 Nov 2015 20:35:06 -0700
>> Cc: Eli Zaretskii <eliz@gnu.org>,
>> dancol@dancol.org,
>> emacs-devel@gnu.org
>>
>> It seems desirable to me to have a function
>>
>> void send_event( char const * type );
>>
>> which would just queue a special type of event that could be dispatched on the
>> elisp side through the normal even handling.
>
> You can't do that from another thread, because the Emacs event queue
> is not ready to be accessed from several threads.
Ah. That makes sense.
-Ivan
next prev parent reply other threads:[~2015-11-27 17:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-26 6:08 Callbacks from modules Ivan Andrus
2015-11-26 15:43 ` Eli Zaretskii
2015-11-26 16:17 ` joakim
2015-11-26 16:33 ` Eli Zaretskii
2015-11-26 17:01 ` Philipp Stephani
2015-11-26 17:19 ` Eli Zaretskii
2015-11-27 3:23 ` Ivan Andrus
2015-11-27 8:29 ` Eli Zaretskii
2015-11-27 17:30 ` Ivan Andrus
2015-11-26 18:16 ` Philipp Stephani
2015-11-26 18:41 ` Eli Zaretskii
2015-11-26 18:44 ` Philipp Stephani
2015-11-27 3:35 ` Ivan Andrus
2015-11-27 8:30 ` Eli Zaretskii
2015-11-27 17:31 ` Ivan Andrus [this message]
2015-11-27 4:22 ` Tom Tromey
2015-11-27 8:35 ` Eli Zaretskii
2015-11-30 14:03 ` Ted Zlatanov
2015-11-30 15:58 ` Eli Zaretskii
2015-11-30 16:52 ` John Wiegley
2015-11-27 4:20 ` Tom Tromey
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=5950C53E-2053-46C1-B364-74F6F18363AD@gmail.com \
--to=darthandrus@gmail.com \
--cc=dancol@dancol.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=p.stephani2@gmail.com \
/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.