From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Mon, 06 Dec 2021 17:08:30 +0100 Message-ID: <87ee6pn2bl.fsf@gnus.org> 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="30284"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Arthur Miller , emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 06 17:09:56 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 1muGYt-0007fZ-Oi for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 17:09:55 +0100 Original-Received: from localhost ([::1]:35080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muGYs-00041t-Lz for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 11:09:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muGXj-00021q-Kz for emacs-devel@gnu.org; Mon, 06 Dec 2021 11:08:43 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=56346 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muGXh-0001eM-BT for emacs-devel@gnu.org; Mon, 06 Dec 2021 11:08:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jEm1iINaP/uNqrvPmYUJcjIHwsMwwLbjMaqVt+IlGLs=; b=CxHvCsQQ8/oO3VLYanreMbrsX9 BAS7dYcj3HWM3VLTHCztvMGj9Hymh5Ti/pAeLYEHGYDd6y+j+1A7NDWmWxp97brvkpTLZNwtA+rPt 4QdZVh5JAtIvrVe9myHyW5q3dnNcKBskvggrdozCYvNdmkGDnZQLzF+h3ot/sVXfb5Cs=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muGXa-0006uN-6g; Mon, 06 Dec 2021 17:08:37 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEX8+/3ez+DKt8q+ rcCZcImrlaPOpKmZYlxsVFNcQT65gntLNzWQVEkjHBv///8NCrBgAAAAAWJLR0QOb70wTwAAAAd0 SU1FB+UMBhAFGW/8bbkAAAGlSURBVDjLtZJBbtswEEWpnkDD5gIcQgeoFd3A3geRxiq6dFGdwArV oMsCoqALxDCyTO5QEF67C9/A0F06VJwgiOhFAvQDIqB58z81pIT4gCL15RNiPAUX88XlfH41BVIm 1yjjYFi4CgACIpjAyC9By/9W9G4AZ9ohDHhkfBfgQ5LnHHJ2xoE6DNQZgEplISARkQL1WKLWWeCK gA0ZTUHEQygGMAVaIwUBoqTFBMQeADvUm01iiHg8fAOiGOI4UqCTXCC8TjlplpBYvfyCY1mOj6ZS VM+36PsloORFzopCLPFEwE/M8mees2O58gk+6HPqpVFiklEjbioc95MqIVaesilJ6Ke4XVaICiC5 zoqRYMrfZDph6qqqVqiLvDTr0ZLnWdn2Ym8eqx/f07RZNNYYU1PG9KvdMrj99lClma27TdvY3z6O GnsvDnvuIyq6dus661pfrxu7ewIPVG6sO7qtszVRubbd4MGvvaHGdcMwuOOfdr4u265ncDDe1Lvt 4HW0pjXWOQ9Y+7+7YTeC4c5a2/PLEzj0w7Puus3G95zA/QtwLA/+Ade4tuiaz5XrAAAAJXRFWHRk YXRlOmNyZWF0ZQAyMDIxLTEyLTA2VDE2OjA1OjI1KzAwOjAwkiiLVAAAACV0RVh0ZGF0ZTptb2Rp ZnkAMjAyMS0xMi0wNlQxNjowNToyNSswMDowMON1M+gAAAAASUVORK5CYII= X-Now-Playing: The Cure's _Seventeen Seconds (1)_: "Seventeen Seconds" In-Reply-To: (Stefan Kangas's message of "Mon, 6 Dec 2021 12:18:33 +0100") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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_MED=-2.3, RDNS_NONE=0.793, 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:281129 Archived-At: Stefan Kangas writes: >> My only remark is that sqlite is usually used for exactly same purpose as what >> Emacs already has: customize. Your example: >> >>> (setf (persistent-data :namespace "emoji" :key "favorites") emoji--favorites) >> >> looks to me like something one would use customize for. > > Is this historic use of customize not just a result of the lack > something like sqlite3? Yeah, I think so. There's not always an obvious difference between "configuration" and "app data", but if it's something that changes upon every invocation (as the emojis in emoji--favorites do), it's more "app data", and that doesn't belong in Customize. (The user may have their .emacs file in a VC, for instance.) > For example, on my macOS machine I'd typically install some macOS > specific packages, that I don't want on my GNU/Linux machines. Another > example is that I often install a package just to test it briefly, and I > definitely don't want that synchronized. It is also not ideal that a > package is marked in `package-selected-packages', but is not even > installed locally. Yup. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no