Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Emacs 时不时地开发出这种在缓冲区中记住位置的烦人行为。每当我离开缓冲区并返回时,该点就会自动移回同一位置。
我可能在不知情的情况下打了一些随机命令,但有谁知道这是什么以及如何阻止它?
我认为 saveplace 在这种情况下很有用。您在配置文件中添加以下 S-exp。
(load "saveplace") (setq-default save-place t)
也可以看看
http://www.emacswiki.org/emacs/SavePlace