From: Alan Mackenzie <acm@muc.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: "Andreas Röhler" <andreas.roehler@online.de>, emacs-devel@gnu.org
Subject: Re: 27.0.50, (void-function with-buffer-prepared-for-jit-lock)
Date: Sat, 30 Jun 2018 17:51:52 +0000 [thread overview]
Message-ID: <20180630175152.GA6816@ACM> (raw)
In-Reply-To: <jwv1scp4283.fsf-monnier+gmane.emacs.devel@gnu.org>
Hello, Stefan.
On Fri, Jun 29, 2018 at 19:14:50 -0400, Stefan Monnier wrote:
> > when running an uncompiled Emacs --which is preferred for jumping into maybe
> > changed sources-- got
> There's no such thing as "an uncompiled Emacs". All it means is that
> you did something to use some uncompiled code somewhere, but without
> clarifying what it is you did.
> > Error during redisplay: (jit-lock-function 1245) signaled (void-function
> > with-buffer-prepared-for-jit-lock)
> So, apparently what you did was not right: if it hurts, don't do it.
> Without knowing what it is you did, nor what it is you were trying to
> do, it's hard to help you much further.
I had a similar experience with the macro save-buffer-state in
font-lock.el. This macro is restricted by the surrounding
eval-when-compile. So when I tried to instrument
font-lock-default-fontify-region for edebug, edebug assumed
save-buffer-state was an unknown function, and when I tried to run it,
it threw an error.
It was irritating to have to compile save-buffer-state by hand (with C-x
C-e) and then to instrument f-l-d-fontify-region again.
I thus concur with Andreas, that such macros (and possibly require
operations) should be available at run time.
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2018-06-30 17:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-29 19:38 27.0.50, (void-function with-buffer-prepared-for-jit-lock) Andreas Röhler
2018-06-29 23:14 ` Stefan Monnier
2018-06-30 10:54 ` Andreas Röhler
2018-06-30 13:37 ` Stefan Monnier
2018-06-30 17:51 ` Alan Mackenzie [this message]
2018-07-01 3:06 ` Stefan Monnier
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=20180630175152.GA6816@ACM \
--to=acm@muc.de \
--cc=andreas.roehler@online.de \
--cc=emacs-devel@gnu.org \
--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 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).