From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Package installation messages Date: Fri, 15 May 2015 00:15:55 +0100 Message-ID: References: <55552452.7050703@yandex.ru> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11348bcad8f932051612e87c X-Trace: ger.gmane.org 1431645366 3489 80.91.229.3 (14 May 2015 23:16:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2015 23:16:06 +0000 (UTC) Cc: Bozhidar Batsov , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 15 01:16:04 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 1Yt2ME-0005Tz-IA for ged-emacs-devel@m.gmane.org; Fri, 15 May 2015 01:16:02 +0200 Original-Received: from localhost ([::1]:57008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yt2MD-0000ph-8m for ged-emacs-devel@m.gmane.org; Thu, 14 May 2015 19:16:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yt2M9-0000pb-Fy for emacs-devel@gnu.org; Thu, 14 May 2015 19:15:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yt2M8-00011p-Iu for emacs-devel@gnu.org; Thu, 14 May 2015 19:15:57 -0400 Original-Received: from mail-la0-x230.google.com ([2a00:1450:4010:c03::230]:36658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yt2M8-00011l-Aa for emacs-devel@gnu.org; Thu, 14 May 2015 19:15:56 -0400 Original-Received: by lagv1 with SMTP id v1so91310349lag.3 for ; Thu, 14 May 2015 16:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=tmZXsPrxdU2xAiTdCQCYnc+xims/jQVbQhpmilYCzFw=; b=WeQzOo6E2HcUQF1UowuiavyqT9QLts5HVhb7APdtD4JJGh7L85Fn/kkZ1GcN6ys99q JgtgCBLyMOQ9O7BfpY9FI2m5gBPZkOEGGY9ARAHHFgvtuy1ccg/zukFwjqq5Sa5A3wt2 4pVOEl1ODpiSqjszfaqE/RxSC8syiaUTiJkNINIMIYJj4UluoJvRVDFbJGhs7ioGrncs +29xKCNPf4I+JmBoTuuwgKIMWm4msg8pD+qnLC1/3YFjuQ6e03mOzoPeNjNipdkmQ57M g84SOxWZsSBIORUoRPxmKcSR5KMBB+7IIh18j26JAtDb0ka+nxHvgwh7s6Nuwjo4H27A hc3w== X-Received: by 10.153.8.167 with SMTP id dl7mr4987049lad.86.1431645355307; Thu, 14 May 2015 16:15:55 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Thu, 14 May 2015 16:15:55 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Thu, 14 May 2015 16:15:55 -0700 (PDT) In-Reply-To: <55552452.7050703@yandex.ru> X-Google-Sender-Auth: HVRmHD7GIcyZdxFV-Y520HuQ9pQ X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::230 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:186499 Archived-At: --001a11348bcad8f932051612e87c Content-Type: text/plain; charset=UTF-8 > Here's another scenario: > > M-x package-install slime RET. > > See nothing of interest happening, try to do something else, maybe open a file. While navigating to it, see Emacs seemingly freeze. Press C-g instinctively - congrats, you've aborted the installation. Or stopped it in an interesting place, I've got some sort of "transfer interrupted" message once this way. Yes, I've been meaning to mention that for a while now. Now that the async features have been out for a few months, I can say I like the async refreshing but I'm not a fan of how async installation turned out (for the exact reasons you mention above). I see 3 options, and I'd like to know what people think. 1. Keep the feature but disable by default. Async refreshing would still be enabled. 2. Implement it using a background emacs process. This has been mentioned here before, it would not cause emacs to hang during the unpacking stage, and would not be interrupted by C-g. 3. Just revert it. This has the advantage of simplifying the logic. Async refreshing would still be kept. --001a11348bcad8f932051612e87c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


> Here's another scenario:
>
> M-x package-install slime RET.
>
> See nothing of interest happening, try to do something else, maybe ope= n a file. While navigating to it, see Emacs seemingly freeze. Press C-g ins= tinctively - congrats, you've aborted the installation. Or stopped it i= n an interesting place, I've got some sort of "transfer interrupte= d" message once this way.

Yes, I've been meaning to mention that for a while now.<= /p>

Now that the async features have been out for a few months, = I can say I like the async refreshing but I'm not a fan of how async in= stallation turned out (for the exact reasons you mention above). I see 3 op= tions, and I'd like to know what people think.

1. Keep the feature but disable by default. Async refreshing= would still be enabled.
2. Implement it using a background emacs process. This has been mentioned h= ere before, it would not cause emacs to hang during the unpacking stage, an= d would not be interrupted by C-g.
3. Just revert it. This has the advantage of simplifying the logic. Async r= efreshing would still be kept.

--001a11348bcad8f932051612e87c--