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: Async package.el Date: Thu, 9 Apr 2015 11:14:03 +0100 Message-ID: References: <55228FD2.3080501@yandex.ru> <552330A2.1090406@yandex.ru> <55249033.6050301@yandex.ru> <55255129.4030002@yandex.ru> <5525DFA1.5040307@yandex.ru> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c387503a3cac051347e86c X-Trace: ger.gmane.org 1428574467 26218 80.91.229.3 (9 Apr 2015 10:14:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2015 10:14:27 +0000 (UTC) Cc: emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 09 12:14:25 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 1Yg9Tc-0000Bo-MA for ged-emacs-devel@m.gmane.org; Thu, 09 Apr 2015 12:14:24 +0200 Original-Received: from localhost ([::1]:59378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yg9Tb-00023R-UU for ged-emacs-devel@m.gmane.org; Thu, 09 Apr 2015 06:14:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yg9TN-000239-73 for emacs-devel@gnu.org; Thu, 09 Apr 2015 06:14:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yg9TI-0006vY-9w for emacs-devel@gnu.org; Thu, 09 Apr 2015 06:14:09 -0400 Original-Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]:35038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yg9TH-0006vF-U8 for emacs-devel@gnu.org; Thu, 09 Apr 2015 06:14:04 -0400 Original-Received: by lbbuc2 with SMTP id uc2so83856554lbb.2 for ; Thu, 09 Apr 2015 03:14:03 -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=q/vhY7eftfeojL99A7Z21Lrq4KWanNtGqFnJkT71YqI=; b=DJNS30BvFcSApmc0o2Q06ISmmLUxO25xq2aEEbTBWratNPOawQLXJDz8F7a5JzkZWg HWNJmIxCDSZ3GgrrMgjs11wjysjFGk4ipEGxxEm6Q/H2z5gTS4UnuyYJzKMOJvSRFbPd /ZhvwsoKDv78PCNzeEZ1zZK/6vdgjauoPvfxllNLHAmJrc6xO/UArXMVBvSEOGC0Nylg 3PthGHe1tdtURGBLYp2LOmNfTQFyHexldpb1OAQIWarSj2NR8XBYCU8WGVst/of/k3NH JebdFbbla2kVrh2/ckkKHpLiSyOjSWLCzjH5Y+MELfCJH+2uAQJov9MT9RAZsF0valvl pkVA== X-Received: by 10.112.200.230 with SMTP id jv6mr27499346lbc.21.1428574443288; Thu, 09 Apr 2015 03:14:03 -0700 (PDT) Original-Received: by 10.25.150.131 with HTTP; Thu, 9 Apr 2015 03:14:03 -0700 (PDT) In-Reply-To: <5525DFA1.5040307@yandex.ru> X-Google-Sender-Auth: wTBTtnEvfEwgFG3rA45zRr4gBlI X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::234 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:185192 Archived-At: --001a11c387503a3cac051347e86c Content-Type: text/plain; charset=UTF-8 By the way, thanks for taking the time to try it out and think of all possible issues.l > I have two archives configured: GELPA and MELPA. After Emacs was launched, I can `M-x list-packages', and the list starts with 2048-game, @ and abc-mode. 4clojure (and many other packages) is listed as "incompat". > > But after loading ends, 4clojure gets inserted at the second place. If I quit it and call `M-x list-packages' in the same session, 4clojure is there. I don't get that bevahiour from emacs -Q, but there was a problem with the incompatible table a few days ago. Maybe your elc file is outdated? >> The suggestion was not to use a question prompt, but to simply message >> "Package refresh done, type g to revert buffer" instead of the ususal >> "Package refresh done". > > If it's a message, it'll disappear after the next command. Then, I can be only sure the list is refreshed if I don't select any items. > > And this information won't be present in the interface, aside from the transient message. Kinda suboptimal. Just like any other keybind. That's more of a general issue with the package menu or Emacs itself. We can add "g-redisplay" to the quick-help menu under `h' (which, btw, could use some improving. >> No. If she reverts, any "i" marks will be forgotten. This is a flaw of >> this approach, but one fortunate consequence is that there won't be >> any such inconsistency problems. > > > No, I mean if she agrees to revert after the installation has started (or maybe just the downloading part started, and hasn't finished yet). Ah, I see. Then we're fine. All information needed for a transaction is gathered the moment you hit `x' (before you even answer `y'). Whatever happens to the buffer after that is irrelevant. >> The only >> difference is that now the user has a brief chance to see the old >> package before it is brutally taken beyond her reach. > > > One could say it's worse than never seeing it, though. Wasted effort. Yes, but you're wasting a few seconds of effort on a situation that will happen very rarely. If that were a frequent occasion it might even be infuriating, but how often do compatible packages become incompatible? --001a11c387503a3cac051347e86c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

By the way, thanks for taking the time to try it out an= d think of all possible issues.l

> I have two archives= configured: GELPA and MELPA. After Emacs was launched, I can `M-x list-pac= kages', and the list starts with 2048-game, @ and abc-mode. 4clojure (a= nd many other packages) is listed as "incompat".
>
> But after loading ends, 4clojure gets inserted at the second place. If= I quit it and call `M-x list-packages' in the same session, 4clojure i= s there.

I don't get that bevahiour from emacs -Q, but there = was a problem with the incompatible table a few days ago. Maybe your elc fi= le is outdated?

>> The suggestion was not to use a = question prompt, but to simply message

>> "Package refresh done, type g to revert buffer" instead = of the ususal
>> "Package refresh done".
>
> If it's a message, it'll disappear after the next command. The= n, I can be only sure the list is refreshed if I don't select any items= .
>
> And this information won't be present in the interface, aside from= the transient message. Kinda suboptimal.

Just like any other keybind= . That's more of a general issue with the package menu or Emacs itself.= We can add "g-redisplay" to the quick-help menu under `h' (w= hich, btw, could use some improving.

>> No. If she reverts, any "i" marks will be forgotten. Thi= s is a flaw of
>> this approach, but one fortunate consequence is that there won'= ;t be
>> any such inconsistency problems.
>
>
> No, I mean if she agrees to revert after the installation has started = (or maybe just the downloading part started, and hasn't finished yet).<= /p>

Ah, I see. Then we're fine. All information needed for a transact= ion is gathered the moment you hit `x' (before you even answer `y')= . Whatever happens to the buffer after that is irrelevant.

>> The only
>> difference is that now the user has a brief chance to see the old<= br> >> package before it is brutally taken beyond her reach.
>
>
> One could say it's worse than never seeing it, though. Wasted effo= rt.

Yes, but you're wasting a few seconds of effort on a situation t= hat will happen very rarely. If that were a frequent occasion it might even= be infuriating, but how often do compatible packages become incompatible?<= /p>

--001a11c387503a3cac051347e86c--