From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: 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: Sat, 11 Jan 2020 18:15:42 -0300 Message-ID: <87k15xvgn5.fsf@disroot.org> References: <87tv58mo8d.fsf@disroot.org> <87y2ukxt0r.fsf@ericabrahamsen.net> <87v9pofg9b.fsf@disroot.org> <87y2ukw9q4.fsf@ericabrahamsen.net> <87ftgr1o0q.fsf@disroot.org> <87zhezt8eo.fsf@ericabrahamsen.net> <87lfqi9ix4.fsf@disroot.org> <871rs9dbis.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="108924"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38993@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 11 22:18:47 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iqO89-000DeB-G5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Jan 2020 22:17:13 +0100 Original-Received: from localhost ([::1]:60884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqO87-0004xC-TN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Jan 2020 16:17:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53425) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqO80-0004wu-DD for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2020 16:17:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqO7z-0000TF-4B for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2020 16:17:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50804) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqO7y-0000Qs-Mm for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2020 16:17:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iqO7y-0002tU-Hb for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2020 16:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jorge P. de Morais Neto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jan 2020 21:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38993 X-GNU-PR-Package: emacs Original-Received: via spool by 38993-submit@debbugs.gnu.org id=B38993.157877736511060 (code B ref 38993); Sat, 11 Jan 2020 21:17:02 +0000 Original-Received: (at 38993) by debbugs.gnu.org; 11 Jan 2020 21:16:05 +0000 Original-Received: from localhost ([127.0.0.1]:56777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqO73-0002sK-HY for submit@debbugs.gnu.org; Sat, 11 Jan 2020 16:16:05 -0500 Original-Received: from knopi.disroot.org ([178.21.23.139]:49122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqO70-0002rb-0d for 38993@debbugs.gnu.org; Sat, 11 Jan 2020 16:16:04 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1B1D538333; Sat, 11 Jan 2020 22:15:57 +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 ou7IQqs6yVIc; Sat, 11 Jan 2020 22:15:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1578777355; bh=dkAfnf6U68OFSHZieorN33Qo6mda9skbg8NjLYKrOrw=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=irKMV0r+TC8/ja8bM4a5fDdc/d9Bu7VPwpSUygjg8moo7WaVbg/J9OcL4yech9nk0 uZfF2reuVXZBoH+g7bk1ws6Q7CePuBM7hIJvD/Ui6GeJc1vnexGZVf1oi8izp/QHjN M5ljKB0pqAZzxMJHMuz/OYQXAoaiYn6yGCtM73iYc+MNcBeq9YDXZbDoQtP0Quj8Uy 6S3PLaRIqndGdaaxZvGgO87JRA91Ex+pMkgnrcId4g1OR1tiI5A3m0gXSv3fAXYuMX jrtZRNWjhqB4H/64Aw6KatMpQ20O0ngIk4ZW0lc6CO+CmAgew8NuloMZSvovL2KBPE Yo+QnU6VKm04A== In-Reply-To: <871rs9dbis.fsf@ericabrahamsen.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:174490 Archived-At: Em [2020-01-08 qua 10:54:35-0800], Eric Abrahamsen escreveu: > Okay, I guess that would work: always add a hook, but only actually do > the save if `ebdb-save-on-exit' is t. So if you have open *EBDB* > buffers, and unsaved changes, but you set `ebdb-save-on-exit' to nil, > then when you kill Emacs you'll still get prompted to save EBDB, but if > you say "no" then nothing further will happen. That would be a step in the right direction. In addition to this you could improve the weird (and arguably harmful) EBDB idiosyncrasies that we previously talked about: 1. misleading the user by asking whether to save but then, if `ebdb-save-on-exit' is t, saving the database anyway even if the user answered in the negative; and 2. saving the "*EBDB*" buffer itself, which I believe is not useful. And the `ebdb-save-on-exit' option could be renamed to `ebdb-silently-save-on-exit', or, if that is too verbose, then at least its documentation should emphasize that Emacs will save with no questions asked. > I have an account at SourceHut, which is very FOSS-friendly, but so > far haven't put any repos there, maybe I could consider moving. You might want to consult , as well as discussing the options with the free software community on IRC or XMPP. I myself have chosen GitLab to host my very simple static website. I based the decision on GitLab's features, ease of use, and the C ethics grade from the FSF, a grade which seemed acceptable to me. However I later learned that, at least according to the aforementioned LibrePlanet page, the GitLab ethics evaluation regressed. I guess I should move away from it. By the way, if you forgive my impertinence, I suggest saying "free/libre" rather than "FLOSS", or, even worse, "FOSS". Please see . Regards -- - - 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?]]