From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Sun, 12 Dec 2021 16:39:42 +0200 Message-ID: <87czm1khu9.fsf@iki.fi> References: <87tufmjyai.fsf@gnus.org> <87tufhel3z.fsf@posteo.net> <87fsr12tm8.fsf@gnus.org> <87y24s4ix2.fsf@posteo.net> <87pmq3x1yr.fsf@gnus.org> <87lf0qaozf.fsf@posteo.net> <87k0gah1ps.fsf@gnus.org> <87a6h69fsf.fsf@posteo.net> <87v8zuypv2.fsf@gnus.org> <7EF50430-0BF1-4BA8-A7A8-F92607BA08AC@mit.edu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25624"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.34.1+9~gd7f9572 (https://notmuchmail.org) Emacs/28.0.90 (x86_64-pc-linux-gnu) Cc: Philip Kaludercic , emacs-devel@gnu.org To: Qiantan Hong , larsi@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 12 15:43:17 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 1mwQ4L-0006VZ-2U for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 15:43:17 +0100 Original-Received: from localhost ([::1]:52258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwQ4J-0005zK-8Q for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 09:43:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwQ1F-0004g4-GK for emacs-devel@gnu.org; Sun, 12 Dec 2021 09:40:05 -0500 Original-Received: from lahtoruutu.iki.fi ([185.185.170.37]:35652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwQ1D-0007Zc-7c for emacs-devel@gnu.org; Sun, 12 Dec 2021 09:40:05 -0500 Original-Received: from mithlond (mobile-access-567365-219.dhcp.inet.fi [86.115.101.219]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: tlikonen) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id D75C21B0022A; Sun, 12 Dec 2021 16:39:49 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1639319990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=II9icw5J0V1W6YNJf70hwRbPvZIXDrIV8f1L0xCSAkc=; b=AneP2KeikieenpD46JAIYCznRYvtIjXaD0g18xMad1RcUl64OfDFM3Aw34tkc6Np0AjMGt iogSaycUkKucPa+q5QNacbN6HyCRJCTrIjGP2HoWg5h94I4J+PoKk3kzcDxyvldwPfL+st JqRLoWl06FdvmA+Z6V4CoRI2LJ18XqIyakkzWK7xMIVVU+gbncajXVUccOfrHXqrTiN6fw QAIh8D+WiWoEEvB9fgibv8Qyi/HeogvBaso4xtmdSOoFgjaSM3+1g+zuB24YVTyHiefqyH 7yVt0+Bzz4xWHq6CxO0cJTAMcf2K19KFeudkC+8r4tzerbm3lpHszNJS4wbbCQ== In-Reply-To: <7EF50430-0BF1-4BA8-A7A8-F92607BA08AC@mit.edu> ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1639319990; a=rsa-sha256; cv=none; b=BVRt4wVkR3d4TCaQu3tOIqr/FtNm1+jdpm3dUC57nTZd9iaBurIYQ97sUpF/aSnu098MCX GNyjujZVHBp9khMC0JXN8p2AjT2nNeMkQYhDj4sPJrqiMIU8lYimsxCHiKk0FSo24sxbME Os6gancPh1l3taF1zS5/px1aDcmUSBa6O1xmV/tI6sl8iGZb5QxZ6lIqbX1aeedWoMfYAp JWQlq25H5KOqKNBPdeBVmcBJMq8MEpyMbZnOtrHSkXir0f3Z/QRGPmU6plFT25KpAjhZyd uDiGcqxsfmyjV+AHD7mDp69brkn3d0JhUawkZhGcMiTyB6jdtVnXQC2J4sfX2w== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=tlikonen smtp.mailfrom=tlikonen@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1639319990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=II9icw5J0V1W6YNJf70hwRbPvZIXDrIV8f1L0xCSAkc=; b=k+RwVzDdcUHApRyCyNtP+dV5cPD9Tj8dv5ICNID0FtXii0Fd3/KHUxsbrdlvaC5yF6Y0mE OMwUiXrTN51TxebCsGzy1r+GmcWUzNKcAbUZFn4NUeblXHbCeHydr+adrFYYKHF90ygpeg MBBBOWhyA0pOYbXFwOevpSWiubtYxvYkF39FrfZsXqh3OQLsbmlVOsD1crnft3+K5k0TSl PMwlWbTk284P0+Qg4YtbQFMQZy1GXwrqPhYyfbNSh/+DsIJdmaS+mKaI4lajOMtKblUyS0 QF1U80mbz46bZncmwchA2Lii0kqXt5Vz2Orj6+l4HisGzuWwlID5Tt3WMt0IbQ== Received-SPF: pass client-ip=185.185.170.37; envelope-from=tlikonen@iki.fi; helo=lahtoruutu.iki.fi X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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:281794 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable * 2021-12-12 14:10:28+0000, Qiantan Hong wrote: >> Which is exactly what is being planned. No one has any intention to >> go over all the data Emacs stores between sessions and convert all of >> them to sqlite3. We only plan to use that where a data base is large, >> and thus using plain text there is unwieldy. > > I=E2=80=99ve implemented exactly this, and your multisession.el, with a l= ittle > modification, would fit into this plan and functions as a key-value > store backend. Or maybe another approach: Use multisession.el as the general front end interface which could dispatch to different key-value storage implementations, defined in other files like multisession-sqlite.el, multisession-ihatesql.el, multisession-postgresql.el etc. =2D-=20 /// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/ // OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIYEARYIAC4WIQQL23klfGMkeOvdGCt57xklfWtWWwUCYbYJrhAcdGxpa29uZW5A aWtpLmZpAAoJEHnvGSV9a1ZbkAABAKrg8UPM9HMPtBxAVi/ckLM0l6ykqnz8PWDA atPDIh/wAP0ZoQg9PqOyI+8KAaiYIj26LULaDKWu3QFtanVGnfTlC4iGBAEWCAAu FiEEyVtsKrXpcQtYB3W4rZ11q+6UwnMFAmG2CbUQHHRsaWtvbmVuQGlraS5maQAK CRCtnXWr7pTCc/XjAQDVwDymmeC7G/8e/tM1MoyMNozZw7i+d4aL6nxo/GfbTAEA 9W6kf6jEFGB/Nxz1RIQmYI/e7I6kmmShNfNWwqi9Ggg= =BDAu -----END PGP SIGNATURE----- --=-=-=--