unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Joost Kremers <joostkremers@fastmail.fm>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Compiled vs. interpreted ERT test
Date: Thu, 27 Feb 2020 20:48:02 -0500	[thread overview]
Message-ID: <CAM-tV-_tVV2xgK_0vO+LPmNaoTjLrN+RbHk0VTjdDC5m1OWxTg@mail.gmail.com> (raw)
In-Reply-To: <87r1yfr7vs.fsf@fastmail.fm>

On Thu, 27 Feb 2020 at 17:19, Joost Kremers <joostkremers@fastmail.fm> wrote:

> I opened an issue on the package's Github page but the maintainer
> says he doesn't know how to debug this.[2] So I'm coming here in
> the hopes someone has an idea or a suggestion how to debug this.

I'm not really sure, but it could help to reduce the example a bit.
Neither ert nor ebib are necessary to trigger this:

    (defun foo ()
      (with-simulated-input "RET"
        "xxx"))
    (byte-compile 'foo)
    (foo)

I guess the problem lies in some of the tricks with-simulated-input is
playing with closures and environments and such.



  reply	other threads:[~2020-02-28  1:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-27 22:19 Compiled vs. interpreted ERT test Joost Kremers
2020-02-28  1:48 ` Noam Postavsky [this message]
2020-02-28  2:18 ` Stefan Monnier
2020-02-28  3:16   ` Stefan Monnier
2020-02-28  8:07     ` Joost Kremers

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-_tVV2xgK_0vO+LPmNaoTjLrN+RbHk0VTjdDC5m1OWxTg@mail.gmail.com \
    --to=npostavs@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joostkremers@fastmail.fm \
    /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).