all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Package refresh and install/delete marks
Date: Wed, 27 May 2015 02:49:28 +0100	[thread overview]
Message-ID: <CAAdUY-Jdvg6nLuj4A4S434No1VHmram6hhiROONgNt9XX7BwAw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 844 bytes --]

> Async refreshing has grown on me too, but it still needs to implement
retaining the marks set by the user.

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.

Of note:
- if the user marks a package (for install/delete) and that package is gone
after the refresh, then the mark is gone too.
- 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.
- Hitting g will still revert the entire buffer and wipe all marks (this is
intentional).

[-- Attachment #2: Type: text/html, Size: 918 bytes --]

             reply	other threads:[~2015-05-27  1:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27  1:49 Artur Malabarba [this message]
2015-05-27 16:02 ` Package refresh and install/delete marks Dmitry Gutov
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

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

  git send-email \
    --in-reply-to=CAAdUY-Jdvg6nLuj4A4S434No1VHmram6hhiROONgNt9XX7BwAw@mail.gmail.com \
    --to=bruce.connor.am@gmail.com \
    --cc=dgutov@yandex.ru \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.