From: Andrew Hyatt <ahyatt@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org, Tom Gillespie <tgbugs@gmail.com>
Subject: Re: [ELPA] New package: triples
Date: Thu, 27 Oct 2022 01:15:10 -0400 [thread overview]
Message-ID: <m2czadsv8h.fsf@andrews-mbp.lan> (raw)
In-Reply-To: <jwvr0yuu33r.fsf-monnier+emacs@gnu.org>
On Wed, Oct 26, 2022 at 09:29 AM Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> 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?
>
> That's what I was hoping for, yes. But either way is fine by me
> :-)
>
I've started looking into this. Interesting consideration is that
emacsql and sqlite have a bit different representations: in sqlite
everything is a string, but emacsql will store symbols, numbers
differently than strings, which are wrapped in the database with
extra quotes to mark them as strings. I'll try to keep
compatibility between these versions, which really I think means
that our use of sqlite has to support emacsql's way of doing
things.
About the possibility of using one or the other, whichever is
available, how would that work in terms of package dependencies?
I don't think it's possible to have an OR dependency specified in
the package-dependencies line in the source, but really only one
of emacsql or emacs29 would be required. If you have any insight
into this, it'd be useful.
>> 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.
>
> It's probably a good first step in any case, before deciding if
> and how to merge the two cases.
Great, that is what I'm doing. When it passes tests, I'll let you
know.
>
>
> Stefan
next prev parent reply other threads:[~2022-10-27 5:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-26 0:54 [ELPA] New package: triples Andrew Hyatt
2022-10-26 2:52 ` Stefan Monnier
2022-10-26 5:52 ` Stefan Kangas
2022-10-26 13:23 ` Andrew Hyatt
2022-10-26 13:29 ` Stefan Monnier
2022-10-27 5:15 ` Andrew Hyatt [this message]
2022-10-27 15:34 ` Stefan Monnier
2022-11-03 2:32 ` Andrew Hyatt
2022-10-27 3:36 ` Jean Louis
2022-10-27 5:19 ` Andrew Hyatt
2022-10-27 19:15 ` Jean Louis
2022-10-27 23:33 ` Jean Louis
2022-11-03 2:37 ` Andrew Hyatt
2022-11-03 16:57 ` Jean Louis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2czadsv8h.fsf@andrews-mbp.lan \
--to=ahyatt@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=tgbugs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.