From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: jorge+list@disroot.org (Jorge P. de Morais Neto) Newsgroups: gmane.emacs.bugs Subject: bug#38878: 26.3; EBDB fails to mark role as defunct Date: Thu, 02 Jan 2020 17:58:24 -0300 Message-ID: <871rshh8y7.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="66136"; mail-complaints-to="usenet@blaine.gmane.org" Cc: eric@ericabrahamsen.net To: 38878@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 02 21:59:17 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1in7Yr-000H1p-8H for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jan 2020 21:59:17 +0100 Original-Received: from localhost ([::1]:45572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in7Yp-0003JL-D0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jan 2020 15:59:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46849) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in7Yf-0003J3-M5 for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 15:59:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1in7Yd-000602-8C for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 15:59:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1in7Yd-0005zj-3p for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 15:59:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1in7Yc-0007yW-Lw; Thu, 02 Jan 2020 15:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: jorge+list@disroot.org (Jorge P. de Morais Neto) Original-Sender: "Debbugs-submit" Resent-CC: eric@ericabrahamsen.net, bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2020 20:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38878 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: eric@ericabrahamsen.net Original-Received: via spool by submit@debbugs.gnu.org id=B.157799873330639 (code B ref -1); Thu, 02 Jan 2020 20:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Jan 2020 20:58:53 +0000 Original-Received: from localhost ([127.0.0.1]:40117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1in7YO-0007y3-RF for submit@debbugs.gnu.org; Thu, 02 Jan 2020 15:58:52 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:38241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1in7YL-0007xu-V3 for submit@debbugs.gnu.org; Thu, 02 Jan 2020 15:58:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46375) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in7YJ-00037I-2f for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 15:58:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1in7YG-0005g8-Fu for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 15:58:42 -0500 Original-Received: from knopi.disroot.org ([178.21.23.139]:42866) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1in7YF-0005aW-RU for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2020 15:58:40 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 2934A23CA6 for ; Thu, 2 Jan 2020 21:58:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DFhLIObCBbpk for ; Thu, 2 Jan 2020 21:58:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1577998715; bh=bUB9uG8do3BtMFEWOaB7TSfA9serkLGnfOMbo5cpP2c=; h=From:To:Subject:Date; b=f5OxAKkk8rUj8SAfQEfLdjjJ2XNf1XGPqa4/zgd+kaqaDc+8sWb2QJleI9tB7PZyP oZe7m828zHniR4GZMgmq6Q8eDmOq6lZwf7xsXlxe7pPhUp4kGwNEUNtboMAc82UHmI +f2gtbQfz7LXrZJRP7PW1UlVDr5Qkn4RS+XEICKs8gho8J6O/g1kWTWRvs29pSU7aC Odw1JUkDlmuDzR30pj+/8gJlarB7aWcB64ZwJS364R3j/nbmdL2C8ZD02WN9HUfeoT tULUUZGQWGJA7+9UCwNogb3DnKNwwzRYOg8idfSuSZsrAKpsWLe78XUd1oVj84YZNX +mH4r/hNRwCSw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:174083 Archived-At: --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=ebdb Content-Transfer-Encoding: base64 OzsgT2JqZWN0IGViZGItZGItZmlsZQo7OyBFQkRCIGZpbGUtcGVyc2lzdGVudCBkYXRhYmFzZQoo ZWJkYi1kYi1maWxlICJlYmRiLWRiLWZpbGUiCiAgOmZpbGUgImViZGIiCiAgOmxhYmVsICJGaWxl OiB+Ly5lbWFjcy5kL2ViZGIiCiAgOnV1aWQKICAoZWJkYi1maWVsZC11dWlkICJlYmRiLWZpZWxk LXV1aWQiCiAgICA6dXVpZCAiNDEzMTBkMzYtZTAzMy00YjMxLTgxZmEtYzFjOTQyMWM4Y2I3IikK ICA6c3luYy10aW1lICcoMjQwNzggMjAyNzggODI5ODk1IDEzMTAwMCkKICA6cmVjb3JkcwogIChs aXN0CiAgICAoZWJkYi1yZWNvcmQtcGVyc29uICJlYmRiLXJlY29yZC1wZXJzb24iCiAgICAgIDp1 dWlkCiAgICAgIChlYmRiLWZpZWxkLXV1aWQgImViZGItZmllbGQtdXVpZCIKICAgICAgICA6dXVp ZCAiY2UzMGM3NzEtYzBlMy00ODc0LWFiOTAtYThlNDkwNzhlNTMxIikKICAgICAgOmNyZWF0aW9u LWRhdGUKICAgICAgKGViZGItZmllbGQtY3JlYXRpb24tZGF0ZSAiZWJkYi1maWVsZC1jcmVhdGlv bi1kYXRlIgogICAgICAgIDp0aW1lc3RhbXAgJygyNDA3OCAyMDM5OSA0NDM4NTMgNjI0MDAwKSkK ICAgICAgOnRpbWVzdGFtcAogICAgICAoZWJkYi1maWVsZC10aW1lc3RhbXAgImViZGItZmllbGQt dGltZXN0YW1wIgogICAgICAgIDp0aW1lc3RhbXAgJygyNDA3OCAyMDQzNSA1NTcxNzEgMjkwMDAp KQogICAgICA6bmFtZQogICAgICAoZWJkYi1maWVsZC1uYW1lLWNvbXBsZXggImViZGItZmllbGQt bmFtZS1jb21wbGV4IgogICAgICAgIDpzdXJuYW1lICJEb2UiCiAgICAgICAgOmdpdmVuLW5hbWVz ICcoIkpvaG4iKSkKICAgICAgOm9yZ2FuaXphdGlvbnMKICAgICAgKGxpc3QKICAgICAgICAoZWJk Yi1maWVsZC1yb2xlICJlYmRiLWZpZWxkLXJvbGUiCiAgICAgICAgICA6bGFiZWwgIkNFTyIKICAg ICAgICAgIDpyZWNvcmQtdXVpZCAiY2UzMGM3NzEtYzBlMy00ODc0LWFiOTAtYThlNDkwNzhlNTMx IgogICAgICAgICAgOm9yZy11dWlkICI4OGJmMGM1ZS02YzZjLTQzMTctODk5YS04Y2YxOWRkNGM2 YTUiCiAgICAgICAgICA6bWFpbAogICAgICAgICAgKGViZGItZmllbGQtbWFpbCAiZWJkYi1maWVs ZC1tYWlsIgogICAgICAgICAgICA6bWFpbCAiam9obkBhY21lLmNvbSIKICAgICAgICAgICAgOnBy aW9yaXR5IHByaW1hcnkpKSkpCiAgICAoZWJkYi1yZWNvcmQtb3JnYW5pemF0aW9uICJlYmRiLXJl Y29yZC1vcmdhbml6YXRpb24iCiAgICAgIDp1dWlkCiAgICAgIChlYmRiLWZpZWxkLXV1aWQgImVi ZGItZmllbGQtdXVpZCIKICAgICAgICA6dXVpZCAiODhiZjBjNWUtNmM2Yy00MzE3LTg5OWEtOGNm MTlkZDRjNmE1IikKICAgICAgOmNyZWF0aW9uLWRhdGUKICAgICAgKGViZGItZmllbGQtY3JlYXRp b24tZGF0ZSAiZWJkYi1maWVsZC1jcmVhdGlvbi1kYXRlIgogICAgICAgIDp0aW1lc3RhbXAgJygy NDA3OCAyMDMxMCA5ODE0MjYgMjUwMDAwKSkKICAgICAgOnRpbWVzdGFtcAogICAgICAoZWJkYi1m aWVsZC10aW1lc3RhbXAgImViZGItZmllbGQtdGltZXN0YW1wIgogICAgICAgIDp0aW1lc3RhbXAg JygyNDA3OCAyMDMxMCA5ODEzMjggMTQzMDAwKSkKICAgICAgOm5hbWUKICAgICAgKGViZGItZmll bGQtbmFtZS1zaW1wbGUgImViZGItZmllbGQtbmFtZS1zaW1wbGUiCiAgICAgICAgOm5hbWUgIkFD TUUiKQogICAgICA6ZG9tYWluCiAgICAgIChlYmRiLWZpZWxkLWRvbWFpbiAiZWJkYi1maWVsZC1k b21haW4iCiAgICAgICAgOmRvbWFpbiAiYWNtZS5jb20iKSkpCiAgOnJlY29yZC1jbGFzcyBlYmRi LXJlY29yZC1wZXJzb24pCg== --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=ebdb_dribble--trimmed.txt Content-Description: The contents of the dribble file up to the error Content-Transfer-Encoding: quoted-printable 0x8000078ebdb=0E=0E=0EE=13Tog=12Appl=20 --=-=-= Content-Type: text/plain 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 compiled locally and installed with GNU Stow. I cannot mark EBDB roles as defunct. To help you with reproducing the bug, I reproduced it on a GNU Emacs configuration where the only customization was augmenting `package-archives' (despite it probably not being necessary to install EBDB ) and installing `ebdb'. I also used a minimal EBDB database. After setting everything up, I started Emacs, invoked `toggle-debug-on-error', opened the dribble file and quickly reproduced the bug. In short: invoke M-x ebdb; twice; move to the John line on the ACME record and press E; toggle the defunct mark; try to apply. The backtrace: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (ebdb-unacceptable-field ebdb-field-role) signal(ebdb-unacceptable-field (ebdb-field-role)) #f(compiled-function (class &optional query alist) #)(ebdb-record-organization (nil . ebdb-field-role) ((mail . ebdb-field-mail) (phone . ebdb-field-phone) (address . ebdb-field-address) (domain . ebdb-field-domain))) apply(#f(compiled-function (class &optional query alist) #) (ebdb-record-organization (nil . ebdb-field-role) ((mail . ebdb-field-mail) (phone . ebdb-field-phone) (address . ebdb-field-address) (domain . ebdb-field-domain)))) #f(compiled-function (&rest cnm-args) #)(ebdb-record-organization (nil . ebdb-field-role) ((mail . ebdb-field-mail) (phone . ebdb-field-phone) (address . ebdb-field-address) (domain . ebdb-field-domain))) #f(compiled-function (cl--cnm class &optional query alist) #)(#f(compiled-function (&rest cnm-args) #) ebdb-record-organization (nil . ebdb-field-role) ((domain . ebdb-field-domain))) apply(#f(compiled-function (cl--cnm class &optional query alist) #) #f(compiled-function (&rest cnm-args) #) (ebdb-record-organization (nil . ebdb-field-role) ((domain . ebdb-field-domain)))) #f(compiled-function (&rest args) #)(ebdb-record-organization (nil . ebdb-field-role) ((domain . ebdb-field-domain))) apply(#f(compiled-function (&rest args) #) (ebdb-record-organization (nil . ebdb-field-role) ((domain . ebdb-field-domain)))) #f(compiled-function (&rest cnm-args) #)(ebdb-record-organization (nil . ebdb-field-role) ((domain . ebdb-field-domain))) #f(compiled-function (cl--cnm class &optional query alist) #)(#f(compiled-function (&rest cnm-args) #) ebdb-record-organization (nil . ebdb-field-role)) apply(#f(compiled-function (cl--cnm class &optional query alist) #) #f(compiled-function (&rest cnm-args) #) (ebdb-record-organization (nil . ebdb-field-role))) #f(compiled-function (&rest args) #)(ebdb-record-organization (nil . ebdb-field-role)) apply(#f(compiled-function (&rest args) #) ebdb-record-organization (nil . ebdb-field-role)) ebdb-record-field-slot-query(ebdb-record-organization (nil . ebdb-field-role)) #f(compiled-function (cl--cnm record field &optional slot) #)(#f(compiled-function (&rest cnm-args) #) # #) apply(#f(compiled-function (cl--cnm record field &optional slot) #) #f(compiled-function (&rest cnm-args) #) (# #)) #f(compiled-function (&rest args) #)(# #) apply(#f(compiled-function (&rest args) #) # #) #f(compiled-function (arg &rest args) #)(# #) apply(#f(compiled-function (arg &rest args) #) # # nil) ebdb-record-delete-field(# #) #f(compiled-function (record old-field &optional new-field) "Change the values of FIELD belonging to RECORD." #)(# # #) apply(#f(compiled-function (record old-field &optional new-field) "Change the values of FIELD belonging to RECORD." #) # (# #)) #f(compiled-function (arg &rest args) #)(# # #) apply(#f(compiled-function (arg &rest args) #) # # #) ebdb-record-change-field(# # #) #f(compiled-function (new-field) "Do the actual insertion of the newly-customized field." #)(#) apply(#f(compiled-function (new-field) "Do the actual insertion of the newly-customized field." #) #) #f(compiled-function (&rest cnm-args) #)() #f(compiled-function (cl--cnm field) "Check that the record owning FIELD can be edited.\nAlso redisplay the record after customization." #)(#f(compiled-function (&rest cnm-args) #) #) apply(#f(compiled-function (cl--cnm field) "Check that the record owning FIELD can be edited.\nAlso redisplay the record after customization." #) #f(compiled-function (&rest cnm-args) #) #) #f(compiled-function (&rest args) #)(#) apply(#f(compiled-function (&rest args) #) # nil) eieio-done-customizing(#) #f(compiled-function (&rest _) #)((push-button :args nil :value "Apply" :notify #f(compiled-function (&rest _) #) :button-overlay # default*> :from # default*> :to # default*>) (push-button :args nil :value "Apply" :notify #f(compiled-function (&rest _) #) :button-overlay # default*> :from # default*> :to # default*>) nil) widget-apply((push-button :args nil :value "Apply" :notify #f(compiled-function (&rest _) #) :button-overlay # default*> :from # default*> :to # default*>) :notify (push-button :args nil :value "Apply" :notify #f(compiled-function (&rest _) #) :button-overlay # default*> :from # default*> :to # default*>) nil) widget-item-action((push-button :args nil :value "Apply" :notify #f(compiled-function (&rest _) #) :button-overlay # default*> :from # default*> :to # default*>) nil) widget-apply((push-button :args nil :value "Apply" :notify #f(compiled-function (&rest _) #) :button-overlay # default*> :from # default*> :to # default*>) :action nil) widget-apply-action((push-button :args nil :value "Apply" :notify #f(compiled-function (&rest _) #) :button-overlay # default*> :from # default*> :to # default*>) nil) widget-button-press(13) funcall-interactively(widget-button-press 13) call-interactively(widget-button-press nil nil) command-execute(widget-button-press) --8<---------------cut here---------------end--------------->8--- In GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2019-08-24 built on jorge--inspiron-5570 Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: Applying Changes... Entering debugger... Quit Mark set s-, is undefined [2 times] Composing main Info directory...done command-execute: Command attempted to use minibuffer while in minibuffer Mark saved where search started Making completion list... user-error: Beginning of history; no preceding item Configured using: 'configure --with-mailutils --enable-link-time-optimization' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2 Important settings: 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: Text 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 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 misearch multi-isearch eieio-custom wid-edit 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 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 lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 160169 18263) (symbols 48 25783 1) (miscs 40 230 235) (strings 32 46034 2853) (string-bytes 1 1391856) (vectors 16 23558) (vector-slots 8 658173 15904) (floats 8 65 159) (intervals 56 1664 460) (buffers 992 19)) -- - - 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?]] --=-=-=--