From: Nic Ferrier <nferrier@ferrier.me.uk>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: pcase is autoloaded?
Date: Fri, 01 Mar 2013 21:48:34 +0000 [thread overview]
Message-ID: <87txourdu5.fsf@ferrier.me.uk> (raw)
In-Reply-To: <jwv1uc1md1z.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 27 Feb 2013 20:41:09 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> 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.
Nic Ferrier
next prev parent reply other threads:[~2013-03-01 21:48 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 [this message]
2013-03-02 2:59 ` Stefan Monnier
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=87txourdu5.fsf@ferrier.me.uk \
--to=nferrier@ferrier.me.uk \
--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 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.