From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Mon, 6 Dec 2021 20:04:33 +0700 Message-ID: References: <87tufmjyai.fsf@gnus.org> <875ys2lyt0.fsf@yahoo.com> 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="9069"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Lars Ingebrigtsen , Emacs developers To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 06 14:27:23 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 1muE1a-00025v-G7 for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 14:27:22 +0100 Original-Received: from localhost ([::1]:44866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muE1Z-00006w-Es for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 08:27:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muDfu-0002ll-MR for emacs-devel@gnu.org; Mon, 06 Dec 2021 08:05:03 -0500 Original-Received: from [2607:f8b0:4864:20::929] (port=47039 helo=mail-ua1-x929.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muDfo-0003eO-5w for emacs-devel@gnu.org; Mon, 06 Dec 2021 08:04:58 -0500 Original-Received: by mail-ua1-x929.google.com with SMTP id 30so732377uag.13 for ; Mon, 06 Dec 2021 05:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3RjN1uJUswIK9jPYjMJ/2mktV29YJtPzGY2WhHF8wsk=; b=Rw0c1DTLvL2s9LKVv0bZL1Bs0r+Jv/IO+CNMEcppLTOEMmh/aVLdINiEDIDKHcr/uY oyLSZJ1FTwPYQ0nrWGvi8ubIeJe+b/09TTBU3aHTEN1c8OFfWnWBfb+u9ji6kjvmZxvP R0Wk8LBT/ViOvBaZ89+l7xwDTAN7F6TBDCzfCi+w9HvEactQff10ZhKkcxk5uUjcVbi5 BJc7HWLZiYWFPMxaCq1j9dQeScDwZMe+BpWz+/yIQmIQ8n2E/IvsyWJyavMjLxmR25w6 wCI0/DvRZDIeaVxkAS5SBu1USHPoYQeJJW10Z9A+WvCeZlrnodcBjKVlyNcxhiNJsPV1 /klg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3RjN1uJUswIK9jPYjMJ/2mktV29YJtPzGY2WhHF8wsk=; b=7E1zgT3u7+VaBvdqnV9FG8COHIKlw/MmltA+dZm4TZrptp4JvsMYA9kLnNDoNtQ184 3JZeK/23WWUyEA9lznfD4qI9YoFgibUbOpiUUje4Wnhlfb42Sl+ZptZ6tNgrWANEvNtm 0GYhfHFH4v8/rmZBBGB3RnknUhY0yO/TbhYKKyexH+gRr25pe9743lRKvYKnyAbWzfmx 2AoEd3QUCTRZ2i4ccn1jrMpZ1XnyuYxPeLNIiXTRI2/JqRMOv/AP5hGeLMetd34RHJD0 b92J8cJStetffPpsnD4bYffqoVzr+ijZL8j6o/flY1O3d1B0IL/DkvgnTip/4nGt8e2m 1cxA== X-Gm-Message-State: AOAM530NBsNH4n20X1zhVILEn+FexEnPNp7nKyaJBI9tIHWWz18HLpfH Uub5iOGCay0Qj1KcSXC56Ak+HCOM7CGccaFmH0A= X-Google-Smtp-Source: ABdhPJxTtbZ2KYY5/8q4VpTWVliOBOP5LakZwyFbDJ7zfdI/DjYsR2lnhJncKgm7v07Zd/UP3w7Vpcp4w5vLm/BV72w= X-Received: by 2002:a05:6102:1ca:: with SMTP id s10mr36350650vsq.61.1638795884564; Mon, 06 Dec 2021 05:04:44 -0800 (PST) In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::929 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::929; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x929.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, T_SPF_TEMPERROR=0.01 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:281097 Archived-At: On Mon, 6 Dec 2021 at 19:39, Arthur Miller wrote: > I also think that everyone is uses sqlite for persisting user settings because > they don't have lisp and customize :). I wanna add a thought here. There are multiple kinds of persistent data, and they want different backup, versioning and replication policies. * Cache. Not backed up, not versioned, and not replicated. * User configuration. Backed up, versioned, and replicated. * Machine-specific variable data. Backed up, but probably not versioned and not much point in replicating. * User-specific variable data. Backed up, not versioned, replicated. Emacs treats (mostly) everything as configuration. SQLite treats everything as variable data. Neither way is a good thing.