From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Nic Ferrier <nferrier@ferrier.me.uk>
Cc: emacs-devel@gnu.org
Subject: Re: pcase is autoloaded?
Date: Fri, 01 Mar 2013 21:59:24 -0500 [thread overview]
Message-ID: <jwv1ubybj91.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87txourdu5.fsf@ferrier.me.uk> (Nic Ferrier's message of "Fri, 01 Mar 2013 21:48:34 +0000")
>>> This means that people leave it to be autoloaded rather than
>>> specifically required. In our case it broke our test badly because our
>>> file-system mock was loading pcase.el (which didn't work, surprise!)
>> I have no idea what problem you bumped into. I don't know what is your
>> "file system mock", nor do I know why loading pcase.el didn't work (or
>> why it should come as (no?) surprise).
> We were running some tests in which the filesystem functions were
> mocked with functions that returned predictable results for the function
> under test.
> These, of course, failed to load the pcase library when it was
> autoloaded.
I have no idea why you say "of course". And I see no connection between
`pcase' and your mockup. What's special about pcase, as opposed to
other autoloaded functions/macros?
Stefan
next prev parent reply other threads:[~2013-03-02 2:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-27 22:42 pcase is autoloaded? Nic Ferrier
2013-02-28 1:41 ` Stefan Monnier
2013-03-01 21:48 ` Nic Ferrier
2013-03-02 2:59 ` Stefan Monnier [this message]
2013-03-02 7:36 ` Aidan Gauland
2013-03-02 22:30 ` Aidan Gauland
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv1ubybj91.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=nferrier@ferrier.me.uk \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.