GNU logs - #38918, boring messages


Message sent to eric@HIDDEN, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: jorge+list@HIDDEN (Jorge P. de Morais Neto)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: eric@HIDDEN, bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 04 Jan 2020 14:18:02 +0000
Resent-Message-ID: <handler.38918.B.157814744811162 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 38918 <at> debbugs.gnu.org
Cc: eric@HIDDEN
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
X-Debbugs-Original-Xcc: eric@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.157814744811162
          (code B ref -1); Sat, 04 Jan 2020 14:18:02 +0000
Received: (at submit) by debbugs.gnu.org; 4 Jan 2020 14:17:28 +0000
Received: from localhost ([127.0.0.1]:42578 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1inkF5-0002ty-RJ
	for submit <at> debbugs.gnu.org; Sat, 04 Jan 2020 09:17:28 -0500
Received: from lists.gnu.org ([209.51.188.17]:40265)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jorge+list@HIDDEN>) id 1inkF4-0002tq-7D
 for submit <at> debbugs.gnu.org; Sat, 04 Jan 2020 09:17:26 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:47151)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <jorge+list@HIDDEN>) id 1inkF1-0002Mv-V7
 for bug-gnu-emacs@HIDDEN; Sat, 04 Jan 2020 09:17:26 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jorge+list@HIDDEN>) id 1inkF0-0001Mo-6L
 for bug-gnu-emacs@HIDDEN; Sat, 04 Jan 2020 09:17:23 -0500
Received: from knopi.disroot.org ([178.21.23.139]:49750)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jorge+list@HIDDEN>)
 id 1inkEz-0001EH-J8
 for bug-gnu-emacs@HIDDEN; Sat, 04 Jan 2020 09:17:22 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id ACE8220AEC
 for <bug-gnu-emacs@HIDDEN>; Sat,  4 Jan 2020 15:17:18 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id blWgg58tEmsF for <bug-gnu-emacs@HIDDEN>;
 Sat,  4 Jan 2020 15:17:17 +0100 (CET)
From: jorge+list@HIDDEN (Jorge P. de Morais Neto)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1578147437; bh=kPZCRKjVXm3zA59BWW5AC9P0TIawHlWEco7kY351izs=;
 h=From:To:Subject:Date;
 b=HBPRWr0CRID8fWdZaylug6KCCBRiuS0CDxyfyuphvzm4Sr5WqCDcw5rYl7Q/xma5g
 hF7FEx+6lSHXCbZoKUyh5iqKkgWsX69iU1N+6rM5g3qpN6yBru7YNZLFCTIIuCcxsV
 aNmFqaCe2ekBCt9Hc6hjviVa9XJ6NbUEX/oIFBwMoSt9m1EwAOs4tkIOHdD4pJ6p11
 2tNY6oXwvGql4eQf/HCt84fGv1NcYJrhbUQuZrO8ylZpflKzVw6mpa4caZPt9thuc0
 7MV/jZPLFJFeA/kUDeGi9Sn06P/tvRuol9CnKVL9JjYYxVN6CHszJaI5h6WCPth+rz
 aTYZzzN5zDLTQ==
Date: Sat, 04 Jan 2020 11:17:05 -0300
Message-ID: <87d0bzcnmm.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 178.21.23.139
X-Spam-Score: -1.4 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: application/emacs-lisp
Content-Disposition: attachment; filename=ebdb
Content-Transfer-Encoding: quoted-printable
Content-Description: A small EBDB database where the error can be reproduced

;; Object ebdb-db-file
;; EBDB file-persistent database
(ebdb-db-file "ebdb-db-file"
  :file "ebdb"
  :label "File: ebdb"
  :uuid
  (ebdb-field-uuid "ebdb-field-uuid"
    :uuid "41310d36-e033-4b31-81fa-c1c9421c8cb7")
  :sync-time '(24080 37962 260412 761000)
  :records
  (list
    (ebdb-record-person "ebdb-record-person"
      :uuid
      (ebdb-field-uuid "ebdb-field-uuid"
        :uuid "ce30c771-c0e3-4874-ab90-a8e49078e531")
      :creation-date
      (ebdb-field-creation-date "ebdb-field-creation-date"
        :timestamp '(24078 20399 443853 624000))
      :timestamp
      (ebdb-field-timestamp "ebdb-field-timestamp"
        :timestamp '(24080 37967 334162 405000))
      :fields
      (list
        (ebdb-field-tags "ebdb-field-tags"
))
      :name
      (ebdb-field-name-complex "ebdb-field-name-complex"
        :surname "Doe"
        :given-names '("John"))
      :organizations
      (list
        (ebdb-field-role "ebdb-field-role"
          :label "CEO"
          :record-uuid "ce30c771-c0e3-4874-ab90-a8e49078e531"
          :org-uuid "88bf0c5e-6c6c-4317-899a-8cf19dd4c6a5"
          :mail
          (ebdb-field-mail "ebdb-field-mail"
            :mail "john@HIDDEN"
            :priority primary))))
    (ebdb-record-organization "ebdb-record-organization"
      :uuid
      (ebdb-field-uuid "ebdb-field-uuid"
        :uuid "88bf0c5e-6c6c-4317-899a-8cf19dd4c6a5")
      :creation-date
      (ebdb-field-creation-date "ebdb-field-creation-date"
        :timestamp '(24078 20310 981426 250000))
      :timestamp
      (ebdb-field-timestamp "ebdb-field-timestamp"
        :timestamp '(24078 20310 981328 143000))
      :name
      (ebdb-field-name-simple "ebdb-field-name-simple"
        :name "ACME")
      :domain
      (ebdb-field-domain "ebdb-field-domain"
        :domain "acme.com")))
  :record-class ebdb-record-person)

--=-=-=
Content-Type: text/plain
Content-Disposition: inline; filename=ebdb_dribble
Content-Description: Contents of the dribble file up to the error
Content-Transfer-Encoding: quoted-printable

 0x8000078ebdb<return><return>=0Ee=0EE
--=-=-=
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello.  I use the latest EBDB (0.6.11) on an updated Spacemacs (develop
branch) atop GNU Emacs 26.3 on an updated Debian buster.  Emacs was
installed via GNU Guix.

I cannot add tags to EBDB records.  To help you with reproducing the
bug, I reproduced it on a GNU Emacs configuration where the only
customization was augmenting `package-archives' (which I later realized
was unnecessary) and installing `ebdb'.  I also used a minimal EBDB
database.  I then inserted a tags field in one record; EBDB did not ask
for the contents of the field, so an empty tags field was inserted.

Then I restarted Emacs, invoked `toggle-debug-on-error', opened the
dribble file and quickly reproduced the bug:

1. Invoke M-x ebdb; <RET><RET>;
2. Move to the tags field; press e (Emacs says "Point not in field");
3. Return to the tags field; press E (a backtrace is shown).

The backtrace shown after pressing E:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (cl-no-applicable-method clone nil)
  signal(cl-no-applicable-method (clone nil))
  cl-no-applicable-method(#s(cl--generic :name clone :dispatches ((0 #s(cl-=
-generic-generalizer :name eieio--generic-generalizer :priority 50 :tagcode=
-function cl--generic-struct-tag :specializers-function #f(compiled-functio=
n (tag &rest _) #<bytecode 0x4b131d>)) #s(cl--generic-generalizer :name cl-=
-generic-t-generalizer :priority 0 :tagcode-function #f(compiled-function (=
name &rest _) #<bytecode 0x1d837d>) :specializers-function #f(compiled-func=
tion (tag &rest _) #<bytecode 0x1d8391>)))) :method-table (#s(cl--generic-m=
ethod :specializers (eieio-named) :qualifiers nil :uses-cnm t :function #f(=
compiled-function (obj &rest params) "Clone OBJ, initializing `:parent' to =
OBJ.\nAll slots are unbound, except those initialized with PARAMS." #<bytec=
ode 0xf987a1>)) #s(cl--generic-method :specializers (eieio-instance-inherit=
or) :qualifiers nil :uses-cnm t :function #f(compiled-function (obj &rest p=
arams) "Clone OBJ, initializing `:parent' to OBJ.\nAll slots are unbound, e=
xcept those initialized with PARAMS." #<bytecode 0xd0f955>)) #s(cl--generic=
-method :specializers (eieio-default-superclass) :qualifiers nil :uses-cnm =
nil :function #f(compiled-function (obj &rest params) "Make a copy of OBJ, =
and then apply PARAMS." #<bytecode 0x4ac7bd>))) :options nil) nil)
  apply(cl-no-applicable-method #s(cl--generic :name clone :dispatches ((0 =
#s(cl--generic-generalizer :name eieio--generic-generalizer :priority 50 :t=
agcode-function cl--generic-struct-tag :specializers-function #f(compiled-f=
unction (tag &rest _) #<bytecode 0x4b131d>)) #s(cl--generic-generalizer :na=
me cl--generic-t-generalizer :priority 0 :tagcode-function #f(compiled-func=
tion (name &rest _) #<bytecode 0x1d837d>) :specializers-function #f(compile=
d-function (tag &rest _) #<bytecode 0x1d8391>)))) :method-table (#s(cl--gen=
eric-method :specializers (eieio-named) :qualifiers nil :uses-cnm t :functi=
on #f(compiled-function (obj &rest params) "Clone OBJ, initializing `:paren=
t' to OBJ.\nAll slots are unbound, except those initialized with PARAMS." #=
<bytecode 0xf987a1>)) #s(cl--generic-method :specializers (eieio-instance-i=
nheritor) :qualifiers nil :uses-cnm t :function #f(compiled-function (obj &=
rest params) "Clone OBJ, initializing `:parent' to OBJ.\nAll slots are unbo=
und, except those initialized with PARAMS." #<bytecode 0xd0f955>)) #s(cl--g=
eneric-method :specializers (eieio-default-superclass) :qualifiers nil :use=
s-cnm nil :function #f(compiled-function (obj &rest params) "Make a copy of=
 OBJ, and then apply PARAMS." #<bytecode 0x4ac7bd>))) :options nil) nil)
  #f(compiled-function (&rest args) #<bytecode 0xd1ad45>)(nil)
  apply(#f(compiled-function (&rest args) #<bytecode 0xd1ad45>) nil nil)
  clone(nil)
  ebdb-edit-field-customize(#<ebdb-record-person John Doe> nil)
  funcall-interactively(ebdb-edit-field-customize #<ebdb-record-person John=
 Doe> nil)
  call-interactively(ebdb-edit-field-customize nil nil)
  command-execute(ebdb-edit-field-customize)
--8<---------------cut here---------------end--------------->8---


In GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.12)
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description:	Debian GNU/Linux 10 (buster)

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Debug on Error enabled globally
Loading EBDB sources...
Initializing EBDB records... done
Formatting EBDB...done.
Point not in field
Entering debugger...
Saving file /home/jorge/ebdb_backtrace...
Wrote /home/jorge/ebdb_backtrace

Configured using:
 'configure
 CONFIG_SHELL=3D/gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.=
0.7/bin/bash
 SHELL=3D/gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin=
/bash
 --prefix=3D/gnu/store/hg2qd5ggvnxq5gfdhxqpidhm3rr8vysr-emacs-26.3
 --enable-fast-install --with-modules --disable-build-details'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS

Important settings:
  value of $EMACSLOADPATH: /home/jorge/.guix-profile/share/emacs/site-lisp:=
/home/jorge/.guix-profile/share/emacs/26.3/lisp
  value of $LC_MONETARY: pt_BR.UTF-8
  value of $LC_NUMERIC: pt_BR.UTF-8
  value of $LC_TIME: pt_BR.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: EBDB

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils cl-print debug ebdb-com crm mailabbrev ebdb-format
ebdb cl-extra help-mode eieio-opt speedbar sb-image ezimage dframe
find-func eieio-base pcase subr-x cal-menu calendar cal-loaddefs map
timezone cus-start cus-load elec-pair finder-inf info package easymenu
epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache url-vars guix-emacs rx seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 152599 8435)
 (symbols 48 25475 1)
 (miscs 40 108 149)
 (strings 32 45705 1601)
 (string-bytes 1 1278319)
 (vectors 16 23222)
 (vector-slots 8 653535 11456)
 (floats 8 60 85)
 (intervals 56 680 0)
 (buffers 992 15))

