0

现在我处于 Emacs tuareg 模式,我收到此错误消息

             * * *             * * * * * *       * *           Characters 2686-2820:

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

这是我的 .emacs 文件-

(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)
4

1 回答 1

1

我想知道同样的事情,并怀疑那里一定有某种方便的解决方案。首先,我发现了这个:

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

其中包含图阿雷格模式的所有相关快捷方式。其次,从该备忘单中,顶层的“ctrl-c `”(control-c 撇号)将您直接带到手头的错误。(对我来说,当我将函数输入顶层而不是完整缓冲区时,这似乎效果更好)。

于 2014-02-20T07:31:45.703 回答