From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Andrus Newsgroups: gmane.emacs.devel Subject: Re: Callbacks from modules Date: Fri, 27 Nov 2015 10:31:17 -0700 Message-ID: <5950C53E-2053-46C1-B364-74F6F18363AD@gmail.com> References: <83vb8otxhf.fsf@gnu.org> <83610nu9n9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1448645506 13079 80.91.229.3 (27 Nov 2015 17:31:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2015 17:31:46 +0000 (UTC) Cc: p.stephani2@gmail.com, dancol@dancol.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 18:31:39 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a2Mrv-0002rV-W0 for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 18:31:36 +0100 Original-Received: from localhost ([::1]:57874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2Mry-0000Ch-Qv for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 12:31:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2Mrh-0008VR-MY for emacs-devel@gnu.org; Fri, 27 Nov 2015 12:31:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2Mrg-0002Fu-Up for emacs-devel@gnu.org; Fri, 27 Nov 2015 12:31:21 -0500 Original-Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:34692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2Mrf-0002FC-7e; Fri, 27 Nov 2015 12:31:19 -0500 Original-Received: by oies6 with SMTP id s6so65684965oie.1; Fri, 27 Nov 2015 09:31:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pKrvG2G4+ZnlHerOhw2yfv459qCWPzMKSmAwo14zSIw=; b=W7MkTE2QApigq8g9MaVUkH4kPgkgRSNXj4JCKXcAKvd24zozz7bYMrym2iZUHvTeon sOz2BTXuQJ12biWNjM8q4X04NiNuzsTO/f40MPy8UQFjI+5U13AwC76Ap6JF7v3NTTLC 3EgKA3O1G0dkvSH06x+5Td5z7qgl0rBtWXWU9yCHyPAHQfc7oZE42JERRHX4muprePm2 c+65hGDekcoyF38fedt/oof8t7J3r+NG3XoMRFhGcmf9zKXij6SOBiiM/fYA3nbGvtyO YqUx5SnuT0PDemPGW/wNidvHc3Jo1hPdyb5al0I27ELtxqT+exW1iGBlYGmv9PUbPQ2b 0ZlQ== X-Received: by 10.202.54.215 with SMTP id d206mr32811234oia.6.1448645478967; Fri, 27 Nov 2015 09:31:18 -0800 (PST) Original-Received: from [192.168.0.3] (97-117-43-47.slkc.qwest.net. [97.117.43.47]) by smtp.gmail.com with ESMTPSA id w84sm15825986oie.26.2015.11.27.09.31.18 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Nov 2015 09:31:18 -0800 (PST) In-Reply-To: <83610nu9n9.fsf@gnu.org> X-Mailer: Apple Mail (2.3096.5) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195393 Archived-At: On Nov 27, 2015, at 1:30 AM, Eli Zaretskii wrote: >=20 >> From: Ivan Andrus >> Date: Thu, 26 Nov 2015 20:35:06 -0700 >> Cc: Eli Zaretskii , >> dancol@dancol.org, >> emacs-devel@gnu.org >>=20 >> It seems desirable to me to have a function=20 >>=20 >> void send_event( char const * type ); >>=20 >> which would just queue a special type of event that could be = dispatched on the >> elisp side through the normal even handling. >=20 > 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=