Regards

--=-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: jorge+list@HIDDEN (Jorge P. de Morais Neto)
Subject: bug#38918: Acknowledgement (26.3; EBDB fails to edit (add) tags)
Message-ID: <handler.38918.B.157814744811162.ack <at> debbugs.gnu.org>
References: <87d0bzcnmm.fsf@HIDDEN>
X-Gnu-PR-Message: ack 38918
X-Gnu-PR-Package: emacs
Reply-To: 38918 <at> debbugs.gnu.org
Date: Sat, 04 Jan 2020 14:18:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
  eric@HIDDEN
(after having been given a bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 38918 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
38918: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38918
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Eric Abrahamsen <eric@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 04 Jan 2020 17:59:02 +0000
Resent-Message-ID: <handler.38918.B38918.15781607211348 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: jorge+list@HIDDEN (Jorge P. de Morais Neto)
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.15781607211348
          (code B ref 38918); Sat, 04 Jan 2020 17:59:02 +0000
Received: (at 38918) by debbugs.gnu.org; 4 Jan 2020 17:58:41 +0000
Received: from localhost ([127.0.0.1]:43363 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1innhB-0000Lg-HL
	for submit <at> debbugs.gnu.org; Sat, 04 Jan 2020 12:58:41 -0500
Received: from ericabrahamsen.net ([52.70.2.18]:53382
 helo=mail.ericabrahamsen.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1innh9-0000LM-Ew
 for 38918 <at> debbugs.gnu.org; Sat, 04 Jan 2020 12:58:40 -0500
Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141])
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 280A6FA080;
 Sat,  4 Jan 2020 17:58:32 +0000 (UTC)
From: Eric Abrahamsen <eric@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN>
Date: Sat, 04 Jan 2020 09:58:30 -0800
In-Reply-To: <87d0bzcnmm.fsf@HIDDEN> (Jorge P. de Morais Neto's message
 of "Sat, 04 Jan 2020 11:17:05 -0300")
Message-ID: <874kxbnlx5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

jorge+list@HIDDEN (Jorge P. de Morais Neto) writes:

>  0x8000078ebdb<return><return>eE
>
> Hello.  I use the latest EBDB (0.6.11) on an updated Spacemacs (develop
> branch) atop GNU Emacs 26.3 on an updated Debian buster.  Emacs was
> installed via GNU Guix.
>
> I cannot add tags to EBDB records.  To help you with reproducing the
> bug, I reproduced it on a GNU Emacs configuration where the only
> customization was augmenting `package-archives' (which I later realized
> was unnecessary) and installing `ebdb'.  I also used a minimal EBDB
> database.  I then inserted a tags field in one record; EBDB did not ask
> for the contents of the field, so an empty tags field was inserted.

Bah, that's embarrassing. I only ever use the Org-specific tags, and
never noticed I'd forgotten to write an `ebdb-read' method for generic
tags. I'll have a patch for you to test later today.

Thanks for the report,
Eric




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Eric Abrahamsen <eric@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 04 Jan 2020 18:56:01 +0000
Resent-Message-ID: <handler.38918.B38918.15781641527846 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: jorge+list@HIDDEN (Jorge P. de Morais Neto)
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.15781641527846
          (code B ref 38918); Sat, 04 Jan 2020 18:56:01 +0000
Received: (at 38918) by debbugs.gnu.org; 4 Jan 2020 18:55:52 +0000
Received: from localhost ([127.0.0.1]:43377 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1inoaW-00022U-IF
	for submit <at> debbugs.gnu.org; Sat, 04 Jan 2020 13:55:52 -0500
Received: from ericabrahamsen.net ([52.70.2.18]:54450
 helo=mail.ericabrahamsen.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1inoaU-000225-60
 for 38918 <at> debbugs.gnu.org; Sat, 04 Jan 2020 13:55:51 -0500
Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141])
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 73A19FA080;
 Sat,  4 Jan 2020 18:55:43 +0000 (UTC)
From: Eric Abrahamsen <eric@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN>
Date: Sat, 04 Jan 2020 10:55:41 -0800
In-Reply-To: <87d0bzcnmm.fsf@HIDDEN> (Jorge P. de Morais Neto's message
 of "Sat, 04 Jan 2020 11:17:05 -0300")
Message-ID: <87zhf3m4pe.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

jorge+list@HIDDEN (Jorge P. de Morais Neto) writes:

>  0x8000078ebdb<return><return>eE
>
> Hello.  I use the latest EBDB (0.6.11) on an updated Spacemacs (develop
> branch) atop GNU Emacs 26.3 on an updated Debian buster.  Emacs was
> installed via GNU Guix.
>
> I cannot add tags to EBDB records.  To help you with reproducing the
> bug, I reproduced it on a GNU Emacs configuration where the only
> customization was augmenting `package-archives' (which I later realized
> was unnecessary) and installing `ebdb'.  I also used a minimal EBDB
> database.  I then inserted a tags field in one record; EBDB did not ask
> for the contents of the field, so an empty tags field was inserted.

Would you please eval the following forms and let me know if everything
works as expected?


(cl-defmethod ebdb-read ((field (subclass ebdb-field-tags)) &optional slots obj)
  (let* ((crm-separator (cadr (assq 'ebdb-field-tags ebdb-separator-alist)))
	 (val (completing-read-multiple
	       (format "Tags (separate with \"%s\"): " crm-separator)
	       ebdb-tags
	       nil nil
	       (when obj (ebdb-string obj)))))
    (cl-call-next-method field (plist-put slots :tags val))))


(cl-defmethod ebdb-fmt-field :around ((_fmt ebdb-formatter-ebdb)
				      (field ebdb-field)
				      _style
				      (_record ebdb-record))
  "Put the 'ebdb-field text property on FIELD.  The value of the
property is the field instance itself."
  (let ((str (cl-call-next-method)))
    (propertize (if (or (null str)
			(string-empty-p str))
		    "<empty>"
		  str)
		'ebdb-field field)))




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Jan 2020 00:03:01 +0000
Resent-Message-ID: <handler.38918.B38918.157818255621392 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eric Abrahamsen <eric@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157818255621392
          (code B ref 38918); Sun, 05 Jan 2020 00:03:01 +0000
Received: (at 38918) by debbugs.gnu.org; 5 Jan 2020 00:02:36 +0000
Received: from localhost ([127.0.0.1]:43501 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1intNL-0005Yy-VA
	for submit <at> debbugs.gnu.org; Sat, 04 Jan 2020 19:02:36 -0500
Received: from knopi.disroot.org ([178.21.23.139]:47154)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jorge+list@HIDDEN>) id 1intNK-0005Yn-Ef
 for 38918 <at> debbugs.gnu.org; Sat, 04 Jan 2020 19:02:34 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id C7ECF2177F;
 Sun,  5 Jan 2020 01:02:29 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id b53D_NyH8wFc; Sun,  5 Jan 2020 01:02:28 +0100 (CET)
From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1578182548; bh=5zQOnTpeYTnbehx8RTuBQTaWLQ+zGVqv0lPNUeetN44=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=ZMDaRYae7UWxjRckjjw2xWbFA4Z2ZLbZ3SLo8ze6XYOwlkzF+WhIdr2JAoBSxXpc2
 7ZjKJ8n8bP1+Td9Ul9xl012aZh4AwSc8tT4iXrJLHDEi8Kbv/lXaGTa1Ej/A2QeTLz
 82bRWEhTlEXLI+IoKmatVTsiublqklLCsp87y6gwiSW281048TYghE01qNOf9tUGxW
 b0gCy9AoRFymkAz3IqoI2dfyjn0Nvvx/B7Ueae8e90TRGhgejj5lH+7XNhUKYvYb1N
 WpIGWqnCsujuQueesMy88QcyO12Klwi3wc5Rj3WHc2Iwt4NEo1JJKVmCkmqi/ikxR3
 hk2lkPObkiZ8g==
In-Reply-To: <87zhf3m4pe.fsf@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
Date: Sat, 04 Jan 2020 21:02:16 -0300
Message-ID: <87blri6a9j.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Disposition: inline; filename=erro.txt
Content-Transfer-Encoding: quoted-printable
Content-Description: Big error message

Error inserting field: cl-no-applicable-method, (ebdb-record-delete-field #=
s(ebdb-record-person #s(ebdb-field-uuid ce30c771-c0e3-4874-ab90-a8e49078e53=
1) #s(ebdb-field-creation-date (24078 20399 443853 624000)) #s(ebdb-field-t=
imestamp (24081 9450 666073 294000)) (#s(ebdb-field-tags (TODO))) nil nil t=
 #s(ebdb-cache John Doe (John Doe Doe, John) (ACME) nil (john@HIDDEN) doe=
, john (#s(ebdb-db-file ~/.emacs.d/ebdb File: ebdb #s(ebdb-field-uuid 41310=
d36-e033-4b31-81fa-c1c9421c8cb7) (24081 9445 487995 717000) (#1 #s(ebdb-rec=
ord-organization #s(ebdb-field-uuid 88bf0c5e-6c6c-4317-899a-8cf19dd4c6a5) #=
s(ebdb-field-creation-date (24078 20310 981426 250000)) #s(ebdb-field-times=
tamp (24078 20310 981328 143000)) nil nil nil nil #s(ebdb-cache ACME nil ni=
l nil nil acme (#4)) nil nil nil #s(ebdb-field-name-simple ACME) #s(ebdb-fi=
eld-domain acme.com))) nil 0.1  nil t t nil ebdb-record-person))) nil nil n=
il #s(ebdb-field-name-complex Doe (John) nil nil nil) nil nil (#s(ebdb-fiel=
d-role CEO ce30c771-c0e3-4874-ab90-a8e49078e531 88bf0c5e-6c6c-4317-899a-8cf=
19dd4c6a5 #s(ebdb-field-mail nil john@HIDDEN primary) nil nil))) (#s(ebdb=
-field-tags (TODO))))

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Em [2020-01-04 s=C3=A1b 10:55:41-0800], Eric Abrahamsen escreveu:

