From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Mutating existing persistent data Date: Tue, 07 Dec 2021 13:55:29 +0800 Message-ID: <87ee6phsby.fsf@yahoo.com> References: <87tufmjyai.fsf@gnus.org> <875ys2lyt0.fsf@yahoo.com> <87wnkhlxb9.fsf@yahoo.com> <2FD7D920-D92C-480B-B2AC-91A17F0397C4@mit.edu> <87zgpdi0rk.fsf@gnus.org> <878rwxje1x.fsf@yahoo.com> <87v901huhw.fsf@gnus.org> <87v901htvj.fsf@yahoo.com> <87mtldhtpy.fsf@gnus.org> <87r1apht83.fsf@yahoo.com> <87ilw1ht01.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5846"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Qiantan Hong , John Yates , Stefan Monnier , Arthur Miller , "emacs-devel@gnu.org" To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 07 06:56:41 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 1muTSz-0001Hr-Op for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 06:56:41 +0100 Original-Received: from localhost ([::1]:36600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muTSy-0004zK-Ha for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 00:56:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muTS1-0004BO-CG for emacs-devel@gnu.org; Tue, 07 Dec 2021 00:55:41 -0500 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:45093) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muTRz-0008Gb-Cj for emacs-devel@gnu.org; Tue, 07 Dec 2021 00:55:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638856537; bh=QByu1zebl5bbYev/Si7FHfvJae22Rv8AzG1GpL8h618=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=K/URs6gvTnZfPgnYMtZ4giJtdrhCPNCcEING1OcHG33pGLotq3VLHqOIE14D6ae8RxS4hOt8CbTjd/f3EYVYQT+DqCQWlcRO976ZbouPuxM5Xo9NpkopgodN3vIHin+PVRcsOpqTZaaIOA+C6Ibr1BB629LcVus4merIAWceVyZaLBbyteCpfhCLNE5tJnT/sZX6OitWYknf2vs2t/oleT9Tg4ar+WV7KHo/aha6jND14Q/uOLzye7y/WWrK6UHj7DQR9fg7L+u6MJvhy9N0TI3J9o/b2HqnvuKv57yvPoLRiRAaUhTZ1dnbBW7kGVE6DM1mrbLvD3HFcvhmivYPDw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638856537; bh=f8rSzgjRerNThdM+7/BELIJY+gL56g6OAoWnlfBoDDK=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=bhkRW2XvT54XdtBJKw6yTkKSi/glZSFbl2cTGfPWk9eIzMzQj/ZK/dvIqxmUrQUhBwo6hd+7OtNdDUritauzbde0DQJw+RqlV2VnFJXOnv+HK+ysh5W4M8jaIHRk+imnuu6XOc6whBg9xj109E4F2i2seTq8EfHnhU4SnspcswklRQs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ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Tue, 7 Dec 2021 05:55:37 +0000 Original-Received: by kubenode509.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 2912dae44688c8aebd5df54259ecb29a; Tue, 07 Dec 2021 05:55:34 +0000 (UTC) In-Reply-To: <87ilw1ht01.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 07 Dec 2021 06:41:02 +0100") X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.148; envelope-from=luangruo@yahoo.com; helo=sonic314-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:281208 Archived-At: Lars Ingebrigtsen writes: > That would mean writing a lots of itsy bitsy files (i.e., using the file > system as the DB) if this is going to have any kind of meaningful > concurrency. Otherwise Emacsen will just be overwriting each other's > data aggressively. That doesn't matter, as it'll be a fallback after all. Besides, I also don't see a problem with overwriting files aggressively, as long as nothing ends up corrupt. > So I don't see the use case. Virtually all systems have sqlite, and if > the users have chosen to not build Emacs with it, they don't get the > persistence feature. That's no different from when they choose to build > without libxml -- they don't get to read web pages in Emacs. Reading web pages in Emacs is not a vital feature, but this will be an important feature any Lisp code that wants to persist data to disk will use.