unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lynn Winebarger <owinebar@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Regression in dump-emacs-portable
Date: Fri, 17 Feb 2023 07:57:46 -0500	[thread overview]
Message-ID: <CAM=F=bD=Qn6YL7UD4AKFn_OOYRoMsqLJkfRDU7u22iYcH9oVVw@mail.gmail.com> (raw)
In-Reply-To: <87lekwooj0.fsf@yahoo.com>

On Fri, Feb 17, 2023 at 12:23 AM Po Lu <luangruo@yahoo.com> wrote:
>
> Lynn Winebarger <owinebar@gmail.com> writes:
>
> > This seems to be related to whatever object "treesit-font-lock-rules" creates.
> > The moral seems to be to create tests of each type of object a
> > user-visible lisp function might create to get quick test cases.
>
>     case PVEC_CONDVAR:
>       error_unsupported_dump_object (ctx, lv, "condvar");
>     case PVEC_SQLITE:
>       error_unsupported_dump_object (ctx, lv, "sqlite");
>     case PVEC_MODULE_FUNCTION:
>       error_unsupported_dump_object (ctx, lv, "module function");
>     case PVEC_SYMBOL_WITH_POS:
>       error_unsupported_dump_object (ctx, lv, "symbol with pos");
>     default:
>
> Please add the all the tree-sitter pvec types here, and see which one it
> is.
I just pretty-printed the value of the variable this sets instead:
(pp sh-mode--treesit-settings (current-buffer))
((#<treesit-compiled-query> t comment nil)
 (#<treesit-compiled-query> t function nil)
 (#<treesit-compiled-query> t string nil)
 (#<treesit-compiled-query> t heredoc nil)
 (#<treesit-compiled-query> t variable nil)
 (#<treesit-compiled-query> t keyword nil)
 (#<treesit-compiled-query> t command nil)
 (#<treesit-compiled-query> t declaration-command nil)
 (#<treesit-compiled-query> t constant nil)
 (#<treesit-compiled-query> t operator nil)
 (#<treesit-compiled-query> t builtin-variable nil)
 (#<treesit-compiled-query> t number nil)
 (#<treesit-compiled-query> t bracket nil)
 (#<treesit-compiled-query> t delimiter nil)
 (#<treesit-compiled-query> t misc-punctuation nil))

I'm guessing it's whatever #<treeset-compiled-query> represents.
The core dump from pdumping an overlay is a bigger problem to me.
Worst case, I can disable tree-sitter when running ./configure, which
is not an option for overlays.  Also, core dump from running a
function intended for end-users.

Lynn



  reply	other threads:[~2023-02-17 12:57 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-13  0:51 Regression in dump-emacs-portable Lynn Winebarger
2023-02-14  1:13 ` Lynn Winebarger
2023-02-14 14:23   ` Eli Zaretskii
2023-02-14 23:26     ` Lynn Winebarger
2023-02-15 12:42       ` Eli Zaretskii
2023-02-16  9:31         ` Lynn Winebarger
2023-02-16  9:54           ` Lynn Winebarger
2023-02-16 15:05             ` Lynn Winebarger
2023-02-16 15:34               ` Eli Zaretskii
2023-02-16 23:45                 ` Lynn Winebarger
2023-02-17 13:22                   ` Lynn Winebarger
2023-02-17 14:31                     ` Eli Zaretskii
2023-02-17 23:44                       ` Lynn Winebarger
2023-02-18  7:07                         ` Eli Zaretskii
2023-02-21 14:21                           ` Lynn Winebarger
2023-02-23  2:41                             ` Lynn Winebarger
2023-02-23 13:21                 ` Lynn Winebarger
2023-02-16 15:46           ` Eli Zaretskii
2023-02-17  1:29             ` Lynn Winebarger
2023-02-17  3:19               ` Lynn Winebarger
2023-02-17  4:10               ` Lynn Winebarger
2023-02-17  5:21                 ` Po Lu
2023-02-17 12:57                   ` Lynn Winebarger [this message]
2023-02-23 15:08 ` Gregory Heytings
2023-02-23 22:32   ` Lynn Winebarger
2023-02-25  4:11     ` Richard Stallman
2023-02-25  4:11     ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM=F=bD=Qn6YL7UD4AKFn_OOYRoMsqLJkfRDU7u22iYcH9oVVw@mail.gmail.com' \
    --to=owinebar@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).