* Filename clickable in npm error output (coffeescript)
@ 2015-03-08 3:42 Shakthi Kannan
0 siblings, 0 replies; only message in thread
From: Shakthi Kannan @ 2015-03-08 3:42 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
I want to be able to click on a file in the error output of npm
(coffeescript files), and open the file in an Emacs buffer.
I have loaded js-config.el, installed js-comint (using Cask), and
jshint (npm install -g). 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?
If anyone can share their Emacs coffeescript configuration, that will
be helpful too.
Thanks!
SK
--
Shakthi Kannan
http://www.shakthimaan.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-03-08 3:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-08 3:42 Filename clickable in npm error output (coffeescript) Shakthi Kannan
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.