From: Eli Zaretskii <eliz@gnu.org>
To: Jean Louis <bugs@gnu.support>, Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 72788@debbugs.gnu.org
Subject: bug#72788: 30.0.50; multisession--ensure-db: Symbol’s function definition is void: sqlite-open [2 times]
Date: Sat, 31 Aug 2024 13:27:59 +0300 [thread overview]
Message-ID: <86plppaswg.fsf@gnu.org> (raw)
In-Reply-To: <Zsw1d8MkuKLrVEqJ@lco2> (message from Jean Louis on Mon, 26 Aug 2024 10:57:43 +0300)
> Date: Mon, 26 Aug 2024 10:57:43 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: 72788@debbugs.gnu.org
>
> * Eli Zaretskii <eliz@gnu.org> [2024-08-25 08:38]:
> > Did you customize multisession-storage to the value 'sqlite? The
> > default is 'files. You cannot customize it to use 'sqlite if your
> > Emacs doesn't have sqlite support (as it seems to be the case).
>
> Yes, it was customized that way. When I changed the operating system,
> then the sqlite development library was not there.
>
> But if Emacs is trying to use sqlite functions, then it would be
> better that program verifies if sqlite functions are there, and then
> use default "files" as option.
>
> I have now compiled it with development libraries and it works again.
Stefan, do we have a way of causing the cl-defmethod dispatch reject a
method due to a failed predicate? The relevant method of
multisession.el says:
(cl-defmethod multisession-backend-value ((_type (eql 'sqlite)) object)
How can I modify this (or its callers?) to make this implementation be
called only if sqlite-available-p returns non-nil?
Btw, it looks like it's okay to have cl-defmethod without a
cl-defgeneric for the same method? is that expected?
next prev parent reply other threads:[~2024-08-31 10:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-24 8:54 bug#72788: 30.0.50; multisession--ensure-db: Symbol’s function definition is void: sqlite-open [2 times] Jean Louis
2024-08-24 13:01 ` Eli Zaretskii
2024-08-24 21:59 ` Jean Louis
2024-08-25 5:36 ` Eli Zaretskii
2024-08-26 7:57 ` Jean Louis
2024-08-31 10:27 ` Eli Zaretskii [this message]
2024-08-31 14:09 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-07 7:43 ` Eli Zaretskii
2024-08-26 7:57 ` Jean Louis
2024-08-31 10:28 ` Eli Zaretskii
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=86plppaswg.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=72788@debbugs.gnu.org \
--cc=bugs@gnu.support \
--cc=monnier@iro.umontreal.ca \
/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.