From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Qiantan Hong Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Sun, 12 Dec 2021 05:09:52 +0000 Message-ID: <1C235DE7-24D2-42E9-B817-7ECDBB39DD4C@mit.edu> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3034"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , "emacs-devel@gnu.org" To: "larsi@gnus.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 12 06:10:43 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 1mwH8F-0000er-Cg for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 06:10:43 +0100 Original-Received: from localhost ([::1]:57684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwH8E-0000Qy-Ab for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 00:10:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwH7U-0008Bt-IE for emacs-devel@gnu.org; Sun, 12 Dec 2021 00:09:56 -0500 Original-Received: from outgoing-exchange-5.mit.edu ([18.9.28.59]:60483) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwH7S-0002LX-4i for emacs-devel@gnu.org; Sun, 12 Dec 2021 00:09:55 -0500 Original-Received: from w92exedge3.exchange.mit.edu (W92EXEDGE3.EXCHANGE.MIT.EDU [18.7.73.15]) by outgoing-exchange-5.mit.edu (8.14.7/8.12.4) with ESMTP id 1BC59qLK029860; Sun, 12 Dec 2021 00:09:53 -0500 Original-Received: from w92expo16.exchange.mit.edu (18.7.74.70) by w92exedge3.exchange.mit.edu (18.7.73.15) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Sun, 12 Dec 2021 00:09:46 -0500 Original-Received: from oc11expo16.exchange.mit.edu (18.9.4.47) by w92expo16.exchange.mit.edu (18.7.74.70) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Sun, 12 Dec 2021 00:09:52 -0500 Original-Received: from oc11expo16.exchange.mit.edu ([18.9.4.47]) by oc11expo16.exchange.mit.edu ([18.9.4.47]) with mapi id 15.00.1497.023; Sun, 12 Dec 2021 00:09:52 -0500 Thread-Topic: sqlite3 Thread-Index: AQHX6kP05Uksy0m/5EaKKPl4hlIxS6wurEWA In-Reply-To: <87k0gah1ps.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [128.12.11.144] Content-ID: <18E16EC9F0AFC94BA289BD6AEEE9B3E5@exchange.mit.edu> Received-SPF: pass client-ip=18.9.28.59; envelope-from=qhong@mit.edu; helo=outgoing-exchange-5.mit.edu X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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:281749 Archived-At: > I'm not sure I understand the question. There's no SQL in the > multisession interface. It looks like this: >=20 > (multisession-value foo) >=20 > and >=20 > (setf (multisession-value foo) 'bar) This interface seems closer to a key value store than persistent variable (which I expect would add persistence functionality to an existing variable). Compare the above to my interface (kv-get KEY STORE &optional DFLT) and (kv-put KEY VAL STORE). Should we merge our work on this to provide one single interface?