From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Mon, 6 Dec 2021 12:18:33 +0100 Message-ID: References: <87tufmjyai.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9883"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Arthur Miller , Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 06 12:19:24 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 1muC1k-0002N4-94 for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 12:19:24 +0100 Original-Received: from localhost ([::1]:54054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muC1j-0003gR-8l for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 06:19:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muC11-0002xv-C4 for emacs-devel@gnu.org; Mon, 06 Dec 2021 06:18:39 -0500 Original-Received: from [2607:f8b0:4864:20::102a] (port=52039 helo=mail-pj1-x102a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muC0z-0004CE-25 for emacs-devel@gnu.org; Mon, 06 Dec 2021 06:18:38 -0500 Original-Received: by mail-pj1-x102a.google.com with SMTP id gt5so7479945pjb.1 for ; Mon, 06 Dec 2021 03:18:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=Y0lDVA1NXsSwhg9jjxqzPXtVKNuIiuFM4f4256vBmqA=; b=pwny/375JE0XPmHFdt5wn4iPcJodQGpRRRovcmeIjV304A4CwcS9kEVjIcj/j9yE/m vC4qZhwz28X8LiKkYrkh5R4Wj/CHw0k3yN97x7onZfcEMDynOfy8kn/stYkWbJ5maXIo KL8YMdfEKnap1GCHUJNPNOsclGdMgfReEzGE2vS8u5T7k/DqCefyrSLt+UQPJ36fu3S/ rkpRbJ3xawHTEoc96DDzeWkMAV+9vQELW0/0eEbOYG+r4yfbnvSALyxiCUo3c0jDamgY sA1c0rGyhgTgpPFVsdV/kommSJfKPcDn+NaVL9WosJyuiNXRRS/XhnrgPxZ3OXKeOyKF HtMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=Y0lDVA1NXsSwhg9jjxqzPXtVKNuIiuFM4f4256vBmqA=; b=LNXxqRdeeJuOHBgzO3PxhTVFxBaWvPLb6jgkTXHqohqL78e7nQwmVBL2Rxu8rLuwGc 4cUKT3be+lF2DkYzrX/8llqTdP8uoqGu/RLPj9lE6BsIQ04xfgK/eVrFU59+d1jSp0qm SoD5Zv0GXvL4dTPXRr3LDXdMhiyE/CcSm4oTsda03X+YPI4TJgNwYnrE0C/dRTtXal48 GkWxurbSl/5jG36IIElYExKcatEehQNMrlryk4Fx0kNJ26/zfEQAfxD9SeIeua7TEHP5 s2dxudgGQzz3FJG9YwIhd1QPybChYr9tub/bnGzMjz0lZLBDXkFSCYqdu7mnYpGJZDVj Hh+w== X-Gm-Message-State: AOAM5337v7ko1fsWNNFBGFpZmg+vcIJ2XRVPpd3Ri8Mw/w+Us9uJv8Dl nu2ujthIBfrcR20jE6zEpKmXfMEz00aXKh9RTJo= X-Google-Smtp-Source: ABdhPJxL1uRBJ8PWV49sD+3G0doHKYK/Se8GWjPKZeigRUkTquJkn7dHfF6xU+6Ovw97CXZ9Q8se9XZ2t5K4yO9rcyk= X-Received: by 2002:a17:90a:be10:: with SMTP id a16mr36249041pjs.133.1638789514534; Mon, 06 Dec 2021 03:18:34 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 6 Dec 2021 12:18:33 +0100 In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::102a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=stefankangas@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=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:281079 Archived-At: Arthur Miller 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? FWIW, I think something like `package-selected-packages' is a minor abuse of customize, and one which to me is rather impractical: when synching my Init file between different machines, I don't necessarily want to have the same packages installed on all of them. 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.