首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >除emacs ocaml错误消息中的字符外,还显示行号

除emacs ocaml错误消息中的字符外,还显示行号
EN

Stack Overflow用户
提问于 2013-10-19 09:23:41
回答 1查看 525关注 0票数 0

现在我正处于Emacs tuareg模式,我收到了这个错误消息

代码语言:javascript
复制
             * * *             * * * * * *       * *           Characters 2686-2820:

但不可能找到发生这种情况的地方。

这是我的.emacs文件-

代码语言:javascript
复制
(add-to-list 'load-path "~/tuareg-caml-mode")
(add-to-list 'load-path "~/tuareg-2.0.4")
(setq auto-mode-alist (cons '("\\.ml\\w?" . tuareg-mode) auto-mode-alist))
(autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t)
(autoload 'camldebug "camldebug" "Run the Caml debugger" t)
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )
(require 'linum)             
(global-linum-mode 1)
EN

回答 1

Stack Overflow用户

发布于 2014-02-20 15:31:46

我也在想同样的事情,并且怀疑对我们来说一定已经有了某种方便的解决方案。首先,我发现了这个:

http://www.ocamlpro.com/files/tuareg-mode.pdf

其中包含图阿雷格模式的所有相关快捷方式。其次,从这张小抄中,顶层的"ctrl-c‘“(control-c撇号)将您直接带到手边的错误。(对我来说,当我在顶层中输入一个函数而不是一个完整的缓冲区时,这似乎会更好)。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19461296

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档