-
Notifications
You must be signed in to change notification settings - Fork 347
Add tests to haskell-process-wrapper-function #491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests to haskell-process-wrapper-function #491
Conversation
As this is no longer related to cask, you should probably change the commit message. What is the reason for changing the gitignore? Is that no longer needed? |
lol. Indeed, I focused so much on the content of the commit, I forgot the message! For the .gitignore, I tried to keep it it was before. |
6765c03
to
7bcb572
Compare
Rebased! Thanks! |
4a6a78b
to
50585eb
Compare
50585eb
to
07bf9cd
Compare
(package-initialize) | ||
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")) | ||
(package-refresh-contents) | ||
(package-install 'el-mock)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As usual, beware the ugly hack!
Uglier because of emacs-23 compat' issue on package.
@ardumont: There is a directory (el-mock.el is under GPL and has license in itself, so this copy is ok license wise). |
Neat, way better! Thanks for the information, will update this then. Cheers, On Wed, 4 Mar 2015 09:01 gracjan [email protected] wrote:
|
Having said that can't we get away without el-mock.el? For example this fragment:
isn't it equivalent to:
? Emacs is dynamically bound (usually). This has plenty of downsides but a couple of upsides, too :) |
Also |
I'm not sure.
Indeed.
Right. I admit, I'm kind of overwhelmed with this cl thing. |
Digging inside el-mock.el reveals that it does some advanced redefinition magic and does not use dynamic variables. It that case it makes sense to pull this dependency in. |
I'm at work right now. As a consequence, I'll also rework #492 and remove the dependency on this PR (that is by removing the common commit, this one). Cheers, |
Nope, that won't work. The What about adding another folder |
And it should be added for all Emacs versions. |
And indeed, it does not.
This does :D
Are you suggesting I update the |
It also works (at least on my emacs-24-4). |
b8e1789
to
18db008
Compare
@ardumont: looks very good! I'll check this out soon as time permits. |
I've reworked your commits for better history and merged them. Thanks! |
@ardumont: note that there are plenty of other functions in |
Great!
Right. I'll see what I can do. Cheers, |
WIP https://github.com/ardumont/haskell-mode/tree/add-tests-to-haskell-process-namespace I'm working (slowly) on it. |
As asked ardumont@ec29dfb#commitcomment-10007144
Cheers,