From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Hyatt Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: triples Date: Wed, 26 Oct 2022 09:23:25 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13823"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Tom Gillespie To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 26 15:24:21 2022 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 1ongOK-0003Ly-K6 for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Oct 2022 15:24:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ongNe-0002Yb-Ep; Wed, 26 Oct 2022 09:23:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ongNW-000235-Kn for emacs-devel@gnu.org; Wed, 26 Oct 2022 09:23:30 -0400 Original-Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ongNU-00061K-9W for emacs-devel@gnu.org; Wed, 26 Oct 2022 09:23:29 -0400 Original-Received: by mail-qv1-xf2b.google.com with SMTP id o8so11383071qvw.5 for ; Wed, 26 Oct 2022 06:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=eE2GJK6aXq4MdEb45bv2BjiSwk4QjUn2PI9Fg61LF0g=; b=o9pZmt9oe+1SIApTyq6ge5fLplVYoDem44ppwtuyzf+TeDRfaf0LmO4USVwy/nEq1Z SNURjrXtrYyAqgIaqb04snNJRvA7zZcWCbLjPnwc03UE8ar+fBtZL4c7jCozzNlU3dSK qUJB48DMyCPkpGlgaULsX0d1wrPSnIHQ0qDXMdMGplqcgtlxmgtSUCb7KK7x56B6fu3y LQSaH99CIwtOIRJrOTqR/Nl8C/x+qGpzuHqBtyQCEhf2s0xmZSKnJLKUKwuKn+NGCpuc +YnHeJFqo8Fwa79FNu8qY3/WHN+awyO8AFMV3BqS7HFwJ4ME9IqsJfUFaX+Be+r1XkTy aHTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eE2GJK6aXq4MdEb45bv2BjiSwk4QjUn2PI9Fg61LF0g=; b=IMcR8O6Hw0UwWbczjNO4INNReDBfT0zVNnqLGuebdjALzvA8fGAueqFHsx+YNLdSmh 0Sr3XA9yMbunHij97orC0hVzbXarsI4IV3jX1WXmvDlgO+iZo7iti9QSgNV2QRDywqrv GEfepQ6LFZ9WI1Zcn3ngfljQx3h13k8uR4Ntc3jHNwxrrSyxoa8CM6sBTlLfJ16Mu7Lw cRKgEFTnxpxlaPkhybkc5x6QoePbJSf3iVQLAfg+jKW0qv9yQoPgcCG/YzKKy1IXoDQo YzlguVU7O180dnLvWEbrAe1xm4F2Q1p5cqfBML8U8vRlM3OfJJ36z7rnZ+K0KqkpevZJ B4mw== X-Gm-Message-State: ACrzQf1VzJOxmdrK2tPJx1wnNNodoam5Ia6npVxN8m3RQAxhCH/1JViJ MFLoMgtlp4uRccb+H1+YQ3E= X-Google-Smtp-Source: AMsMyM7i52MO3rO3mXTqdzYi6yRZgPaU8KN9ylEXSYJLQ4pwTgRC9uAVvFO6peyx4nGoy1C5tdhA6A== X-Received: by 2002:a0c:cb92:0:b0:4bb:7aa3:d8ce with SMTP id p18-20020a0ccb92000000b004bb7aa3d8cemr10827481qvk.45.1666790607041; Wed, 26 Oct 2022 06:23:27 -0700 (PDT) Original-Received: from andrews-mbp.lan (pool-71-183-193-81.nycmny.fios.verizon.net. [71.183.193.81]) by smtp.gmail.com with ESMTPSA id fa15-20020a05622a4ccf00b003a4f2510e5dsm393366qtb.24.2022.10.26.06.23.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 06:23:26 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::f2b; envelope-from=ahyatt@gmail.com; helo=mail-qv1-xf2b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298537 Archived-At: On Tue, Oct 25, 2022 at 10:52 PM Stefan Monnier wrote: >> I've created a new package, triples, which can be found at >> https://github.com/ahyatt/triples. I'd like to add this to >> some ELPA, and would prefer the gnu ELPA. I will be talking >> about this package, and examples of its use, in the upcoming >> Emacs conference. > > Sounds really nice. Currently I see it depends on `emacsql`, > but that package is neither in GNU ELPA nor NonGNU ELPA. Any > chance you can rework your package so it can use the new > built-in sqlite code in Emacs-29, or maybe the `pq` package (tho > this one is currently only in GNU-devel, it just needs a > `Version:` bump to appear on GNU ELPA)? > > In the mean time, we should probably add `emacsql` to > (presumably Non)GNU ELPA. Yes, it's possible for me to rework it. However, it then would be available just to those on Emacs 29, which seems restrictive. Would it make sense to try to be compatible with both by wrapping the calls and just using whichever sqlite package is available? Has anyone done that before? Anyway, it doesn't hurt for me to make a branch and just completely switch to the Emacs 29 sqlite to see if anything interesting comes up, so I'll do that soon. > > > > Stefan > > > PS: I also see `cl-lib` in the package-requires, and using a weird > non-parenthesized syntax. Since `emacsql` depends on Emacs-25, you may > as well depend on Emacs-25 which will give you `cl-lib` anyway.