unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: bruce.connor.am@gmail.com
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Package refresh and install/delete marks
Date: Wed, 27 May 2015 19:02:57 +0300	[thread overview]
Message-ID: <5565EAB1.5090101@yandex.ru> (raw)
In-Reply-To: <CAAdUY-Jdvg6nLuj4A4S434No1VHmram6hhiROONgNt9XX7BwAw@mail.gmail.com>

On 05/27/2015 04:49 AM, Artur Malabarba wrote:

> For the record, this is now done.
> It was implemented by having tabulated-list only update the buffer,
> instead of printing it anew.
> As a bonus, the printing step is now blazing fast. So the small hang we
> get after archives are downloaded is now barely noticeable.

Thank you, it's indeed pretty fast.

> - if the user hits U while a refresh is in progress, the package menu
> will wait until the refresh is done before actually marking the
> upgrades. This is to avoid the scenario where the refresh could erase
> the install marks and keep the delete marks.

That's not what I see here: U adds the marks if there's something to 
upgrade before the refresh, and when the latter completes, it removes them.

But speaking of this scenario, maybe this could be handled even better? 
Since you intend to defer adding marks to until after the refresh, why 
not defer calculation as well? In all likelihood, after the refresh is 
done, more packages will have upgrades.



  reply	other threads:[~2015-05-27 16:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27  1:49 Package refresh and install/delete marks Artur Malabarba
2015-05-27 16:02 ` Dmitry Gutov [this message]
2015-05-27 16:19   ` Artur Malabarba
2015-05-27 20:42     ` Artur Malabarba
2015-05-27 21:39       ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5565EAB1.5090101@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).