> Would you please eval the following forms and let me know if everything
> works as expected?
> [...]

Thank you for the fix.  With it I can indeed insert a tag.  I tested on
my real EBDB database on Spacemacs develop as well as on the pure GNU
Emacs with minimal customization and minimal EBDB database I used to
reproduce this bug.  The tests were quick however, I just added a small
tag to a few records, and on one case I edited a tags field to add a
second tag (manually separated by ":").

There are still quirks:

1. When hitting "i" to insert a tags field on a record that already has
   a tags field, I get a big error message (attached).  I would prefer a
   short and clear error message.
2. When editing a tags field with the extended interface ("E"), and
   adding a second tag, I can successfully hit "[Apply]" and it works;
   but when hitting "[Accept]" I get an error.

Regards

--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Eric Abrahamsen <eric@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Jan 2020 00:36:02 +0000
Resent-Message-ID: <handler.38918.B38918.157818455925061 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157818455925061
          (code B ref 38918); Sun, 05 Jan 2020 00:36:02 +0000
Received: (at 38918) by debbugs.gnu.org; 5 Jan 2020 00:35:59 +0000
Received: from localhost ([127.0.0.1]:43507 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1intte-0006W8-LI
	for submit <at> debbugs.gnu.org; Sat, 04 Jan 2020 19:35:58 -0500
Received: from ericabrahamsen.net ([52.70.2.18]:60380
 helo=mail.ericabrahamsen.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1inttd-0006Vu-5t
 for 38918 <at> debbugs.gnu.org; Sat, 04 Jan 2020 19:35:57 -0500
Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141])
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 1B372FA090;
 Sun,  5 Jan 2020 00:35:50 +0000 (UTC)
From: Eric Abrahamsen <eric@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN>
Date: Sat, 04 Jan 2020 16:35:48 -0800
In-Reply-To: <87blri6a9j.fsf@HIDDEN> (Jorge P. de Morais Neto's message
 of "Sat, 04 Jan 2020 21:02:16 -0300")
Message-ID: <87v9pqn3iz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Jorge P. de Morais Neto <jorge+list@HIDDEN> writes:

[...]

> Thank you for the fix. With it I can indeed insert a tag. I tested on
> my real EBDB database on Spacemacs develop as well as on the pure GNU
> Emacs with minimal customization and minimal EBDB database I used to
> reproduce this bug. The tests were quick however, I just added a small
> tag to a few records, and on one case I edited a tags field to add a
> second tag (manually separated by ":").
>
> There are still quirks:
>
> 1. When hitting "i" to insert a tags field on a record that already has
> a tags field, I get a big error message (attached). I would prefer a
> short and clear error message.
> 2. When editing a tags field with the extended interface ("E"), and
> adding a second tag, I can successfully hit "[Apply]" and it works;
> but when hitting "[Accept]" I get an error.

Well this is still weird. I can reproduce number 1 above, but not number
2. Let me first fix the problems I can reproduce, and then try to figure
out exactly why I'm not seeing what you're seeing.

Thanks,
Eric




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Eric Abrahamsen <eric@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Jan 2020 00:44:02 +0000
Resent-Message-ID: <handler.38918.B38918.157818499325690 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157818499325690
          (code B ref 38918); Sun, 05 Jan 2020 00:44:02 +0000
Received: (at 38918) by debbugs.gnu.org; 5 Jan 2020 00:43:13 +0000
Received: from localhost ([127.0.0.1]:43511 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1inu0f-0006gI-GD
	for submit <at> debbugs.gnu.org; Sat, 04 Jan 2020 19:43:13 -0500
Received: from ericabrahamsen.net ([52.70.2.18]:60524
 helo=mail.ericabrahamsen.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1inu0d-0006g5-7y
 for 38918 <at> debbugs.gnu.org; Sat, 04 Jan 2020 19:43:12 -0500
Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141])
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 8A729FA090;
 Sun,  5 Jan 2020 00:43:05 +0000 (UTC)
From: Eric Abrahamsen <eric@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN>
Date: Sat, 04 Jan 2020 16:43:04 -0800
In-Reply-To: <87blri6a9j.fsf@HIDDEN> (Jorge P. de Morais Neto's message
 of "Sat, 04 Jan 2020 21:02:16 -0300")
Message-ID: <87r20en36v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Jorge P. de Morais Neto <jorge+list@HIDDEN> writes:

[...]

