From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.devel Subject: Re: Async package.el Date: Tue, 07 Apr 2015 14:31:32 +0900 Message-ID: References: <55228FD2.3080501@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1428384711 17099 80.91.229.3 (7 Apr 2015 05:31:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Apr 2015 05:31:51 +0000 (UTC) Cc: emacs-devel , Dmitry Gutov To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 07 07:31:46 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 1YfM6z-0004WU-SW for ged-emacs-devel@m.gmane.org; Tue, 07 Apr 2015 07:31:46 +0200 Original-Received: from localhost ([::1]:43320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfM6y-0001kf-UV for ged-emacs-devel@m.gmane.org; Tue, 07 Apr 2015 01:31:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfM6v-0001k6-QS for emacs-devel@gnu.org; Tue, 07 Apr 2015 01:31:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfM6q-0005zg-Q5 for emacs-devel@gnu.org; Tue, 07 Apr 2015 01:31:41 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfM6q-0005zL-Mb for emacs-devel@gnu.org; Tue, 07 Apr 2015 01:31:36 -0400 Original-Received: from du-a.org ([219.94.251.20]:40831 helo=localhost.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YfM6q-0003b9-9J; Tue, 07 Apr 2015 01:31:36 -0400 In-Reply-To: (Artur Malabarba's message of "Mon, 6 Apr 2015 15:32:35 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:185060 Archived-At: Artur Malabarba writes: > I agree that's annoying and I have some similar plans. We can change > the package-installation logic to first download all files > simultaneously, and then unpack/compile all of them in the proper > order. So large upgrades would have a significant speed improvement. Though maybe it might be off topic, I was wondering if it is possible to do the compilation (and perhaps downloading / unpacking) phase in a separate Emacs process, so that the running Emacs session is not affected by loading the compile-time requirements of a package. Given that Emacs is rather a lightweight program these days, I guess it isn't too impractical perhaps? To implement that, maybe one would add a few batch functions in package.el and a comint interface to communicate with the inferior Emacs. Regards, -- Daiki Ueno