English 中文(简体)
.emacs.d 和站点- lisp 目录
原标题:.emacs.d and site-lisp directory
  • 时间:2012-05-27 20:59:22
  •  标签:
  • emacs
  • elisp

我有以下两个关于肿块的问题

  1. 在我.emacs.d目录中有一个空目录,叫做自动保存列表。这是干什么?

  2. I have create a elisp directory in my home directory on my linux machine where i place .el files. In my .emacs i have (add-to-list load-path "~/elisp") Now,I have heard of .emacs.d/site-lisp directory. Im confused about the difference between site-lisp and my own elisp directory. Can someone please explain.

谢谢

最佳回答

您可以在此读到 auto- save- list :

C-h i g (emacs) 回收 REET

Emacs记录在目录 {/.emacs.d/auto-save-list-files-prefix / 。此目录由变量 `auto-save-list-file-prefix 确定。如果将`auto-save-list-file-prefix 设为`nil',则不记录会话以恢复。

您可能会对 site- lisp -- -- 唯一使用该名称的标准目录并不打算生活在用户的主目录下(通常该目录位于 /usr/local/share/emacs/ site-lisp ),对此唯一的特殊之处是Emacs会默认地将其包括在 load-path 列表中。

如名称所示,意图是将特定机器上的all 用户可以利用的图书馆放入该目录。

相比之下,您创建的 < code/ elisp 目录将不会为其他人所使用 。

更多信息:

C-h i g (emacs) init 文件 reet

问题回答

暂无回答




相关问题
suppress additional braces in emacs electric mode

I started using ruby-electric-mode. I like it except that I am used to closing open brackets myself (the other pairing are still useful to me). How can I make emacs suppress additional brackets when ...

Setting up an emacs environment in windows?

I am currently constrained to a windows dev box and I want to migrate my projects from eclipse to emacs. What are some good references on setting up an emacs dev environment for windows? Anything ...

Emacs Setting which-function-mode

I would like to have which-function-mode on by default when I open up Emacs. I ve added the following lines to my .emacs file. (setq which-func-mode t) (setq which-function-mode t) When I open ...

Enabling go mode for emacs

I don t seem to be able to enable a go mode for emacs. C mode doesn t work without semicolons. The best I have found is the JavaScript mode by Karl Landstrom, since JavaScript also doesn t require ...

Custom Emacs key bindings are not working

The key bindings I ve defined in my .emacs file aren t working. Here s the file: ;init modes (menu-bar-mode 0) (tool-bar-mode 0) (cua-mode) (column-number-mode) (fset perl-mode cperl-mode) (cperl-...

eval during emacs lisp macro expansion

How can I fix the simple macro foo in (elisp)Eval During Expansion? None of the followings work: (defmacro foo1 (a) `(setq (eval ,a) t)) (defmacro foo2 (a) `(setq ,(eval a) t)) (defmacro foo3 (...

Get local cvs comment history when committing file/s in emacs

I often commit files with similar cvs comment but not in a single operation. I would like to able to bring up previous comments I ve used in a previous commit when I am in the process of writing a ...

热门标签