From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Mutating existing persistent data Date: Tue, 07 Dec 2021 15:44:30 +0200 Message-ID: <83h7bkzg01.fsf@gnu.org> References: <87tufmjyai.fsf@gnus.org> <875ys2lyt0.fsf@yahoo.com> <87wnkhlxb9.fsf@yahoo.com> <2FD7D920-D92C-480B-B2AC-91A17F0397C4@mit.edu> <87zgpdi0rk.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37716"; mail-complaints-to="usenet@ciao.gmane.io" Cc: qhong@mit.edu, emacs-devel@gnu.org, luangruo@yahoo.com, monnier@iro.umontreal.ca, arthur.miller@live.com, john@yates-sheets.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 07 14:46:01 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muanB-0009ak-9F for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 14:46:01 +0100 Original-Received: from localhost ([::1]:49482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muanA-0007i0-8R for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 08:46:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mualj-00063H-TT for emacs-devel@gnu.org; Tue, 07 Dec 2021 08:44:31 -0500 Original-Received: from [2001:470:142:3::e] (port=40688 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muali-0005ua-Un; Tue, 07 Dec 2021 08:44:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=n9ryE8wA6FbPEN09nAmgkwmvAFF4FIZY19F7+6xQEgU=; b=VFMMW+kKIRFf GWuU7LwQgK1vGDGlGs1D20HNoQY1RB8p9BqoZO4PVPsd+Cqy1HXeSRsRbhL+qErQRKFco+3895LUc KL3fFu9gPCCn8JBJGSwuuNFeJSzpccWg7UEFrUpyftGysPBOpNRMQdEIxQyCeN32FtR4sved/Qs06 t54B+p0tajMWOTBf0ICrevx0NygWtgPIs6bUivmZxrb4rmIE42/kIzOnNYufifkMJ66A4YwYHIRSB /fjltZ7KbuEQuZz8D99FbTZxWZrgtybY2KpoOFoc+Cr8AxeRTnweQ1u8UWMNGvXp6Cze/uEZoE4lm kcHwTPy4ipsN2apx5oRuyw==; Original-Received: from [87.69.77.57] (port=2150 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muali-0005na-Qh; Tue, 07 Dec 2021 08:44:31 -0500 In-Reply-To: <87zgpdi0rk.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 07 Dec 2021 03:53:19 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281244 Archived-At: > From: Lars Ingebrigtsen > Date: Tue, 07 Dec 2021 03:53:19 +0100 > Cc: Po Lu , Qiantan Hong , > "emacs-devel@gnu.org" , > Arthur Miller , John Yates > > Stefan Monnier writes: > > > You either need the application to provide some atomicity/transaction > > boundary information, or you need the application to send changes as > > changes rather than as the resulting state (i.e. send "increment x by 2" > > rather than "x is now 23"). > > So I'm now starting to type in the stuff to make persistent values, and > the name `persistent-value' is of course already taken (by something in > ieieo that I can't even find, as usual). > > So here's some synonyms. Er... opinions? Maybe we don't need to give up so easily. We could use something like sqlite-persistent-value or db-persistent-value. eieio itself has several FOO-persistent-BAR things, so why can't we have one more variety?