From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: cesar mena Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Mon, 06 Dec 2021 13:16:36 -0800 Message-ID: <878rwx8mdn.fsf@gnu.org> References: <87tufmjyai.fsf@gnus.org> <877dcil2sj.fsf@ericabrahamsen.net> <87czm98qi1.fsf@gnu.org> <87o85tcwm0.fsf@ericabrahamsen.net> <874k7ljwkr.fsf@gnus.org> <87fsr5cuzq.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30709"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux) Cc: emacs-devel@gnu.org To: Eric Abrahamsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 06 22:18:27 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 1muLNR-0007lV-PV for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 22:18:25 +0100 Original-Received: from localhost ([::1]:48272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muLNQ-00005b-I4 for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 16:18:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muLLk-0006P8-N7 for emacs-devel@gnu.org; Mon, 06 Dec 2021 16:16:40 -0500 Original-Received: from [2607:f8b0:4864:20::430] (port=45982 helo=mail-pf1-x430.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muLLi-0005vn-T8 for emacs-devel@gnu.org; Mon, 06 Dec 2021 16:16:40 -0500 Original-Received: by mail-pf1-x430.google.com with SMTP id x131so11316933pfc.12 for ; Mon, 06 Dec 2021 13:16:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=qeIrAMTQHdrPq0w/bfFe4d/0Lc6Rc/92UWC675IOI4M=; b=KBZd1o/SW04fBZ1uWmgbeWVl46DQoyGJipMQZ9pEid4N0h1eVUk9sfGVZhVDq1aQpJ kmk8lNDfGmgcbuGYNZAaxOTKKYdMKwmEclNyi05+1y3J45N2hC1RGReVIX5wx+4CsWs+ Ml6i6P7k/CqsiKqWIlzFy4MdK6CKn3iTiyAdqpCabQ462Qv6DEyHr5k0TkRW3UWEHg78 IaZxMnP3qG8BPk15MOxKjG87GVcSOfSmahYz9jZ/G0ExqNvt9oP7aWwYdxYFh8kZ2K3V zK/h0gCfGMPc7QJDjSb1T6ed720M0Hxn8tt7DndEETsAImTuXbs/EPeWg8RjMnMgsQjL yQqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=qeIrAMTQHdrPq0w/bfFe4d/0Lc6Rc/92UWC675IOI4M=; b=rHOBIgkClSHmyrsnJCVMyFcKYxQ7uvF48mCVnGuciM9sUrt9Xuy7O6adD6zFVejE7J v6yJtIMacXgZ3Tj2aVUpmL0ZDs+lh5zIw1aDoztMAqhRtjBuD22xU3ajBh/5swhKSKmc qns20Vo97PL4yohIIhqqx8xb/wqVQTrxl6rYCo6Y7M4g+Fw3QXCNpaw3rRaRyDh3ocmQ bgGb4CDlHtTNC1TPsgf41JhXHGWsGhk0LR2rD8KEHzhV5kAkZsNgbCwa8WP0XmZPncBa f+vmuFZ7TAw5TK0ThSM8fBj44WJ2hTzRGRt19MMIk7WGswQ/SUalUo6MlI+wd6WNkkX9 x0ig== X-Gm-Message-State: AOAM531X9VQoEIzsSLTHjFmyvTfef5ggr2KTd1pgc3OlzB6eD/PQu3k6 4wgwTyDI/8llPzzZWDW1pjGfCZ6fS/o= X-Google-Smtp-Source: ABdhPJxz2xaINI4L7v+p+VEoAKlh53jug3QnAt33mtAEY4jjR07/s/o5CDUEIMhHbdtHb2/pvLrFFw== X-Received: by 2002:a05:6a00:10c7:b0:4ad:bbfd:7b3b with SMTP id d7-20020a056a0010c700b004adbbfd7b3bmr9972705pfu.78.1638825397336; Mon, 06 Dec 2021 13:16:37 -0800 (PST) Original-Received: from [127.0.1.1] ([216.9.31.180]) by smtp.gmail.com with ESMTPSA id s15sm255589pjs.51.2021.12.06.13.16.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Dec 2021 13:16:37 -0800 (PST) In-Reply-To: <87fsr5cuzq.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 06 Dec 2021 12:56:57 -0800") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::430 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=cesar.mena@gmail.com; helo=mail-pf1-x430.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:281181 Archived-At: Eric Abrahamsen writes: > Lars Ingebrigtsen writes: > >> Eric Abrahamsen writes: >> >>> Well, Lars is the Gnus maintainer, not me, so all I can do is propose! >>> But yes I am, though only for group marks. Right now .newsrc.eld >>> combines concerns: it saves variables such as `gnus-server-alist' and >>> all the topic stuff that would be better saved as customization options >>> (or saved in a separate file, using the customization machinery). It >>> also saves group parameters, right next to the marks. Yes, it's a bit of a big hammer. >> It's a bit much, but I don't think those bits can be usefully separated >> out. But things like `gnus-save-duplicate-list' (which goes to a >> separate, ad-hoc file) would fit well as a simple persistent variable. > > If `gnus-newsrc-alist' were saved as-is, but *without* the mark data, > that mark data could be pulled out of a separate storage backend at > startup time, with a simple group-name->mark-data mapping. The > .newsrc.eld file could otherwise remain the same. One can edit flags through G p in the topic buffer; that interface would need to be preserved. Who knows what other secrets lurk in there. > But Qiantan's message reminded me that this proposal is actually a Gnus > issue, not a sqlite issue, and shouldn't clog up this thread. I'll keep > this for later! Yes, but in the end separating flags from .newsrc.eld is not for the faint of heart, and I am not sure I see the benefits. Like you said, for later.