Compile region does not produce any output
Closed this issue · 5 comments
To reproduce:
- In a buffer type:
(my_vars) -> console.log('hello')
- C-x h
- M-x coffee-compile-region
Nothing happens. The coffee compiled buffer is also empty. I expect the selected region to be compiled to JS. This seems like a simple enough fix.
When I went to troubleshoot the issue, I instrumented the function coffee-compile-region
for debugging and was able to reproduce the issue but realized that the buffer would get cleared when the function exited. I de-instrumented the function and now the command works as expected.
Will reopen the issue if I notice it happening again.
I'm having this issue again. Has anyone else had the same experience with the compile region functionality?
CoffeeScript version: 1.10.0 (from within emacs)
GNU Emacs 24.5.1 (x86_64-apple-darwin15.3.0, NS apple-appkit-1404.34) of 2016-03-02
OS X 10.11.3
Compile buffer works for me. Compile region is the only one giving me trouble. I'm also using prelude if that's relevant.