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#38993: 26.3; EBDB saves the database on Emacs exit even when told not to Date: Mon, 06 Jan 2020 15:30:42 -0300 Message-ID: <87tv58mo8d.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="122264"; mail-complaints-to="usenet@blaine.gmane.org" Cc: eric@ericabrahamsen.net To: 38993@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 06 20:10:07 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 1ioXlO-000Vfm-UL for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jan 2020 20:10:07 +0100 Original-Received: from localhost ([::1]:58484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioXlN-000376-8P for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jan 2020 14:10:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48243) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioXAd-0002p0-70 for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2020 13:32:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioXAa-0002EX-WB for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2020 13:32:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40811) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ioXAY-0002CX-Kj for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2020 13:32:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ioXAY-0002Pz-5W; Mon, 06 Jan 2020 13:32: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: Mon, 06 Jan 2020 18:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38993 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.15783354759224 (code B ref -1); Mon, 06 Jan 2020 18:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jan 2020 18:31:15 +0000 Original-Received: from localhost ([127.0.0.1]:46779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ioX9j-0002Od-Uz for submit@debbugs.gnu.org; Mon, 06 Jan 2020 13:31:15 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:58180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ioX9h-0002OV-TA for submit@debbugs.gnu.org; Mon, 06 Jan 2020 13:31:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47954) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioX9e-0001eF-Vj for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2020 13:31:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioX9d-0001AH-54 for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2020 13:31:06 -0500 Original-Received: from knopi.disroot.org ([178.21.23.139]:48274) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ioX9c-00017I-In for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2020 13:31:05 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 889F721AFB for ; Mon, 6 Jan 2020 19:31:01 +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 KuBkXXOlQsPP for ; Mon, 6 Jan 2020 19:30:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1578335459; bh=54Yk2NyshSeD6KboxVRkQ5QwTjxDEBi5xkhGbYnyVUw=; h=From:To:Subject:Date; b=ZcqDwHzXSXXGRU2eNG+UWfXOL2uOR8MqWt1bzYzonX/l6D2bZWaqI8tiYnb2ZWuHh Q5B+FUw4AuTffNtfXB+cGrMofusOWDc+2Wcvqzv3FNMnVGjAJxogqkIWQd1KvcS3nd vOCEvD7VMwKjYQpvyuuqruSaXmhcPA0mOHtkmtIaoH/wfo8WSNoAd9K27sJV/Yw41N eMwrIgd6c+cYlKBk2zHWccNeIKFSkAtblFB0lFT7aPIxWFnZ8VOvT9Nd4Eq+XQooLI 5uHWVgtojoH1vq/AeCBBY3Zy20ULlk+sXpnVoD1nqAkj3DMJvMfryM0m1OEPUhLt+V fw9LeyCxVD+bw== 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:174260 Archived-At: --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=ebdb Content-Description: Very small EBDB database to reproduce the error ;; 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 31041 155826 700000) :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 31046 399326 700000)) :notes (ebdb-field-notes "ebdb-field-notes" :notes "foo") :name (ebdb-field-name-complex "ebdb-field-name-complex" :surname "Doe" :given-names '("John")))) :record-class ebdb-record-person) --=-=-= Content-Type: text/plain Hi. The latest EBDB (0.6.11) saves the database on Emacs exit even when told not to. To reproduce the error on a minimally customized Emacs: 1. Place the attached ebdb database on .emacs.d 2. Start Emacs and invoke M-x ebdb 3. Move to the notes field of the John Doe record 4. Remove the field with C-k 5. Exit EBDB by pressing "q" 6. Hit C-x C-c to exit Emacs. When asked whether to save the EBDB database, answer no. 7. Restart Emacs 8. Invoke M-x ebdb 9. Notice that the database was altered. 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. Loading EBDB sources... Initializing EBDB records... done Formatting EBDB...done. Configured using: 'configure CONFIG_SHELL=/gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin/bash SHELL=/gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin/bash --prefix=/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 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 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 144067 9239) (symbols 48 24680 2) (miscs 40 88 149) (strings 32 44118 1235) (string-bytes 1 1247821) (vectors 16 22805) (vector-slots 8 639565 8596) (floats 8 55 62) (intervals 56 288 0) (buffers 992 14)) -- - - 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?]] --=-=-=--