From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ag Ibragimov Newsgroups: gmane.emacs.devel Subject: sqlite library Date: Fri, 09 Dec 2022 18:35:07 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37421"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 10 01:35:55 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 1p3nqM-0009ZA-VI for ged-emacs-devel@m.gmane-mx.org; Sat, 10 Dec 2022 01:35:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3npk-00076d-7X; Fri, 09 Dec 2022 19:35:16 -0500 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 1p3nph-00076E-Se for emacs-devel@gnu.org; Fri, 09 Dec 2022 19:35:13 -0500 Original-Received: from mail-oa1-x35.google.com ([2001:4860:4864:20::35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3npg-0006eO-AK for emacs-devel@gnu.org; Fri, 09 Dec 2022 19:35:13 -0500 Original-Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-1433ef3b61fso1699346fac.10 for ; Fri, 09 Dec 2022 16:35:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=p2KmKduOoJ9dZCXAVXRd5xpVBKZtgk1tu5g3jUSGGZ0=; b=Dv/dFzpZJKqspbHRTwgXNZxlGEUjN7EizGxZQpvIQyKgX4nf39FNCz9O61hv5jHibG qVaSQSTqWJ4mQwA8qRkjWIL6YvzbJspSZ9O6wpIQKqpe+wPL/xr97XThEjhxzWprPW0H q+QW7u+r33/Tcn/jKR7TEjxzdhhKsdi38njI9ZQoNgGAyn7L78OaZwwak1dN7s4qZ069 Ws9sElqzrD1LAzBzfGYGZiUxIjIlBNdGz2NZjUQX4jqPtXDysW/QVQAeVlZMVqlG5cB4 ynXWKy6d09kGNF7nJNSy4tlGLnITg5VQ6dmIXx1hUtyrgwLCdRliEDDtbcWqYje/W5d+ VUmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=p2KmKduOoJ9dZCXAVXRd5xpVBKZtgk1tu5g3jUSGGZ0=; b=YicnwOYmgDTF+smfzGNaFJ5DNAOstUULPGnmrfOh8ufnqjywo0orWDcHB4nN2uNgCY TObjHt7YfuugGOX52armnLySqhRmK68XHeCdy6epfk86zzL2SCNMeOAWFtizfpbDrbdX fKNW2ywcyEUD0vRlZlX40+W9yWf+R0BhI1m0DArgr1j+kI6xwxSXj94PVgAPGICLpNjx Lfr9NXjcEMJmXvL+huieGu6sxuEjy55kWAvO+4W8ekwqXz3Qe0+joc+2YDr0Z9zWMm+R kGuW4FmDLzt5TIn7JiW8s7Pp1VFDX1+0bFA2igZ7R3lvzBHAJ5EDH9SRlfw3aIAPg48/ NJrA== X-Gm-Message-State: ANoB5pkqUuOtdjADcSELfNptx8EVTGf8M8gMB+haYl1oDSIlKoSmZrkp aWNjetSOhWcR3voaSWP7Pxut15JNOxo= X-Google-Smtp-Source: AA0mqf5odrLQn755r3SbFr3k4IF3H2xfbDMV2E4cy1o3sd0aOYnpSWmZ5WanUMLJL9XxmKTZy21uOQ== X-Received: by 2002:a05:6871:4087:b0:142:f107:961d with SMTP id kz7-20020a056871408700b00142f107961dmr3892547oab.2.1670632510114; Fri, 09 Dec 2022 16:35:10 -0800 (PST) Original-Received: from AIBRAGIM-M-J8Z8 (99-97-209-112.lightspeed.rcsntx.sbcglobal.net. [99.97.209.112]) by smtp.gmail.com with ESMTPSA id r14-20020a056871088e00b0011f22e74d5fsm1572587oaq.20.2022.12.09.16.35.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Dec 2022 16:35:09 -0800 (PST) Received-SPF: pass client-ip=2001:4860:4864:20::35; envelope-from=agzam.ibragimov@gmail.com; helo=mail-oa1-x35.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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301092 Archived-At: I wrote a prototype of a package that queries a sqlite DB, but only later realized that built-in support for it was added in Emacs 29 (the version I use). I want to make the package compatible with older versions of Emacs (at least down to 27). I checked package repositories, it seems there are a few packages out there (and I don't know which one to use). What's the best and most straightforward option here for me? Can you someone advise me what should I use, what should I put in `Package-Requires:`; maybe the best would be to point to a simple package with a similar problem? If I use an external package anyway, does it make sense to check for the availability of the built-in functions? Or I should somehow load the external package only when it detects Emacs version prior to 29? Thank you.