emacs - 如何在 Lisp In A Box 中更改 emacs 配置

标签 emacs lisp elisp lisp-in-a-box

我已经做了十年的程序员,但我相信这是我第一次在论坛上提问。我只是想不通,也无法在网上找到答案。

我正在尝试打开 CUA 模式,以便 emacs 更适合 Windows 用户(正常的复制粘贴功能)。我正在运行 Windows 7 并通过 Lisp In A Box 安装了 emacs包裹。我知道我需要在我的 .emacs 文件或 init.el 文件中添加一行。我不确定是哪个,但在我的 Lip In A Box 安装目录中都找不到。 emacs 包安装也没有附带任何教程或帮助文件,因此很难选择它。

我被卡住了,非常感谢任何帮助!

最佳答案

可以通过查看 this similar question 的答案找到 .emacs。 .

关于文档和教程,您为“Lisp in a Box”提供的链接看起来像这样说:

If you are new to Emacs, it is recommended that you read the Emacs Tutorial which you can access from with Emacs by going to the Help menu, or by typing Control-h, letting go, and hitting t. A more extensive manual is also available from the Help menu, or on the web at http://www.gnu.org/software/emacs/manual/.

这听起来像是有手册,当然还有教程(我用粗体标出了进入教程的方向)。

至于其他获取信息的地方,有一个集合screencasts on the wiki .

您的问题没有具体说明您是否要将什么添加到您的 .emacs 以激活 CUA 模式。您可以查看 CUA mode documentation on the wiki (其中包含指向手册的链接)。最小安装只是将其添加到您的 .emacs 中:(cua-mode t)

关于emacs - 如何在 Lisp In A Box 中更改 emacs 配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2263758/

相关文章:

emacs - 使用 Emacs 文件名补全优先选择某些文件扩展名

javascript - 编译成可读 js 的轻量级 lisp 方言是什么?

macros - CL 样式宏中的多个(定义)

emacs - 是否有内置的 Emacs Lisp 表单仅在未绑定(bind)时设置变量?

emacs - Emacs Lisp 的有趣错误

emacs - 使 Emacs/Slime/Quicklisp/SBCL 在 Windows 中工作

emacs - 如何在 emacs 中杀死带引号的字符串?

emacs - [control shift up] 不起作用

list - elisp 如何将 lambda 应用于列表?

elisp - Emacs Lisp : How to use interactive (for conditional arguments)?