You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
If you use M-x kill-buffer on the *hie* buffer, subsequent commands error out with "Selecting deleted buffer". This is due to a use of with-current-buffer (hie-buffer). Maybe defining a utility like with-hie-buffer would be good, which also ensures that the buffer is initialized.
The text was updated successfully, but these errors were encountered:
@ankhers The buffers got refactored since @mgsloan opened that issue, but the general problem still exists.
Here’s an example:
Open a haskell file.
M-x hie-mode
M-x hie-eg2-sayHello
Kill the *hie-log* buffer
M-x hie-eg2-sayHello
In this case the error is in hie-log but from a quick look almost all cases where we use with-current-buffer suffer from that problem although it might be hard to reproduce it in some cases. We already have a with-hie-refactor-buffer macro so just adding macros for the other buffers and using them should be enough.
If you use
M-x kill-buffer
on the*hie*
buffer, subsequent commands error out with "Selecting deleted buffer". This is due to a use ofwith-current-buffer (hie-buffer)
. Maybe defining a utility likewith-hie-buffer
would be good, which also ensures that the buffer is initialized.The text was updated successfully, but these errors were encountered: