在 Carbon Emacs 中将 .emacs 文件放在哪里?

发布于 2024-10-01 17:10:17 字数 119 浏览 0 评论 0原文

如果你不知道的话,我是 Emacs 新手。现在我在 Mac OSX 上使用 Carbon Emacs。我想自定义布局等,但我不知道在哪里可以找到或创建一个新的 .emacs 文件来执行此操作。

感谢您的帮助。

I'm new to Emacs if you can't tell. Right now I am using Carbon Emacs on Mac OSX. I would like to customize the layout and whatnot but I have no idea where I can find or make a new .emacs file in order to do so.

Thanks for the help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

三月梨花 2024-10-08 17:10:18

在暂存缓冲区中,评估以下内容...
(查找文件用户初始化文件)

In the scratch buffer, evaluate the following...
(find-file user-init-file)

扬花落满肩 2024-10-08 17:10:18

我把它放在我的主目录中(即 emacs 的 unix 安装的通常位置)并且它工作正常:

$ ls -lh /Users/dmckee/.emacs
-rw-r--r-- 1 dmckee staff 11K Aug  4 09:28 /Users/dmckee/.emacs

I put mine in my home directory (i.e. the usual place for unix installations of emacs) and it works fine:

$ ls -lh /Users/dmckee/.emacs
-rw-r--r-- 1 dmckee staff 11K Aug  4 09:28 /Users/dmckee/.emacs
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文