> 1. When hitting "i" to insert a tags field on a record that already has
> a tags field, I get a big error message (attached). I would prefer a
> short and clear error message.
> 2. When editing a tags field with the extended interface ("E"), and
> adding a second tag, I can successfully hit "[Apply]" and it works;
> but when hitting "[Accept]" I get an error.

Okay, I've fixed the first problem. For the second, are you getting a
'ebdb-unacceptable-field error, or what is it?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Jan 2020 10:51:02 +0000
Resent-Message-ID: <handler.38918.B38918.157822140628515 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eric Abrahamsen <eric@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157822140628515
          (code B ref 38918); Sun, 05 Jan 2020 10:51:02 +0000
Received: (at 38918) by debbugs.gnu.org; 5 Jan 2020 10:50:06 +0000
Received: from localhost ([127.0.0.1]:43725 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1io3Ty-0007Pr-0a
	for submit <at> debbugs.gnu.org; Sun, 05 Jan 2020 05:50:06 -0500
Received: from knopi.disroot.org ([178.21.23.139]:42910)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jorge+list@HIDDEN>) id 1io3Tv-0007PK-OZ
 for 38918 <at> debbugs.gnu.org; Sun, 05 Jan 2020 05:50:05 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 6D79A2084E;
 Sun,  5 Jan 2020 11:49:59 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id amK5YqQqOm3R; Sun,  5 Jan 2020 11:49:56 +0100 (CET)
From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1578221396; bh=mQUM1FqoSzzXCH5I5Rk7DGH4D0DBdIlgdoUBxO5JzDs=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=bwntiyhZPHQj3lTW3lhUkoXsDBmVNfYBhOmMU2OP+SgnzgztIUwFFh8S+BCV5nUkd
 uI2sqfMkKfc6fe1S5yBPJ7j0NmrAxALTbSzJMB3BFPYEX+gkOt7IbZOanjkYHG1zi6
 kEbm4MyKKvUgks2Bh4Ie/cD0ibRrZbKt99i5BSXTII1WsWROdkbBuLwy2Zd8YK7ccs
 4xLfxwgJL8t6JHlBpdbLJaMVfKWW/E9wgK8ItJJucLWzl5p99du2EHuLugYWib96R/
 hvkHglLeuAa9RDRhNrlMFvJ1+Y4fByij9DziK8iW4bZfkjPLqymtdTrB9/FZM4PNTS
 /37LxVOcEcmVg==
In-Reply-To: <87r20en36v.fsf@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
Date: Sun, 05 Jan 2020 07:49:43 -0300
Message-ID: <87v9pqgou0.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Disposition: inline; filename=erro.txt
Content-Description: Error when editing tags using the customize interface

cl-no-applicable-method: No applicable method: ebdb-record-delete-field, #s(ebdb-record-person #s(ebdb-field-uuid "ce30c771-c0e3-4874-ab90-a8e49078e531") #s(ebdb-field-creation-date (24078 20399 443853 624000)) #s(ebdb-field-timestamp (24081 48590 249568 725000)) (#s(ebdb-field-tags ("TODO"))) nil nil t #s(ebdb-cache "John Doe" ("John Doe" "Doe, John") ("ACME") nil ("john@HIDDEN") "doe, john" (#s(ebdb-db-file "~/.emacs.d/ebdb" "File: ebdb" #s(ebdb-field-uuid "41310d36-e033-4b31-81fa-c1c9421c8cb7") (24081 48578 561310 979000) (#0 #s(ebdb-record-organization #s(ebdb-field-uuid "88bf0c5e-6c6c-4317-899a-8cf19dd4c6a5") #s(ebdb-field-creation-date (24078 20310 981426 250000)) #s(ebdb-field-timestamp (24078 20310 981328 143000)) nil nil nil nil #s(ebdb-cache "ACME" nil nil nil nil "acme" (#3)) nil ...)) nil "0.1" "" nil ...))) nil ...), (#s(ebdb-field-tags ("TODO")))

--=-=-=
Content-Type: text/plain
Content-Disposition: attachment; filename=ebdb

