all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Package refresh and install/delete marks
@ 2015-05-27  1:49 Artur Malabarba
  2015-05-27 16:02 ` Dmitry Gutov
  0 siblings, 1 reply; 5+ messages in thread
From: Artur Malabarba @ 2015-05-27  1:49 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: emacs-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-27 21:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-27  1:49 Package refresh and install/delete marks Artur Malabarba
2015-05-27 16:02 ` Dmitry Gutov
2015-05-27 16:19   ` Artur Malabarba
2015-05-27 20:42     ` Artur Malabarba
2015-05-27 21:39       ` Dmitry Gutov

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.