unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Ert batch-mode error
Date: Mon, 6 Apr 2020 18:55:26 -0400	[thread overview]
Message-ID: <CAM-tV--6zU5xoa+VYUcAfMftYdXisn3ngTFoHp7oMsxADtUh9g@mail.gmail.com> (raw)
In-Reply-To: <087407fd-d0a3-af4e-938d-522f0cdb698b@easy-emacs.de>

On Mon, 6 Apr 2020 at 05:05, Andreas Röhler
<andreas.roehler@easy-emacs.de> wrote:

>    (syntactic-close-test-with-python-buffer

> So the error occurs only in batch-mode.

This macro tries calls font-lock-fontity-region, perhaps the problem
is that font-lock mode doesn't activate in batch mode (although it's
not clear to me why your should depend on font-lock). I wrote
yas--with-font-locked-temp-buffer for some yasnippet tests to deal
with similar problems.

https://github.com/joaotavora/yasnippet/blob/0.14.0/yasnippet-tests.el#L856-L874



  reply	other threads:[~2020-04-06 22:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06  9:11 Ert batch-mode error Andreas Röhler
2020-04-06 22:55 ` Noam Postavsky [this message]
2020-04-07  3:50   ` Stefan Monnier
2020-04-08  6:47     ` Andreas Röhler
2020-04-13 14:50     ` Noam Postavsky
2020-04-13 17:47       ` 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=CAM-tV--6zU5xoa+VYUcAfMftYdXisn3ngTFoHp7oMsxADtUh9g@mail.gmail.com \
    --to=npostavs@gmail.com \
    --cc=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@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.
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).