From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: async.el: A simple asynchronous framework for Emacs Date: Tue, 19 Jun 2012 09:29:39 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340112601 28491 80.91.229.3 (19 Jun 2012 13:30:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2012 13:30:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 19 15:30:01 2012 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 1SgyVM-0006o2-Fe for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2012 15:30:00 +0200 Original-Received: from localhost ([::1]:39055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgyVM-0006oo-Fb for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2012 09:30:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgyVE-0006oP-LC for emacs-devel@gnu.org; Tue, 19 Jun 2012 09:29:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgyV4-0007QP-PQ for emacs-devel@gnu.org; Tue, 19 Jun 2012 09:29:52 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:59955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgyV4-0007Ps-Lj for emacs-devel@gnu.org; Tue, 19 Jun 2012 09:29:42 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxINN/2dsb2JhbABEtBGBCIIVAQEEAVYoCws0EhQYDYhABboJjSaDHgOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="191693845" Original-Received: from 69-196-131-77.dsl.teksavvy.com (HELO pastel.home) ([69.196.131.77]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 19 Jun 2012 09:29:40 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0B93F592CA; Tue, 19 Jun 2012 09:29:39 -0400 (EDT) In-Reply-To: (John Wiegley's message of "Mon, 18 Jun 2012 21:51:31 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:151020 Archived-At: > The whole interface is two functions: `async-start' and `async-get' (of which > the latter is optional). Here is the basic form of use: Looks very interesting, thank you. > This will execute the lambda (which must *not* be byte-compiled -- in other > words, don't use `function' or #') in a child Emacs asynchronously. Can you explain why it can't be byte-compiled? Also, I'd guess that your package could be improved if Emacs provided a `fork' primitive, right? Stefan