简体   繁体   English

Emacs 配置

[英]Emacs Configuration

I am trying to get started with Emacs/Clojure.我正在尝试开始使用 Emacs/Clojure。 What is the proper way to install emacs extensions.安装 emacs 扩展的正确方法是什么。 I am trying to install the the following plugin:我正在尝试安装以下插件:

https://bitbucket.org/kotarak/vimclojure https://bitbucket.org/kotarak/vimclojure

I have placed it in ~/.emacs/plugins but it does not work.我已将它放在 ~/.emacs/plugins 中,但它不起作用。

In general there is quite some amical animosity between the Vi users and the Emacs users.总的来说,Vi 用户和 Emacs 用户之间存在相当多的敌意。

I am quite certain that trying to make a Vim plugin work in Emacs is quite impossible.我很确定试图让 Vim 插件在 Emacs 中工作是完全不可能的。

For emacs use I suggest you checkout clojurebox if you 're on windows as it contains a preconfigured emacs environment.对于 emacs 使用我建议你检查 clojurebox 如果你在 windows 因为它包含一个预配置的 emacs 环境。

On Unix like environments emacs is more native and you can use SLIME which is usually available as a OS package or as a separate download for eg Aquamacs.在 Unix 之类的环境中,emacs 更加原生,您可以使用 SLIME,它通常作为操作系统 package 提供,或者作为 Aquamacs 的单独下载。

In combination with Leiningen: https://github.com/technomancy/leiningen/wiki/emacs-integration与 Leiningen 结合使用: https://github.com/technomancy/leiningen/wiki/emacs-integration

you have also a nice environemnet.你也有一个不错的环境。

Good luck and happy hacking祝你好运,黑客攻击愉快

That is a Vim plugin.那是一个 Vim 插件。 It cannot be expected to work with Emacs.不能指望它与 Emacs 一起工作。

Straight from the horse's mouth: Getting Started with Emacs直言不讳: Emacs入门

Instructions for ubuntu here (but they go over to any unix or mac): ubuntu 的说明在这里(但他们 go 到任何 unix 或 mac):

http://www.learningclojure.com/2010/08/clojure-emacs-swank-slime-maven-maven.html http://www.learningclojure.com/2010/08/clojure-emacs-swank-slime-maven-maven.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM