girzel / ebdb

An EIEIO port of BBDB, Emacs' contact-management package
67 stars 12 forks source link

Error in migration from bbdb #98

Closed pietvo closed 2 years ago

pietvo commented 2 years ago

There is an error in the migration code from bbdb, function ebdb-migrate-vector-to-class

diff -u /Users/pieter/.emacs.d/elpa/ebdb-0.8.6/ebdb-migrate.el.\~1\~ /Users/pieter/.emacs.d/elpa/ebdb-0.8.6/ebdb-migrate.el
--- /Users/pieter/.emacs.d/elpa/ebdb-0.8.6/ebdb-migrate.el.~1~  2021-10-09 13:21:24.000000000 +0200
+++ /Users/pieter/.emacs.d/elpa/ebdb-0.8.6/ebdb-migrate.el  2021-10-09 17:01:16.000000000 +0200
@@ -568,7 +568,7 @@
                 :address (car-safe mails))
          fields)))
     ((and (stringp val)
-          (string-match-p val url-handler-regexp))
+          (string-match-p url-handler-regexp val))
      (push (make-instance 'ebdb-field-url
                   :url val)
        fields))
girzel commented 2 years ago

There sure is! That's embarrassing. Thanks for the report, the fix will be in the next release.