From: Eli Zaretskii <eliz@gnu.org>
To: dancol@dancol.org, casouri@gmail.com
Cc: serg.foo@gmail.com, 69952@debbugs.gnu.org
Subject: bug#69952: [PATCH] Support pdumping compiled queries by dumping their source
Date: Sat, 13 Apr 2024 10:41:48 +0300 [thread overview]
Message-ID: <86le5hr9oj.fsf@gnu.org> (raw)
In-Reply-To: <86r0g1zaqi.fsf@gnu.org> (message from Eli Zaretskii on Sat, 23 Mar 2024 09:08:21 +0200)
Ping! Daniel and Yuan, any comments on this proposal?
> Cc: 69952@debbugs.gnu.org, Daniel Colascione <dancol@dancol.org>,
> Yuan Fu <casouri@gmail.com>
> Date: Sat, 23 Mar 2024 09:08:21 +0200
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Date: Sat, 23 Mar 2024 03:27:18 +0000
> > From: Sergey Vinokurov <serg.foo@gmail.com>
> >
> > This patch aims to allow more things to be dumped. In particular,
> > compiled treesitter queries can be easily dumped by storing their source
> > so that they will be recompiled on load.
> >
> > I noticed that in my config compiled quires are created somewhere which
> > prevents me dumping with standard Emacs build. But with this patch I can
> > dump successfully and not bother finding out who produced the queries.
> >
> > It seems like there should be no drawbacks in allowing more things to be
> > dumped, please correct me if I'm wrong.
>
> Thanks. I added Daniel and Yuan to the discussion, in case they have
> comments.
>
> And I have a question: what happens if the pdumper file dumped with
> tree-sitter available is loaded by an Emacs session in which
> tree-sitter is not available? That can happen on Windows, for
> example, if the tree-sitter library or the grammar library required
> for recomputing the query is not available. I think we need some code
> to prevent Emacs from crashing on startup in that case.
>
>
>
>
next prev parent reply other threads:[~2024-04-13 7:41 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-23 3:27 bug#69952: [PATCH] Support pdumping compiled queries by dumping their source Sergey Vinokurov
2024-03-23 7:08 ` Eli Zaretskii
2024-03-23 12:53 ` Sergey Vinokurov
2024-03-23 13:09 ` Eli Zaretskii
2024-04-13 7:41 ` Eli Zaretskii [this message]
2024-04-20 8:08 ` Yuan Fu
2024-04-20 9:32 ` Eli Zaretskii
2024-04-20 22:50 ` Yuan Fu
2024-04-21 4:53 ` Eli Zaretskii
2024-04-21 23:41 ` Yuan Fu
2024-04-22 5:47 ` Eli Zaretskii
2024-04-22 6:04 ` Yuan Fu
2024-04-22 6:18 ` Eli Zaretskii
2024-04-22 6:25 ` Yuan Fu
2024-05-04 9:39 ` Eli Zaretskii
2024-05-04 21:29 ` Yuan Fu
2024-05-18 8:38 ` Eli Zaretskii
2024-05-22 6:36 ` Yuan Fu
2024-05-22 12:55 ` Eli Zaretskii
2024-05-29 16:35 ` Andrea Corallo
2024-06-01 17:07 ` Yuan Fu
2024-06-15 7:59 ` Eli Zaretskii
2024-06-19 6:25 ` Yuan Fu
2024-07-06 7:24 ` Eli Zaretskii
2024-07-20 9:43 ` Eli Zaretskii
2024-07-20 21:06 ` Yuan Fu
2024-07-21 4:30 ` 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=86le5hr9oj.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=69952@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=dancol@dancol.org \
--cc=serg.foo@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.