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#38918: 26.3; EBDB fails to edit (add) tags Date: Sat, 04 Jan 2020 11:17:05 -0300 Message-ID: <87d0bzcnmm.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="253888"; mail-complaints-to="usenet@blaine.gmane.org" Cc: eric@ericabrahamsen.net To: 38918@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 04 15:18:13 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 1inkFp-0013rq-5B for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jan 2020 15:18:13 +0100 Original-Received: from localhost ([::1]:34308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inkFn-0002Q9-8I for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jan 2020 09:18:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50116) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inkFg-0002Q1-PI for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2020 09:18:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inkFe-0003PQ-Uf for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2020 09:18:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36607) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inkFe-0003Ok-Pm for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2020 09:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1inkFe-0002vg-9w; Sat, 04 Jan 2020 09:18: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: Sat, 04 Jan 2020 14:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38918 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.157814744811162 (code B ref -1); Sat, 04 Jan 2020 14:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jan 2020 14:17:28 +0000 Original-Received: from localhost ([127.0.0.1]:42578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inkF5-0002ty-RJ for submit@debbugs.gnu.org; Sat, 04 Jan 2020 09:17:28 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:40265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inkF4-0002tq-7D for submit@debbugs.gnu.org; Sat, 04 Jan 2020 09:17:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47151) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inkF1-0002Mv-V7 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2020 09:17:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inkF0-0001Mo-6L for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2020 09:17:23 -0500 Original-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 ) id 1inkEz-0001EH-J8 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2020 09:17:22 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id ACE8220AEC for ; Sat, 4 Jan 2020 15:17:18 +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 blWgg58tEmsF for ; Sat, 4 Jan 2020 15:17:17 +0100 (CET) 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== 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:174163 Archived-At: --=-=-= 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@acme.com" :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=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; ; 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 _) #)) #s(cl--generic-generalizer :name cl-= -generic-t-generalizer :priority 0 :tagcode-function #f(compiled-function (= name &rest _) #) :specializers-function #f(compiled-func= tion (tag &rest _) #)))) :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." #)) #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." #)) #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." #))) :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 _) #)) #s(cl--generic-generalizer :na= me cl--generic-t-generalizer :priority 0 :tagcode-function #f(compiled-func= tion (name &rest _) #) :specializers-function #f(compile= d-function (tag &rest _) #)))) :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." #= )) #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." #)) #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." #))) :options nil) nil) #f(compiled-function (&rest args) #)(nil) apply(#f(compiled-function (&rest args) #) nil nil) clone(nil) ebdb-edit-field-customize(# nil) funcall-interactively(ebdb-edit-field-customize # 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 --=-=-=--