Skip to content
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

Clicking file in coffee REPL must open the file in a new buffer #10

Open
shakthimaan opened this issue Feb 26, 2015 · 0 comments
Open

Comments

@shakthimaan
Copy link

Hi,

Firstly, thanks for writing js-config.el. I have js-comint installed. I am trying to test the following test.coffee code in Emacs 24.3.1 on Fedora 20 (x86_64):

for i in [0..5]
    consoleee.log "Hello #{i}"

It loads in the coffee REPL with the output when using C-c C-b:

------> for i in [0..5]
.......     consolee.log "Hello #{i}"
....... 
....... ReferenceError: consolee is not defined
    at repl:5:19
    at repl:8:3
    at REPLServer.replDefaults.eval (/usr/share/coffee-script/lib/coffee-script/repl.js:33:28)
    at repl.js:239:12
    at Interface.<anonymous> (/usr/share/coffee-script/lib/coffee-script/repl.js:62:9)
    at Interface.emit (events.js:117:20)
    at ReadStream.<anonymous> (/usr/share/coffee-script/lib/coffee-script/repl.js:85:13)
    at ReadStream.emit (events.js:117:20)
    at emitKey (readline.js:1095:12)
    at readline.js:1080:7

The filenames in the output are not clickable. From the js-config.el shouldn't the " at" be stripped, and the js-hint should produce an output where the filenames can be opened in a new Emacs buffer? How is it possible to achieve this? Hitting C-c C-u says it is undefined.

What could I be missing?

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

No branches or pull requests

1 participant