[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb e3229ad 11/21: Give some indication that the migra
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb e3229ad 11/21: Give some indication that the migration process is ongoing |
Date: |
Sun, 17 Sep 2017 15:32:47 -0400 (EDT) |
branch: externals/ebdb
commit e3229ad719846368037559dc5b67ad7da951f974
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Give some indication that the migration process is ongoing
Fixes #51
* ebdb-migrate.el (ebdb-migrate-from-bbdb): Report as records are
migrated. Why does it take so damn long?
---
ebdb-migrate.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/ebdb-migrate.el b/ebdb-migrate.el
index 851786a..645422f 100644
--- a/ebdb-migrate.el
+++ b/ebdb-migrate.el
@@ -393,6 +393,7 @@ BBDB sets the default of that option."
(target-db (if (= (length ebdb-db-list) 1)
(car ebdb-db-list)
(ebdb-prompt-for-db)))
+ (total 0)
c-records duds)
(message "Migrating records...")
(dolist (r v-records)
@@ -425,7 +426,8 @@ BBDB sets the default of that option."
(ebdb-record-add-org-role c-rec org)
(unless (member org c-records)
(push org c-records)))))
- (push c-rec c-records))
+ (push c-rec c-records)
+ (message "Migrating records... %d" (cl-incf total)))
(error
(push (list r err) duds))))
(when duds
@@ -443,7 +445,8 @@ BBDB sets the default of that option."
(dolist (r c-records)
(ebdb-init-record r))
(eieio-oset target-db 'dirty t)
- (message "Migrating records... %d records migrated" (length
c-records))))))
+ (message "Migrating records... %d records migrated"
+ (length c-records))))))
(defun ebdb-migrate-vector-to-class (v)
"Migrate a single vector-style BBDB record to the EIEIO class
- [elpa] externals/ebdb 13f680a 13/21: Part two of threaded version of ebdb-initialize, (continued)
- [elpa] externals/ebdb 13f680a 13/21: Part two of threaded version of ebdb-initialize, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 3a918eb 09/21: Provide better instructions for BBDB migration, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb cbb4cc1 20/21: More complete error handling for field insertion, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb c298037 21/21: Bump version for 0.3.2, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 18be9ad 04/21: Add ebdb-field-bank-account class, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb dc5d03e 01/21: Change behavior of ebdb-fmt-compose-field, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 9c0947c 05/21: Comment out some custom definitions for address field, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 4a332dc 03/21: Add defgeneric for ebdb-read, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 767a9fa 07/21: Allow two kinds of searches on tags, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 8fc7b6d 08/21: Allow "fast lookups", Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb e3229ad 11/21: Give some indication that the migration process is ongoing,
Eric Abrahamsen <=
- [elpa] externals/ebdb efd9e15 12/21: Provide an alternate threaded version of ebdb-initialize, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 2fa4379 14/21: New option ebdb-try-speedups, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 09a04b2 19/21: Fix up ebdb-string method for bank accounts, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb 2b52686 18/21: Check type spec of slots that may or may not accept an object, Eric Abrahamsen, 2017/09/17
- [elpa] externals/ebdb b3266e5 17/21: Apparently when-let will be obsoleted by when-let*, Eric Abrahamsen, 2017/09/17