一个新手问题,可能非常难以理解(不得不一次使用那个词:-)),但是当我收集到那些都可以用于SO:如何在启动emacs时自动打开文件?
我想是的...... 比如find file在你的命令中执行,.emacs但确切的表示法对我来说并不清楚.
glm*_*ndr 73
C-h b
Run Code Online (Sandbox Code Playgroud)
这将打开帮助,显示密钥绑定和elisp函数之间的对应关系.寻找
C-x C-f
Run Code Online (Sandbox Code Playgroud)
C-s C - x space C - f你找到它(你可以通过打字来做)find-file.现在,做
C-h f find-file
Run Code Online (Sandbox Code Playgroud)
它告诉你,除其他外,语法:
(find-file FILENAME &optional WILDCARDS)
Run Code Online (Sandbox Code Playgroud)
所以试试吧
(find-file "/path/to/your/file")
Run Code Online (Sandbox Code Playgroud)
在你的.emacs中