;; Object ebdb-db-file
;; EBDB file-persistent database
(ebdb-db-file "ebdb-db-file"
  :file "ebdb"
  :label "File: ebdb"
  :uuid
  (ebdb-field-uuid "ebdb-field-uuid"
    :uuid "41310d36-e033-4b31-81fa-c1c9421c8cb7")
  :sync-time '(24081 48356 371204 372000)
  :records
  (list
    (ebdb-record-person "ebdb-record-person"
      :uuid
      (ebdb-field-uuid "ebdb-field-uuid"
        :uuid "ce30c771-c0e3-4874-ab90-a8e49078e531")
      :creation-date
      (ebdb-field-creation-date "ebdb-field-creation-date"
        :timestamp '(24078 20399 443853 624000))
      :timestamp
      (ebdb-field-timestamp "ebdb-field-timestamp"
        :timestamp '(24081 48374 24658 809000))
      :fields
      (list
        (ebdb-field-tags "ebdb-field-tags"
          :tags '("TODO" "test")))
      :name
      (ebdb-field-name-complex "ebdb-field-name-complex"
        :surname "Doe"
        :given-names '("John"))
      :organizations
      (list
        (ebdb-field-role "ebdb-field-role"
          :label "CEO"
          :record-uuid "ce30c771-c0e3-4874-ab90-a8e49078e531"
          :org-uuid "88bf0c5e-6c6c-4317-899a-8cf19dd4c6a5"
          :mail
          (ebdb-field-mail "ebdb-field-mail"
            :mail "john@HIDDEN"
            :priority primary))))
    (ebdb-record-organization "ebdb-record-organization"
      :uuid
      (ebdb-field-uuid "ebdb-field-uuid"
        :uuid "88bf0c5e-6c6c-4317-899a-8cf19dd4c6a5")
      :creation-date
      (ebdb-field-creation-date "ebdb-field-creation-date"
        :timestamp '(24078 20310 981426 250000))
      :timestamp
      (ebdb-field-timestamp "ebdb-field-timestamp"
        :timestamp '(24078 20310 981328 143000))
      :name
      (ebdb-field-name-simple "ebdb-field-name-simple"
        :name "ACME")
      :domain
      (ebdb-field-domain "ebdb-field-domain"
        :domain "acme.com")))
  :record-class ebdb-record-person)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Em [2020-01-04 s=C3=A1b 16:43:04-0800], Eric Abrahamsen escreveu:

> Okay, I've fixed the first problem.

Thanks!

> For the second, are you getting a 'ebdb-unacceptable-field error, or
> what is it?

I get the error attached.  I also attached the EBDB database I used to
get the error.  And how I got it:

1. Start Emacs
2. Invoke M-x ebdb <RET><RET>
3. Move point to the tags line (it has two tags)
4. Hit "E"
5. Delete the second tag
6. Hit [Apply]
7. Hit [Accept]

Notice that I hit [Accept] after hitting [Apply].  This is how the error
occurs.  Sorry for not mentioning that in the first email.

Regards
--=20
- <https://jorgemorais.gitlab.io/justice-for-rms/>
- I am Brazilian.  I hope my English is correct and I welcome feedback.
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
- Free/libre software for Replicant, LineageOS and Android: https://f-droid=
.org
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]


--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 06 Jan 2020 18:44:02 +0000
Resent-Message-ID: <handler.38918.B38918.157833623610375 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eric Abrahamsen <eric@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157833623610375
          (code B ref 38918); Mon, 06 Jan 2020 18:44:02 +0000
Received: (at 38918) by debbugs.gnu.org; 6 Jan 2020 18:43:56 +0000
Received: from localhost ([127.0.0.1]:46794 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ioXM4-0002hG-Bs
	for submit <at> debbugs.gnu.org; Mon, 06 Jan 2020 13:43:56 -0500
Received: from knopi.disroot.org ([178.21.23.139]:37456)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jorge+list@HIDDEN>) id 1ioXM2-0002h4-AG
 for 38918 <at> debbugs.gnu.org; Mon, 06 Jan 2020 13:43:54 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id AFE1521F47;
 Mon,  6 Jan 2020 19:43:49 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id z7HKke2JdfxH; Mon,  6 Jan 2020 19:43:48 +0100 (CET)
From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1578336228; bh=m90WX34LOVwvSY66wfy9IlyFNxJTiRo2aOJef9EK8M4=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=MI+VPVcXYo5URLKldGESgiDakDUNjHLxFkiZxQXyUPhSPHkZcJeIX1CaukUOWYQRu
 0W2xYhH714WFTcHGpeb8CBWzq7p1fP1DXN0+S8qiSIppUvgPig7SyRNXO5c6ADZRjd
 YtUgyhwFGbSUW1fEL8/WmVUryGrzOnzNMRG/GA+BP3Gjh4UpRcDWYXNxkIwrl8xnla
 Njq/BpNCKYFRMIjLWnVyCnE5LNS5qMcStjU+s8WEdj8mMR4MLulibpYRjjXEoDf0gN
 dI7zg6YjkRQYTEopd1BPUvtwlgtFE03EJBVZmezeMTVHADu/Sb8IZR3FneAFeMzh8D
 NkOe5Dt7r/2yQ==
In-Reply-To: <87v9pqgou0.fsf@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN>
Date: Mon, 06 Jan 2020 15:43:38 -0300
Message-ID: <87o8vgifxh.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi.  What is the procedure to make EBDB work with Org Tags?  I tried
opening a minimally customized Emacs (with the attached EBDB database in
.emacs.d/) and:

1. Set org-tag-alist
2. Execute the following three requires:
   (require 'org)
   (require 'ebdb)
   (require 'ebdb-org)
3. Invoke M-x ebdb <RET> <RET>
4. Insert a new field by hitting "i"
5. Choose org tags as the field type
6. My Org tags are not offered for completion

Regards
-- 
- <https://jorgemorais.gitlab.io/justice-for-rms/>
- I am Brazilian.  I hope my English is correct and I welcome feedback.
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
- Free/libre software for Replicant, LineageOS and Android: https://f-droid.org
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 06 Jan 2020 18:47:01 +0000
Resent-Message-ID: <handler.38918.B38918.157833639415157 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eric Abrahamsen <eric@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157833639415157
          (code B ref 38918); Mon, 06 Jan 2020 18:47:01 +0000
Received: (at 38918) by debbugs.gnu.org; 6 Jan 2020 18:46:34 +0000
Received: from localhost ([127.0.0.1]:46799 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ioXOb-0003w8-QG
	for submit <at> debbugs.gnu.org; Mon, 06 Jan 2020 13:46:34 -0500
Received: from knopi.disroot.org ([178.21.23.139]:35114)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jorge+list@HIDDEN>) id 1ioXOa-0003sC-6g
 for 38918 <at> debbugs.gnu.org; Mon, 06 Jan 2020 13:46:32 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 71B6921EEE;
 Mon,  6 Jan 2020 19:46:28 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id h3v9bgKxWikn; Mon,  6 Jan 2020 19:46:27 +0100 (CET)
From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1578336386; bh=ihgnPUmqK5ruBh7y+IN2Nek5gT6HSSIynetndjQc0Ag=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=DJ7frD51sYv3Geb7IfniKj0/ZqebBSzR+FCmAWjN2qgMwRnaMhEj3z/lEt2X0LcTV
 EoTfI3hURMtzkuE2iD3Uwup8PnAvAvFxz+UU9f9NeM0IR/gD2z5ad4uEzhNUrXFHs7
 yToTi2tPZ1mCbh/o/EzMZObNyBHNiY6ZyEj+6VnT1tRuLVl+/BZ376jAlNQOLpVkeD
 N0CRX7g2IUU3xF1twY2J+wRbc/pJMOaSnpjYlDK0XmY1Zv1+d7vWtUxPFeLi5pasCJ
 SaPA7w2sTkSZc2wJu1Yk7+fkI8VFcN1u/Ustbmi54YVOEq/3yVhZ1QeK9nLsOEMpip
 WZzBkNRrY1nhQ==
In-Reply-To: <87o8vgifxh.fsf@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN> <87o8vgifxh.fsf@HIDDEN>
Date: Mon, 06 Jan 2020 15:46:20 -0300
Message-ID: <87lfqkifsz.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Disposition: attachment; filename=ebdb

;; Object ebdb-db-file
;; EBDB file-persistent database
(ebdb-db-file "ebdb-db-file"
  :file "ebdb"
  :label "File: ebdb"
  :uuid
  (ebdb-field-uuid "ebdb-field-uuid"
    :uuid "4d878781-a0c7-4c1b-8e9b-5ded097a9a89")
  :sync-time '(24083 31105 239427 166000)
  :records
  (list
    (ebdb-record-person "ebdb-record-person"
      :uuid
      (ebdb-field-uuid "ebdb-field-uuid"
        :uuid "196a6c43-c1cc-4c20-9e8a-23f4e30d4bf7")
      :creation-date
      (ebdb-field-creation-date "ebdb-field-creation-date"
        :timestamp '(24083 31034 623446 825000))
      :timestamp
      (ebdb-field-timestamp "ebdb-field-timestamp"
        :timestamp '(24083 31126 575243 351000))
      :name
      (ebdb-field-name-complex "ebdb-field-name-complex"
        :surname "Doe"
        :given-names '("John"))))
  :record-class ebdb-record-person)

--=-=-=
Content-Type: text/plain


Em [2020-01-06 seg 15:43:38-0300], Jorge P. de Morais Neto escreveu:

> Hi.  What is the procedure to make EBDB work with Org Tags?  I tried
> opening a minimally customized Emacs (with the attached EBDB database in
> .emacs.d/) and:

Forgot to attach the database.
-- 
- <https://jorgemorais.gitlab.io/justice-for-rms/>
- I am Brazilian.  I hope my English is correct and I welcome feedback.
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
- Free/libre software for Replicant, LineageOS and Android: https://f-droid.org
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]

--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Eric Abrahamsen <eric@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 06 Jan 2020 19:41:02 +0000
Resent-Message-ID: <handler.38918.B38918.157833964023256 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157833964023256
          (code B ref 38918); Mon, 06 Jan 2020 19:41:02 +0000
Received: (at 38918) by debbugs.gnu.org; 6 Jan 2020 19:40:40 +0000
Received: from localhost ([127.0.0.1]:46831 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ioYEx-000632-Q4
	for submit <at> debbugs.gnu.org; Mon, 06 Jan 2020 14:40:40 -0500
Received: from ericabrahamsen.net ([52.70.2.18]:48634
 helo=mail.ericabrahamsen.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1ioYEv-00062p-MI
 for 38918 <at> debbugs.gnu.org; Mon, 06 Jan 2020 14:40:38 -0500
Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141])
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 74AC6FA080;
 Mon,  6 Jan 2020 19:40:31 +0000 (UTC)
From: Eric Abrahamsen <eric@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN>
Date: Mon, 06 Jan 2020 11:40:30 -0800
In-Reply-To: <87v9pqgou0.fsf@HIDDEN> (Jorge P. de Morais Neto's message
 of "Sun, 05 Jan 2020 07:49:43 -0300")
Message-ID: <8736csz841.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


On 01/05/20 07:49 AM, Jorge P. de Morais Neto wrote:
> cl-no-applicable-method: No applicable method:
> ebdb-record-delete-field, #s(ebdb-record-person #s(ebdb-field-uuid
> "ce30c771-c0e3-4874-ab90-a8e49078e531") #s(ebdb-field-creation-date
> (24078 20399 443853 624000)) #s(ebdb-field-timestamp (24081 48590
> 249568 725000)) (#s(ebdb-field-tags ("TODO"))) nil nil t #s(ebdb-cache
> "John Doe" ("John Doe" "Doe, John") ("ACME") nil ("john@HIDDEN")
> "doe, john" (#s(ebdb-db-file "~/.emacs.d/ebdb" "File: ebdb"
> #s(ebdb-field-uuid "41310d36-e033-4b31-81fa-c1c9421c8cb7") (24081
> 48578 561310 979000) (#0 #s(ebdb-record-organization
> #s(ebdb-field-uuid "88bf0c5e-6c6c-4317-899a-8cf19dd4c6a5")
> #s(ebdb-field-creation-date (24078 20310 981426 250000))
> #s(ebdb-field-timestamp (24078 20310 981328 143000)) nil nil nil nil
> #s(ebdb-cache "ACME" nil nil nil nil "acme" (#3)) nil ...)) nil "0.1"
> "" nil ...))) nil ...), (#s(ebdb-field-tags ("TODO")))
>
>
> Em [2020-01-04 s=C3=A1b 16:43:04-0800], Eric Abrahamsen escreveu:
>
>> Okay, I've fixed the first problem.
>
> Thanks!
>
>> For the second, are you getting a 'ebdb-unacceptable-field error, or
>> what is it?
>
> I get the error attached.  I also attached the EBDB database I used to
> get the error.  And how I got it:

Oh, sorry, these two were actually the same problem, and all should be
fixed now. I've done a 0.6.12 release -- would you update when it's
available and check that this fixes everything? Though I'm not sure if
it will address your other error. Let's get this closed out first.

Thanks,
Eric




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Eric Abrahamsen <eric@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 06 Jan 2020 20:26:02 +0000
Resent-Message-ID: <handler.38918.B38918.15783423173041 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.15783423173041
          (code B ref 38918); Mon, 06 Jan 2020 20:26:02 +0000
Received: (at 38918) by debbugs.gnu.org; 6 Jan 2020 20:25:17 +0000
Received: from localhost ([127.0.0.1]:46863 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ioYw9-0000mw-IP
	for submit <at> debbugs.gnu.org; Mon, 06 Jan 2020 15:25:17 -0500
Received: from ericabrahamsen.net ([52.70.2.18]:49422
 helo=mail.ericabrahamsen.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1ioYw6-0000mg-9u
 for 38918 <at> debbugs.gnu.org; Mon, 06 Jan 2020 15:25:14 -0500
Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141])
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 5616DFA080;
 Mon,  6 Jan 2020 20:25:08 +0000 (UTC)
From: Eric Abrahamsen <eric@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN> <87o8vgifxh.fsf@HIDDEN>
Date: Mon, 06 Jan 2020 12:25:06 -0800
In-Reply-To: <87o8vgifxh.fsf@HIDDEN> (Jorge P. de Morais Neto's message
 of "Mon, 06 Jan 2020 15:43:38 -0300")
Message-ID: <87r20cxrh9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


On 01/06/20 15:43 PM, Jorge P. de Morais Neto wrote:
> Hi.  What is the procedure to make EBDB work with Org Tags?  I tried
> opening a minimally customized Emacs (with the attached EBDB database in
> .emacs.d/) and:

Huh, this is actually more complicated than I thought. I don't set
`org-tag-alist' or `org-tag-persistent-alist', I simply define the tags
by use in my Org files. That allows the
`org-global-tags-completion-table' function to find all my tags, but
apparently that function doesn't consult the user-defined alists.

Let me ask on the Org mailing list if there's a canonical way of doing
this.

Eric




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Eric Abrahamsen <eric@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 06 Jan 2020 20:50:01 +0000
Resent-Message-ID: <handler.38918.B38918.15783437955467 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.15783437955467
          (code B ref 38918); Mon, 06 Jan 2020 20:50:01 +0000
Received: (at 38918) by debbugs.gnu.org; 6 Jan 2020 20:49:55 +0000
Received: from localhost ([127.0.0.1]:46890 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ioZJz-0001Q6-4L
	for submit <at> debbugs.gnu.org; Mon, 06 Jan 2020 15:49:55 -0500
Received: from ericabrahamsen.net ([52.70.2.18]:49892
 helo=mail.ericabrahamsen.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1ioZJw-0001Ps-TA
 for 38918 <at> debbugs.gnu.org; Mon, 06 Jan 2020 15:49:53 -0500
Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141])
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 2DEACFA080;
 Mon,  6 Jan 2020 20:49:45 +0000 (UTC)
From: Eric Abrahamsen <eric@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN> <87o8vgifxh.fsf@HIDDEN>
Date: Mon, 06 Jan 2020 12:49:44 -0800
In-Reply-To: <87o8vgifxh.fsf@HIDDEN> (Jorge P. de Morais Neto's message
 of "Mon, 06 Jan 2020 15:43:38 -0300")
Message-ID: <87d0bwxqc7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Jorge P. de Morais Neto <jorge+list@HIDDEN> writes:

> Hi.  What is the procedure to make EBDB work with Org Tags?  I tried
> opening a minimally customized Emacs (with the attached EBDB database in
> .emacs.d/) and:
>
> 1. Set org-tag-alist
> 2. Execute the following three requires:
>    (require 'org)
>    (require 'ebdb)
>    (require 'ebdb-org)
> 3. Invoke M-x ebdb <RET> <RET>
> 4. Insert a new field by hitting "i"
> 5. Choose org tags as the field type
> 6. My Org tags are not offered for completion

Also, it was a mistake on my part to define a separate field class for
Org tags, vs "regular" non-Org tags. It's enough just to have the
ebdb-org.el define new functions for dealing with the regular tag field
class, there's no need to have a separate class.

In the next week I'm going to add a backwards-compatibility hack so that
creating a new ebdb-org-field-tags instance actually returns an instance
of ebdb-field-tags. Just FYI -- you might as well just use a regular
ebdb-field-tags field, it will get Org integration soon.

Eric




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 07 Jan 2020 12:24:01 +0000
Resent-Message-ID: <handler.38918.B38918.157839981911392 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eric Abrahamsen <eric@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157839981911392
          (code B ref 38918); Tue, 07 Jan 2020 12:24:01 +0000
Received: (at 38918) by debbugs.gnu.org; 7 Jan 2020 12:23:39 +0000
Received: from localhost ([127.0.0.1]:47488 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iontb-0002xg-JB
	for submit <at> debbugs.gnu.org; Tue, 07 Jan 2020 07:23:39 -0500
Received: from knopi.disroot.org ([178.21.23.139]:35672)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jorge+list@HIDDEN>) id 1iontZ-0002xU-Go
 for 38918 <at> debbugs.gnu.org; Tue, 07 Jan 2020 07:23:38 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 0A5D321473;
 Tue,  7 Jan 2020 13:23:33 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 9i0fRGqubSI4; Tue,  7 Jan 2020 13:23:31 +0100 (CET)
From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1578399810; bh=HuX6VkeQOb90axMpVG2jNuAxKeDMIQ3dKT68k4UweQE=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=J69Oe58KRoV2UK43OY1XNtfLxUuS8ibKvXQyaCqZJKGw6OcmNXLolidEONFLAp+qm
 9DLes9dB2O8u2/OOnVHmDY2UCBO8pY1G9jA860ewkhUz3SZh9v97y5nm9McMBQE6rK
 5jRC3p2sEQGhTPtj1mOGtvZkQnRWWiOxKeL4RAIASln/UK+4etLo+VtjSz+HEpJ38w
 zQxvwp6q4bbBvxZjpzQICj4GE8m42rc5AlXWTv4g798uRuXVV/YNWVxBtzEi/AfZCh
 yUYEJRPocgL+ALnkCswPWOtaE+z4VagAlgf7y8SDZMpBSZsMr1IPJkinMzDxSzthiF
 KIKVApNVWPPuQ==
In-Reply-To: <8736csz841.fsf@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN> <8736csz841.fsf@HIDDEN>
Date: Tue, 07 Jan 2020 09:23:24 -0300
Message-ID: <87d0bv1mmb.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Em [2020-01-06 seg 11:40:30-0800], Eric Abrahamsen escreveu:

> Oh, sorry, these two were actually the same problem, and all should be
> fixed now.  I've done a 0.6.12 release -- would you update when it's
> available and check that this fixes everything?  Though I'm not sure
> if it will address your other error.  Let's get this closed out first.

Yes, with EBDB 0.6.12 I can insert and edit tags, and I can edit them
with both "e" and "E".  The error message when, in the extended
customize interface ("E"), I hit "[Apply]" and then "[Accept]", also
seems to have been fixed.  There is still one quirk: when I insert a
tags field on a record that already has a tags field, EBDB overwrites
the old field and, when it asks for the tags, it does not offer the
previous ones as default.  It would be more user-friendly if EBDB either
offered the previous tags as default, or simply signaled an error with a
short and clear message.

And two feature requests:

1. Undo.  So far I have never suffered much for the lack of undo (it is
   only an inconvenience) and of course I leave it up to you to
   prioritize this feature, but it would be useful, though clearly not
   as useful as 2:
2. Compatibility with other contacts formats.  I would like to import my
   Gmail contacts and complete my transition away from G$$gle spyware.

Should I open two bug reports for these two feature requests?

Regards
-- 
- <https://jorgemorais.gitlab.io/justice-for-rms/>
- I am Brazilian.  I hope my English is correct and I welcome feedback.
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
- Free/libre software for Replicant, LineageOS and Android: https://f-droid.org
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Eric Abrahamsen <eric@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 07 Jan 2020 17:38:02 +0000
Resent-Message-ID: <handler.38918.B38918.157841863226150 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157841863226150
          (code B ref 38918); Tue, 07 Jan 2020 17:38:02 +0000
Received: (at 38918) by debbugs.gnu.org; 7 Jan 2020 17:37:12 +0000
Received: from localhost ([127.0.0.1]:49190 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iosn1-0006nf-SI
	for submit <at> debbugs.gnu.org; Tue, 07 Jan 2020 12:37:12 -0500
Received: from ericabrahamsen.net ([52.70.2.18]:44098
 helo=mail.ericabrahamsen.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1iosn0-0006nN-PR
 for 38918 <at> debbugs.gnu.org; Tue, 07 Jan 2020 12:37:11 -0500
Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141])
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 3EF00FA080;
 Tue,  7 Jan 2020 17:37:03 +0000 (UTC)
From: Eric Abrahamsen <eric@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN> <8736csz841.fsf@HIDDEN>
 <87d0bv1mmb.fsf@HIDDEN>
Date: Tue, 07 Jan 2020 09:37:02 -0800
In-Reply-To: <87d0bv1mmb.fsf@HIDDEN> (Jorge P. de Morais Neto's message
 of "Tue, 07 Jan 2020 09:23:24 -0300")
Message-ID: <87h817uq0x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Jorge P. de Morais Neto <jorge+list@HIDDEN> writes:

> Em [2020-01-06 seg 11:40:30-0800], Eric Abrahamsen escreveu:
>
>> Oh, sorry, these two were actually the same problem, and all should be
>> fixed now.  I've done a 0.6.12 release -- would you update when it's
>> available and check that this fixes everything?  Though I'm not sure
>> if it will address your other error.  Let's get this closed out first.
>
> Yes, with EBDB 0.6.12 I can insert and edit tags, and I can edit them
> with both "e" and "E".  The error message when, in the extended
> customize interface ("E"), I hit "[Apply]" and then "[Accept]", also
> seems to have been fixed.  There is still one quirk: when I insert a
> tags field on a record that already has a tags field, EBDB overwrites
> the old field and, when it asks for the tags, it does not offer the
> previous ones as default.  It would be more user-friendly if EBDB either
> offered the previous tags as default, or simply signaled an error with a
> short and clear message.

Yes, this isn't ideal; there's no indication of which fields are
"singletons" and which aren't. I think you're right that inserting a new
field should essentially behave like editing the old one -- actually
maybe that's all that needs to happen. That plus a message afterwards.
I'll take a look.

> And two feature requests:
>
> 1. Undo.  So far I have never suffered much for the lack of undo (it is
>    only an inconvenience) and of course I leave it up to you to
>    prioritize this feature, but it would be useful, though clearly not
>    as useful as 2:

I've thought about this in the past. Each record has a "cache" object
that stores metadata and computed strings for the record, and this would
be natural place to store undo information. A dumb implementation could
store entire copies of the record as it is edited, and allow you to
switch them out. Alternately, the vCard specs provide for a versioning
system for individual properties
(https://tools.ietf.org/html/rfc6350#section-7), maybe I could adapt
that once I've gone and figured out how it works.

> 2. Compatibility with other contacts formats. I would like to import my
>    Gmail contacts and complete my transition away from G$$gle spyware.

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? I'm
in the middle of writing a vCard parser, which is actually a separate
library from EBDB (so other software can use it), but will be used in
EBDB code.

Anyway, if we're talking about importing vCards, that's on the way.

> Should I open two bug reports for these two feature requests?

For the undo feature, please -- it's not high priority but it would be
good to keep track of. I've already got Github issues open for the other
request.

Thanks,
Eric




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Eric Abrahamsen <eric@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 07 Jan 2020 19:15:01 +0000
Resent-Message-ID: <handler.38918.B38918.157842448911189 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157842448911189
          (code B ref 38918); Tue, 07 Jan 2020 19:15:01 +0000
Received: (at 38918) by debbugs.gnu.org; 7 Jan 2020 19:14:49 +0000
Received: from localhost ([127.0.0.1]:49362 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iouJU-0002uO-Vo
	for submit <at> debbugs.gnu.org; Tue, 07 Jan 2020 14:14:49 -0500
Received: from ericabrahamsen.net ([52.70.2.18]:45902
 helo=mail.ericabrahamsen.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1iouJT-0002uB-KV
 for 38918 <at> debbugs.gnu.org; Tue, 07 Jan 2020 14:14:48 -0500
Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141])
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id E60ECFA090;
 Tue,  7 Jan 2020 19:14:40 +0000 (UTC)
From: Eric Abrahamsen <eric@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN> <8736csz841.fsf@HIDDEN>
Date: Tue, 07 Jan 2020 11:14:39 -0800
In-Reply-To: <8736csz841.fsf@HIDDEN> (Eric Abrahamsen's message of
 "Mon, 06 Jan 2020 11:40:30 -0800")
Message-ID: <87o8vft6xs.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


On 01/06/20 11:40 AM, Eric Abrahamsen wrote:
> On 01/05/20 07:49 AM, Jorge P. de Morais Neto wrote:
>> cl-no-applicable-method: No applicable method:
>> ebdb-record-delete-field, #s(ebdb-record-person #s(ebdb-field-uuid
>> "ce30c771-c0e3-4874-ab90-a8e49078e531") #s(ebdb-field-creation-date
>> (24078 20399 443853 624000)) #s(ebdb-field-timestamp (24081 48590
>> 249568 725000)) (#s(ebdb-field-tags ("TODO"))) nil nil t #s(ebdb-cache
>> "John Doe" ("John Doe" "Doe, John") ("ACME") nil ("john@HIDDEN")
>> "doe, john" (#s(ebdb-db-file "~/.emacs.d/ebdb" "File: ebdb"
>> #s(ebdb-field-uuid "41310d36-e033-4b31-81fa-c1c9421c8cb7") (24081
>> 48578 561310 979000) (#0 #s(ebdb-record-organization
>> #s(ebdb-field-uuid "88bf0c5e-6c6c-4317-899a-8cf19dd4c6a5")
>> #s(ebdb-field-creation-date (24078 20310 981426 250000))
>> #s(ebdb-field-timestamp (24078 20310 981328 143000)) nil nil nil nil
>> #s(ebdb-cache "ACME" nil nil nil nil "acme" (#3)) nil ...)) nil "0.1"
>> "" nil ...))) nil ...), (#s(ebdb-field-tags ("TODO")))
>>
>>
>> Em [2020-01-04 s=C3=A1b 16:43:04-0800], Eric Abrahamsen escreveu:
>>
>>> Okay, I've fixed the first problem.
>>
>> Thanks!
>>
>>> For the second, are you getting a 'ebdb-unacceptable-field error, or
>>> what is it?
>>
>> I get the error attached.  I also attached the EBDB database I used to
>> get the error.  And how I got it:
>
> Oh, sorry, these two were actually the same problem, and all should be
> fixed now. I've done a 0.6.12 release -- would you update when it's
> available and check that this fixes everything? Though I'm not sure if
> it will address your other error. Let's get this closed out first.

Bah, this still isn't behaving correctly, hang on a moment...




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 12 Jan 2020 13:50:02 +0000
Resent-Message-ID: <handler.38918.B38918.157883699330690 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eric Abrahamsen <eric@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157883699330690
          (code B ref 38918); Sun, 12 Jan 2020 13:50:02 +0000
Received: (at 38918) by debbugs.gnu.org; 12 Jan 2020 13:49:53 +0000
Received: from localhost ([127.0.0.1]:57147 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iqdcm-0007yv-Pg
	for submit <at> debbugs.gnu.org; Sun, 12 Jan 2020 08:49:53 -0500
Received: from knopi.disroot.org ([178.21.23.139]:59342)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jorge+list@HIDDEN>) id 1iqdck-0007yi-6t
 for 38918 <at> debbugs.gnu.org; Sun, 12 Jan 2020 08:49:50 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 8FA8E35BB9;
 Sun, 12 Jan 2020 14:49:45 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id EnxEN0Fxm1lm; Sun, 12 Jan 2020 14:49:44 +0100 (CET)
From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1578836984; bh=GIFORqseuTqOJ9cWaiYX0N2pMYvehX8JWPLfgDPw6NA=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=bDuO63lMlRo9uv6FJW0Fu8cXI5OKvNj4YicloMLDgMsCj+/YUtWieaRrLMVyPLBMr
 nTh+Q02hbhF2dKQCB54/m9XbvhVBKkArj5lpreAWbzIlhDQfr0D5+Ulbf2UMZyiOW9
 SncmNJV1KpolWj+2aD2E629WLCQ8TyGrm5oHyyjlhWkWGL7RkltyJxL75LHWW2Dmij
 HSFeR0vm8f1RkkwNrO/PFObu8xrbexZ6URa388r1SEoJYDrndkoHJn3RS0CWPUd0q0
 akb9zlA+f75/LdwJdiejEgWEmx7KOX/36EVoJTnyDfrS0C0c/iHBaJWw8RD6nS6ErK
 2SxAphleUkanQ==
In-Reply-To: <87h817uq0x.fsf@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN> <8736csz841.fsf@HIDDEN>
 <87d0bv1mmb.fsf@HIDDEN> <87h817uq0x.fsf@HIDDEN>
Date: Sun, 12 Jan 2020 10:49:39 -0300
Message-ID: <87muas943w.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

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

> I'm in the middle of writing a vCard parser, which is actually a
> separate library from EBDB (so other software can use it), but will be
> used in EBDB code.

Great!  Thank you.

> For the undo feature, please -- it's not high priority but it would be
> good to keep track of.

I'll do.

Regards
-- 
- <https://jorgemorais.gitlab.io/justice-for-rms/>
- I am Brazilian.  I hope my English is correct and I welcome feedback.
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
- Free/libre software for Replicant, LineageOS and Android: https://f-droid.org
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Eric Abrahamsen <eric@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 12 Jan 2020 17:11:01 +0000
Resent-Message-ID: <handler.38918.B38918.15788490608181 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.15788490608181
          (code B ref 38918); Sun, 12 Jan 2020 17:11:01 +0000
Received: (at 38918) by debbugs.gnu.org; 12 Jan 2020 17:11:00 +0000
Received: from localhost ([127.0.0.1]:57871 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iqglP-00027t-SX
	for submit <at> debbugs.gnu.org; Sun, 12 Jan 2020 12:11:00 -0500
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 <eric@HIDDEN>) id 1iqglO-00027g-B0
 for 38918 <at> debbugs.gnu.org; Sun, 12 Jan 2020 12:10:59 -0500
Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141])
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id D7745FA080;
 Sun, 12 Jan 2020 17:10:51 +0000 (UTC)
From: Eric Abrahamsen <eric@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN> <8736csz841.fsf@HIDDEN>
 <87d0bv1mmb.fsf@HIDDEN> <87h817uq0x.fsf@HIDDEN>
 <87muas943w.fsf@HIDDEN>
Date: Sun, 12 Jan 2020 09:10:50 -0800
In-Reply-To: <87muas943w.fsf@HIDDEN> (Jorge P. de Morais Neto's message
 of "Sun, 12 Jan 2020 10:49:39 -0300")
Message-ID: <87r204pplx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Jorge P. de Morais Neto <jorge+list@HIDDEN> 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))))




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 14 Jan 2020 11:51:01 +0000
Resent-Message-ID: <handler.38918.B38918.157900264820933 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eric Abrahamsen <eric@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157900264820933
          (code B ref 38918); Tue, 14 Jan 2020 11:51:01 +0000
Received: (at 38918) by debbugs.gnu.org; 14 Jan 2020 11:50:48 +0000
Received: from localhost ([127.0.0.1]:60740 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1irKia-0005RW-Kc
	for submit <at> debbugs.gnu.org; Tue, 14 Jan 2020 06:50:48 -0500
Received: from knopi.disroot.org ([178.21.23.139]:55264)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jorge+list@HIDDEN>) id 1irKiV-0005RG-8g
 for 38918 <at> debbugs.gnu.org; Tue, 14 Jan 2020 06:50:43 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id B1BFB25B24;
 Tue, 14 Jan 2020 12:50:34 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id MQx_-jQteXto; Tue, 14 Jan 2020 12:50:33 +0100 (CET)
From: Jorge P. de Morais Neto <jorge+list@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1579002633; bh=jxt2/B0lf1aiWPi1Z614O3FRucdHzJv/+jEXbQb1xUo=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=Xr9pK6m2CPix3ictQOHarXZa00bEVJohoOg/EAxbesREBX63y1pz4/gbs8PW8/h8Q
 KhknUc1FARdxenxon7yHeiPmS+7ngEHBZ+avobJW0JDC9MkOJqC0cbStwa/a5S+5sb
 AZtM292eJW5nlRLaoyf5MLFJtDV/wmNEENiDzrz322L7rHYN/UqM1B7moYjwsnWhdB
 TJODgqifVVBfG6zW7sAUAqLTOXm/arAiqWojaAE3AvKHR5bGdvXdY/6ajJfC3ZkD2g
 bCXCGU9rsUEP+8mmbYBtKf7jHNGC3WI1VDyOXiFV5C+YNKVgP5bYxEDZ3qU3cw/5hs
 ltCyj6ecHZoyw==
In-Reply-To: <87r204pplx.fsf@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN> <8736csz841.fsf@HIDDEN>
 <87d0bv1mmb.fsf@HIDDEN> <87h817uq0x.fsf@HIDDEN>
 <87muas943w.fsf@HIDDEN> <87r204pplx.fsf@HIDDEN>
Date: Tue, 14 Jan 2020 08:50:23 -0300
Message-ID: <87sgki2r5s.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Em [2020-01-12 dom 09:10:50-0800], Eric Abrahamsen escreveu:

> Would you eval this and see if it solves your Org tags issue?
> [...]

This does make Org Tags work with EBDB 0.6.11, but not on EBDB 0.6.12.
On EBDB 6.12, with a minimally customized GNU Emacs instance the
following occurs:

1. I open the minimally customized GNU Emacs instance.
2. I eval (require 'ebdb-org)
3. I eval the code snippet you provided
4. At some moment I set org-tag-alist (note: I actually I don't remember
   if I set it after steps 2-3 or before)
5. Invoke M-x ebdb <RET><RET>
6. I Try to add Org Tags to a record.  My Org tags are offered for
   completion, but when I choose one, then EBDB seems to ignore my
   answer; it then asks for a "regular" tag without offering the Org
   tags for completion.

Besides, it seems that the function `org--tag-add-to-alist' does not
exist on the Org Mode version (9.1 IIRC) that comes with Emacs 26.3.  I
think you should document that the Org Tags functionality depends on
recent Org Mode.  Also, maybe (I don't know if this would be worth your
time) EBDB could provide a clear error message when the user attempts to
use that functionality on an old Org Mode.  Currently it lets Emacs
complain that the symbol's value as a function is void.

-- 
- <https://jorgemorais.gitlab.io/justice-for-rms/>
- I am Brazilian.  I hope my English is correct and I welcome feedback.
- Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
- Free/libre software for Replicant, LineageOS and Android: https://f-droid.org
- [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38918: 26.3; EBDB fails to edit (add) tags
Resent-From: Eric Abrahamsen <eric@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 14 Jan 2020 22:47:01 +0000
Resent-Message-ID: <handler.38918.B38918.157904201710162 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38918
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jorge P. de Morais Neto <jorge+list@HIDDEN>
Cc: 38918 <at> debbugs.gnu.org
Received: via spool by 38918-submit <at> debbugs.gnu.org id=B38918.157904201710162
          (code B ref 38918); Tue, 14 Jan 2020 22:47:01 +0000
Received: (at 38918) by debbugs.gnu.org; 14 Jan 2020 22:46:57 +0000
Received: from localhost ([127.0.0.1]:33847 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1irUxd-0002dp-I0
	for submit <at> debbugs.gnu.org; Tue, 14 Jan 2020 17:46:57 -0500
Received: from ericabrahamsen.net ([52.70.2.18]:34234
 helo=mail.ericabrahamsen.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eric@HIDDEN>) id 1irUxb-0002dc-C9
 for 38918 <at> debbugs.gnu.org; Tue, 14 Jan 2020 17:46:56 -0500
Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141])
 (Authenticated sender: eric@HIDDEN)
 by mail.ericabrahamsen.net (Postfix) with ESMTPSA id A8800FA080;
 Tue, 14 Jan 2020 22:46:48 +0000 (UTC)
From: Eric Abrahamsen <eric@HIDDEN>
References: <87d0bzcnmm.fsf@HIDDEN> <87zhf3m4pe.fsf@HIDDEN>
 <87blri6a9j.fsf@HIDDEN> <87r20en36v.fsf@HIDDEN>
 <87v9pqgou0.fsf@HIDDEN> <8736csz841.fsf@HIDDEN>
 <87d0bv1mmb.fsf@HIDDEN> <87h817uq0x.fsf@HIDDEN>
 <87muas943w.fsf@HIDDEN> <87r204pplx.fsf@HIDDEN>
 <87sgki2r5s.fsf@HIDDEN>
Date: Tue, 14 Jan 2020 14:46:47 -0800
In-Reply-To: <87sgki2r5s.fsf@HIDDEN> (Jorge P. de Morais Neto's message
 of "Tue, 14 Jan 2020 08:50:23 -0300")
Message-ID: <87o8v5lkq0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Jorge P. de Morais Neto <jorge+list@HIDDEN> writes:

> Em [2020-01-12 dom 09:10:50-0800], Eric Abrahamsen escreveu:
>
>> Would you eval this and see if it solves your Org tags issue?
>> [...]
>
> This does make Org Tags work with EBDB 0.6.11, but not on EBDB 0.6.12.
> On EBDB 6.12, with a minimally customized GNU Emacs instance the
> following occurs:
>
> 1. I open the minimally customized GNU Emacs instance.
> 2. I eval (require 'ebdb-org)
> 3. I eval the code snippet you provided
> 4. At some moment I set org-tag-alist (note: I actually I don't remember
>    if I set it after steps 2-3 or before)
> 5. Invoke M-x ebdb <RET><RET>
> 6. I Try to add Org Tags to a record.  My Org tags are offered for
>    completion, but when I choose one, then EBDB seems to ignore my
>    answer; it then asks for a "regular" tag without offering the Org
>    tags for completion.

Bah, sorry! I forgot that this was a two-part fix, and I only gave you
one of the parts. The other part is in:

https://git.sr.ht/~girzel/EBDB/commit/046750093275092db4c2407b22482d6d0d702453

But don't worry about it, I'm 99.9% sure that this problem is taken care
of. Sorry to make you test in vain.

> Besides, it seems that the function `org--tag-add-to-alist' does not
> exist on the Org Mode version (9.1 IIRC) that comes with Emacs 26.3.  I
> think you should document that the Org Tags functionality depends on
> recent Org Mode.  Also, maybe (I don't know if this would be worth your
> time) EBDB could provide a clear error message when the user attempts to
> use that functionality on an old Org Mode.  Currently it lets Emacs
> complain that the symbol's value as a function is void.

This is a bigger problem -- I'm committed to supporting Emacs 25. I
think I'll just write my own function (read: copy and paste Org's) to do
the same thing.

Thanks,
Eric





Last modified: Tue, 14 Jan 2020 23:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.