unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Theodor Thornhill <theo@thornhill.no>
To: emacs-devel@gnu.org, Eduardo Ochs <eduardoochs@gmail.com>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: `M-q' uses tree-sitter now?
Date: Sun, 18 Dec 2022 15:53:29 +0100	[thread overview]
Message-ID: <5B81ABF1-29FA-4624-A091-533363344CF1@thornhill.no> (raw)
In-Reply-To: <CADs++6jQruEJVzG5iiE3sukxGkfsRJpTRaYdy93wfevtLB_7FA@mail.gmail.com>



On 18 December 2022 14:44:25 CET, Eduardo Ochs <eduardoochs@gmail.com> wrote:
>Hi list,
>
>I am running an Emacs30 that I git-pulled and compiled a few hours ago
>- its emacs-repository-version is
>
>  "5a344d90c53d681ed98ab03ad3e218a3c6561108"
>
>and I noticed that if I type `M-q' (`fill-paragraph') in a buffer in
>emacs-lisp-mode I get this error:
>
>  prog-fill-reindent-defun: Symbol's function definition is void:
>  treesit-parser-list
>
>I grepped the Lisp sources and `treesit-parser-list' is only mentioned
>in two files: "treesit.el" and "progmodes/prog-mode.el". I tried
>
>  (require 'prog-mode)
>  (require 'treesit)
>
>and `M-q' to see if the error would go away... but nah, same thing.
>So I thought that this would be worth reporting...
>
>  Cheers =/,
>    Eduardo Ochs
>    http://angg.twu.net/eepitch.html
>

Strange. Shouldn't it be enough to put the require in the eval-when-compile? Is anything else needed for the function to be picked up?



  reply	other threads:[~2022-12-18 14:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-18 13:44 `M-q' uses tree-sitter now? Eduardo Ochs
2022-12-18 14:53 ` Theodor Thornhill [this message]
2022-12-18 17:16   ` Eli Zaretskii
2022-12-18 18:08     ` Theodor Thornhill
2022-12-18 18:37       ` Eli Zaretskii
2022-12-18 17:15 ` Eli Zaretskii
2022-12-18 22:37   ` Eduardo Ochs

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=5B81ABF1-29FA-4624-A091-533363344CF1@thornhill.no \
    --to=theo@thornhill.no \
    --cc=eduardoochs@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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).