all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Jorge P. de Morais Neto <jorge+list@disroot.org>
Cc: 38993@debbugs.gnu.org
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	[thread overview]
Message-ID: <87lfqcpoc3.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87k15xvgn5.fsf@disroot.org> (Jorge P. de Morais Neto's message of "Sat, 11 Jan 2020 18:15:42 -0300")

Jorge P. de Morais Neto <jorge+list@disroot.org> 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
> <https://libreplanet.org/wiki/Fsf_2019_forge_evaluation>, 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
> <https://www.gnu.org/philosophy/floss-and-foss.en.html>.

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





  reply	other threads:[~2020-01-12 17:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-06 18:30 bug#38993: 26.3; EBDB saves the database on Emacs exit even when told not to Jorge P. de Morais Neto
2020-01-06 19:51 ` Eric Abrahamsen
2020-01-06 21:04   ` Jorge P. de Morais Neto
2020-01-06 21:33     ` Eric Abrahamsen
2020-01-07 11:53       ` Jorge P. de Morais Neto
2020-01-07 18:42         ` Eric Abrahamsen
2020-01-08 13:28           ` Jorge P. de Morais Neto
2020-01-08 18:54             ` Eric Abrahamsen
2020-01-11 21:15               ` Jorge P. de Morais Neto
2020-01-12 17:38                 ` Eric Abrahamsen [this message]
2020-01-14 14:12                   ` Jorge P. de Morais Neto
2020-01-14 22:53                     ` Eric Abrahamsen
2020-01-18 19:38                       ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfqcpoc3.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=38993@debbugs.gnu.org \
    --cc=jorge+list@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.