Skip to content

haskell-process-load-or-reload and haskell-interactive-switch-back #955

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

Closed
d12frosted opened this issue Oct 25, 2015 · 3 comments · Fixed by #1140
Closed

haskell-process-load-or-reload and haskell-interactive-switch-back #955

d12frosted opened this issue Oct 25, 2015 · 3 comments · Fixed by #1140

Comments

@d12frosted
Copy link

Hey,

I like to use haskell-process-load-or-reload function because it switches to REPL and loads buffer into it. The only thing I don't like about it - it doesn't play well with haskell-interactive-switch-back function. What do you think about reusing haskell-interactive-switch in haskell-process-load-or-reload?

@gracjan
Copy link
Contributor

gracjan commented Oct 25, 2015

Note also #807.

@d12frosted
Copy link
Author

Oh nice! Probably I would give it a try! 😄

@gracjan
Copy link
Contributor

gracjan commented Feb 6, 2016

@bergey, can you take a look at this one? I'm not sure what is missing here really...

bergey added a commit to bergey/haskell-mode that referenced this issue Feb 7, 2016
This sets a variable with the source buffer so we can switch back.

This is pretty bizzare, though.  Both before and after this commit,
`haskell-session-interactive-buffer` switches to the buffer if it's
newly created, but if the buffer already exists, just returns the buffer
without visiting.  This function shouldn't switch, and callers
should decide if they want to switch.

closes haskell#955
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants