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: sqlite3 Date: Mon, 06 Dec 2021 20:09:47 +0800 Message-ID: <875ys2lyt0.fsf@yahoo.com> References: <87tufmjyai.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="23339"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 06 13:11:13 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 1muCps-0005rM-5x for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 13:11:12 +0100 Original-Received: from localhost ([::1]:60508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muCpq-0005J0-V0 for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 07:11:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muCoi-0003mr-Um for emacs-devel@gnu.org; Mon, 06 Dec 2021 07:10:00 -0500 Original-Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]:45504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muCof-0001hn-Mm for emacs-devel@gnu.org; Mon, 06 Dec 2021 07:10:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638792595; bh=XVkEDS0ulw9z/i1b+gEbG1cc9O9oLfySO2H3n8i2HCQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=dwoIl07++zgmpag10ffFGxz5iQBKS8ra+edZqJi8eUjm3GkTyN1XBI7hH5YRpts2MAvHni5exVCQCGtsZtpoWbUenUhOpgueEJ2yPu75dq6+7MHooqC0BqhbaynyAva3gnVE+pQetEvjYnfBDHhnuz3AeFLkaukXgIfrYl4E19fJv4XlggxW4iHCnGfmYGAEgBX/X8yVtsJgMfgjwXiUvAoO+vWSmXR0CY7zlnqOtRVQk5kST/UkQsJHgN5gGddQ5NL+AeS8qNrK361gcsBmyHcNSaVOoGi045n1IHVv4k/5iLiIVnHzCEsQR56+MRu2BQo52omszjxH/beTUXRH4A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638792595; bh=GV23pnJEF2GN19C+PsgYd/f4PZEg+W+yglr3zbtSOyp=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=X2VYC7x6EC9th8B/Z92PH4l9KQQ8y1dfTqxQBOxv7WwZ+T6ByZNOaZ/+8ZrBNcghJbe8Y8+nD0HNT8GzlL5UjKPFjMv1s95pwplaJCDHd6F4ZhA65g158w+URGcIJoIyUdI7WrDceXcecRXwnwb10eLU7CQVmzWfxBa6xnb7QJC/IFKAADRtwrNX7wSFMtEbShC7TvO8QOq1ZMUTPAkTqZbjwASZsGlg2Y/FaZmTaYt29Zf06rUM0gKTrrdx4h3ZfTZ6nNxDEqoqlg0q3k0nhfwqKoYNRTwBj6saUrrg3mx2U6vUU+qPZr6yr1j76vDCsCSKxsxOV5OfL149vmKtZw== X-YMail-OSG: KAaWbEMVM1nvWY2uy5UUNH080QsnpliSienLVKV5KevElzo2EPEB.1DA9vEUmr5 KIiZfOqAjkEFV9mpdPfV30kWPC5C.q0YKBfZXTJ7u83rGtp.ECnFwnyZmHW08QNV88BSrEsK4gHl 9Es6EChKPkqAxedqr1oIsklvaaiXspV2Z2O5wlZUvHWZ7y7UidB.jdv6vd2kfRpUenBDNHHJvihM CBHXnvTk1NJ6l5O4iqpEGzbYNSTvYpJFQXBpvEF5VYn5RfMudUfNmG8Rj8cCytlrwv0t6cGDMBbe FAP4n9MEBIg19elYfQba3i.WO0xmcU2hhEJxXw8HtpZFiBNU4TPOkhNXO2ap5vMScCS6iDUGGQe9 XFuPy9JPXAst4p0L1t_XnnL7gY_B6pG_kf5EIzoDWgU5gyTKu522arVOaHTPalh5p2KwFe5whipm yt8DMURdM9SeinJaRMmy07YX.M.rSgTggr13HOPGRBM2w6OKmgUuX1iJO99yjWU2dgDJHjSsU1BF 0A.k3k9UM.HTWrNoRwxF_W4emjPuUpk_Am63Cf4PhSbF8c2GK8ylpOuh6cLC8R8Ew4JxXlAeN2PO QoISr__Me5.XwpGQ6CYS4BFyJY.qiv9qzeIyVQev39m1hZc9aqFSpriZIS0JU2SvXt1KbQhsJBT. 0ZrT8oGsW9ngajdR_tnsl0M2tmi2C5Lh2EWQVY6onaEH8pIkni4TSxr8AJWfX5k.qNXduwt.fblX BCW5bj5AjiSkuQZ38xTJ0o5p3X2ullrf_3i5bVcSV0ggYhhbDoDS5kZQx_Sh0LvLETFxGvVC2Z9I Y6Yq6LiI4xnDe5bjQSV91JzeL6lj1RqfyaevqEIaA3 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 6 Dec 2021 12:09:55 +0000 Original-Received: by kubenode513.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7cd1328ba6b87b83b881f67fcf618e07; Mon, 06 Dec 2021 12:09:51 +0000 (UTC) In-Reply-To: (Arthur Miller's message of "Mon, 06 Dec 2021 11:25:36 +0100") X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.31; envelope-from=luangruo@yahoo.com; helo=sonic307-56.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:281083 Archived-At: Arthur Miller writes: > I would definitely like to see sqlite in core and avialable by > default. I really love it and think it is a great as > application/desktop database. I think it would open for some nice > applications people could write. Regardless of whether or not this feature is implemented, I think it should be optional, and fallbacks should be in place for systems where SQLite is unavailable. For example, I tried compiling the latest SQLite amalgamation release with DJGPP, and it did not work. Apparently patches existed to make it work, but they do not apply to the latest release anymore. Customize gaining a hard dependency on SQLite3 would be a disaster! Using a relational database for things like (setf (persistent-data :namespace "emoji" :key "favorites") emoji--favorites) Is also overkill, IMO, while something like (g)dbm would be a perfect match for this kind of task.