From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#38993: 26.3; EBDB saves the database on Emacs exit even when told not to Date: Sun, 12 Jan 2020 09:38:20 -0800 Message-ID: <87lfqcpoc3.fsf@ericabrahamsen.net> 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> <87k15xvgn5.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="28664"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 38993@debbugs.gnu.org To: Jorge P. de Morais Neto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 12 18:39:51 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 1iqhCo-00128q-L6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jan 2020 18:39:18 +0100 Original-Received: from localhost ([::1]:40540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqhCm-0008V6-KM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Jan 2020 12:39:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53206) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqhCa-0008Uy-Ew for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 12:39:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqhCY-0002QA-VV for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 12:39:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51915) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqhCY-0002PO-Dn for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 12:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iqhCY-0002oO-9l for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 12:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jan 2020 17:39: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.157885071110767 (code B ref 38993); Sun, 12 Jan 2020 17:39:02 +0000 Original-Received: (at 38993) by debbugs.gnu.org; 12 Jan 2020 17:38:31 +0000 Original-Received: from localhost ([127.0.0.1]:57888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqhC2-0002nb-JE for submit@debbugs.gnu.org; Sun, 12 Jan 2020 12:38:30 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:34244 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqhC0-0002nL-B6 for 38993@debbugs.gnu.org; Sun, 12 Jan 2020 12:38:29 -0500 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id C4E87FA080; Sun, 12 Jan 2020 17:38:21 +0000 (UTC) In-Reply-To: <87k15xvgn5.fsf@disroot.org> (Jorge P. de Morais Neto's message of "Sat, 11 Jan 2020 18:15:42 -0300") 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:174512 Archived-At: Jorge P. de Morais Neto writes: > 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've already fixed #2 above, I just haven't made a new release yet (I'll try to get the rest of the bugs you raised fixed first). I still don't have a good solution for the first problem. I guess what I'm leaning toward is 1: adding a note to the documentation/manual about this weirdness, and 2: defaulting `ebdb-save-on-exit' to nil. The average user will be using EBDB interactively, meaning that they'll get the prompt both at "C-x s" and when killing Emacs. The `ebdb-save-on-exit' option could be reserved for hackers who are using EBDB in some more peculiar fashion. >> 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. It looks to me like SourceHut is licensed under the GPL (https://git.sr.ht/~sircmpwn/git.sr.ht/tree/master/LICENSE), so I'm hoping that's an A! Or at least a B. > By the way, if you forgive my impertinence, I suggest saying > "free/libre" rather than "FLOSS", or, even worse, "FOSS". Please see > . Thanks for that! No impertinence, I'll admit it's something I haven't read or really thought much about before. I'll be aware of it from here on out. Thanks, Eric