emacs Flymake 模式对于 CoffeeScript 失败
我正在尝试使用 CoffeeScript 运行 Flymake 模式。由于某种原因,当我调用 Flymake 模式时,我收到此消息(全部在错误日志中的一行上):
Flymake:运行时发生配置错误 (/usr/bin/coffee /tmp/flymake16162knP.coffee)。飞美将 关闭
我原以为它找不到 Coffeescript 命令,所以我给了它完整的路径,但到目前为止我无法让它工作。
I am trying to run flymake mode with CoffeeScript. For some reason when I invoke flymake mode I get this message (Its all on one line in the error log):
Flymake: Configuration error has occurred while running
(/usr/bin/coffee /tmp/flymake16162knP.coffee). Flymake will be
switched OFF
I had thought that it could not find the coffeescript command so I gave it the full path but as of now I can't get it to work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您将以下 S-exp 添加到您的配置文件中(也许是咖啡模式挂钩函数)。
当退出状态非零并且编译过程不是时,flymake 会抛出异常
打断了。这个 S-exp 强制将 Flymake-check-was-interrupted 指定为 true,
并避免 Flymake 异常。
You add following S-exp to your configuration file(maybe coffee-mode hook function).
flymake throws exception when exit status is non-zero and compile process was not
interrupted. This S-exp forces to assign flymake-check-was-interrupted to true,
and avoids flymake exception.