我是Emacs的新手,我只是在学习如何使用它.我知道如何设置我的"Emacs C Source目录"但我不知道如何使这个变化永久化.我想我必须在我的.emacs文件中设置它,但我不知道它的命令是什么.有人可以帮忙吗?
我意识到它已被问到Stackoverflow中的一些奇怪的标题.我无法删除此帖子,因为它已经有了答案.如果您有兴趣请参阅以下内容:
原始问题:我了解可以删除Emacs启动画面!(" 无法隐藏Emacs中的欢迎屏幕 ").如何使用我自己的欢迎屏幕更改此欢迎屏幕?
有什么方法可以限制 Emacs 中缓冲区的大小吗?已经检查过这个问题:Can I limit the length of thepiling buffer in Emacs? 但这不是我想要的。我想限制用户正在处理的缓冲区的大小,因此他不能放置超过预定义大小的内容。
当我在Emacs中搜索"save-restriction"的描述时,它有一个关于"缓冲区的限制"的句子 - 我已经包含了下面的完整描述.这个术语是什么意思?保存限制如何工作以及何时应该考虑这个?
(save-restriction &rest BODY)
Execute BODY, saving and restoring current buffer's restrictions.
The buffer's restrictions make parts of the beginning and end invisible.
(They are set up with `narrow-to-region' and eliminated with `widen'.)
This special form, `save-restriction', saves the current buffer's restrictions
when it is entered, and restores them when it is exited.
So any `narrow-to-region' within BODY lasts only until the end of the form.
The old restrictions settings are restored
even in case of abnormal exit …Run Code Online (Sandbox Code Playgroud) 我想知道是否有办法永久删除主要模式让我们说从Emacs的vhdl模式?我已经检查过" 如何关闭emacs中的vhdl-mode? "但是我想知道我是否想编写自己的发行版如何从Emacs中永久删除其中一些模式?
- 仅限实验,因此没有许可问题等.