Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Function to completely and cleanly kill a haskell-interactive session #61

ozataman opened this Issue Jun 13, 2012 · 3 comments


None yet
2 participants

It would be nice to have a function that would completely destroy the currently active/loaded session on screen, removing all evidence of it ever having existed. If user tries to F5 on any of the previously associated files, a completely new session should start with a question asking for the cabal directory.

This would be particularly convenient when Emacs is loaded for extended periods of time - as it usually is - and the user wants to cleanly shut down (and perhaps later decide to restart) unattended Haskell sessions.

Please note that when the session is to be restarted, the process should really start from scratch and ask once again the cabal file and the working directory.

Just wanted to add a comment here in light of the recent improvements to session-clear, restart and change.

I think this request is now the last remaining piece to make this chain of functionality really smooth. It would really be great to have a kill-current-session or kill-session which lets us choose with ghci instantiation to completely remove from the active list.

I often find myself working with 4 or 5 active sessions (different libraries and one actual project using them, typically). The only way at the moment to get rid of the sessions cleanly is to restart emacs.


chrisdone commented May 19, 2013

Marking P1 for 13.6.

@ghost ghost assigned chrisdone May 19, 2013


chrisdone commented May 26, 2013

OK, implemented. Please confirm and close.

@chrisdone chrisdone closed this Jun 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment