From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#38918: 26.3; EBDB fails to edit (add) tags Date: Sun, 12 Jan 2020 09:10:50 -0800 Message-ID: <87r204pplx.fsf@ericabrahamsen.net> References: <87d0bzcnmm.fsf@disroot.org> <87zhf3m4pe.fsf@ericabrahamsen.net> <87blri6a9j.fsf@disroot.org> <87r20en36v.fsf@ericabrahamsen.net> <87v9pqgou0.fsf@disroot.org> <8736csz841.fsf@ericabrahamsen.net> <87d0bv1mmb.fsf@disroot.org> <87h817uq0x.fsf@ericabrahamsen.net> <87muas943w.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="89886"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 38918@debbugs.gnu.org To: Jorge P. de Morais Neto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 12 18:12:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iqglb-000B6b-Le for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jan 2020 18:11:11 +0100 Original-Received: from localhost ([::1]:40400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqgla-0000XN-0v for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jan 2020 12:11:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55306) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqglT-0000XF-C3 for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 12:11:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqglS-0006dP-6V for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 12:11:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51898) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqglS-0006cJ-1h for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 12:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iqglR-000288-Sn for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 12:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jan 2020 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38918 X-GNU-PR-Package: emacs Original-Received: via spool by 38918-submit@debbugs.gnu.org id=B38918.15788490608181 (code B ref 38918); Sun, 12 Jan 2020 17:11:01 +0000 Original-Received: (at 38918) by debbugs.gnu.org; 12 Jan 2020 17:11:00 +0000 Original-Received: from localhost ([127.0.0.1]:57871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqglP-00027t-SX for submit@debbugs.gnu.org; Sun, 12 Jan 2020 12:11:00 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:33752 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqglO-00027g-B0 for 38918@debbugs.gnu.org; Sun, 12 Jan 2020 12:10:59 -0500 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id D7745FA080; Sun, 12 Jan 2020 17:10:51 +0000 (UTC) In-Reply-To: <87muas943w.fsf@disroot.org> (Jorge P. de Morais Neto's message of "Sun, 12 Jan 2020 10:49:39 -0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:174509 Archived-At: Jorge P. de Morais Neto writes: > Em [2020-01-07 ter 09:37:02-0800], Eric Abrahamsen escreveu: > >> This is definitely on the roadmap, and taking me too long. Presumably >> you'd export your Gmail contacts as a vCard file? Or something else? > > It seems Gmail supports vCard and two CSV variants[1]. I do not know > which works best. > > [1]: https://www.lifewire.com/how-to-export-your-gmail-contacts-1171992 Cool, well we'll start with vCard. A CSV importer would be a good idea, too. Would you eval this and see if it solves your Org tags issue? (cl-defmethod ebdb-read ((field (subclass ebdb-org-field-tags)) &optional slots obj) (let* ((crm-separator (cadr (assq 'ebdb-field-tags ebdb-separator-alist))) (val (completing-read-multiple "Tags: " (org--tag-add-to-alist (org--tag-add-to-alist (org--tag-add-to-alist (org-global-tags-completion-table) org-tag-alist) org-tag-persistent-alist) ebdb-tags) nil nil (when obj (ebdb-string obj)) 'org-tags-history))) (cl-call-next-method field (plist-put slots :tags val))))