From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexandre Garreau Newsgroups: gmane.emacs.devel Subject: Re: New package: resist! Date: Sat, 11 Dec 2021 22:01:47 +0100 Message-ID: <1942464.JTUx7ipBnp@galex-713.eu> References: <7E04F19B-0CCF-4F81-8D58-6622CA032788@mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20401"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , Joost Kremers , "emacs-devel@gnu.org" , Karl Fogel , Stefan Monnier , Tassilo Horn , Eli Zaretskii To: Qiantan Hong , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 11 22:02:49 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 1mw9W5-00058N-JH for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Dec 2021 22:02:49 +0100 Original-Received: from localhost ([::1]:40312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mw9W3-0002AA-NT for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Dec 2021 16:02:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mw9VR-0000sl-27 for emacs-devel@gnu.org; Sat, 11 Dec 2021 16:02:09 -0500 Original-Received: from [2a00:5884:8305::1] (port=36438 helo=galex-713.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mw9VP-0005dU-Ce; Sat, 11 Dec 2021 16:02:08 -0500 Original-Received: from gal by galex-713.eu with local (Exim 4.94.2) (envelope-from ) id 1mw9V6-001izJ-Dt; Sat, 11 Dec 2021 22:01:48 +0100 In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:5884:8305::1 (failed) Received-SPF: pass client-ip=2a00:5884:8305::1; envelope-from=galex-713@galex-713.eu; helo=galex-713.eu X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:281709 Archived-At: Le sabato, 11-a de decembro 2021, 15-a horo kaj 6:14 CET Stefan Monnier a=20 =C3=A9crit : > Qiantan Hong [2021-12-11 09:33:04] wrote: > >> Note, though, there's already a package on GNU ELPA called "persist": > >> https://elpa.gnu.org/packages/persist.html > >=20 > > Oops, now I have no good idea for name. >=20 > If you look at persist.el (always a good idea when a package by the > same name shows up), you'll see it has very similar aims. > `org-persist.el` as well. >=20 > So it looks like a good opportunity to see if/how you can improve your > package such that it can be either build on top of those packages, or > completely replace some of those packages, or replace some part of > those packages. Btw, eieio-persistent (which you didn=E2=80=99t cite in this mail) also sto= res one=20 value per file, just as persist.el, so they=E2=80=99re technically compatib= le. I don=E2=80=99t know how org-persist stores data, however. But it would be nice if they all shared a common implementation, so it=20 would be possible to configure a single backend for all of them at will=20 (possible, you could still accept that eieio uses something different from= =20 org-persist, since they=E2=80=99re on different levels, and you could also = configure=20 per package, I guess), without for the user to have to multiply its=20 internal knowledge of more and more software.