0

我是 Emacs 新手(在 Windows 上使用 24.1.1 版),我通过包含以下代码更改了我的 .emacs 文件:CSharpRepl emacs 集成?

(defun csharp-repl ()
  "Open a new side-by-side window and start CSharpRepl in it."
  (interactive)
  (split-window-side-by-side)
  (other-window 1)
  (comint-run "C:\\Program Files\\CSRepl\\CSRepl.exe"))

(global-set-key [f11] 'csharp-repl)

当我按下 F11 时,我最终收到一条错误消息,提示“符号的函数定义无效:并排拆分窗口”。如果我离开 (split-window-side-by-side) 和 (other-window 1),C# REPL 将打开但在一个窗口中,这并不是我真正想要的。任何帮助,将不胜感激。

4

1 回答 1

1

你确定你不是在找split-window-vertically?在我的 emacs24 中,我在 Mx 下看不到任何匹配的内容split-window-side-by-side

于 2012-08-24T10:04:57.470 回答