当旧命令退出时,Emacs 切换到旧缓冲区
我必须养成在命令中间留下迷你缓冲区的习惯。从那里我将更改缓冲区并继续工作。稍后(有时很晚)我会注意到迷你缓冲区中有一条不完整的命令悬而未决。如果我用 Cg 取消它,Emacs 通常会将我打开的窗口中的缓冲区交换到较早的状态。
我想这可能是一个功能,但在我的工作流程中我发现它相当烦人。有没有办法阻止这种行为或防止其发生,例如警告“命令不完整”?
I must be in the habit of leaving the mini-buffer in the middle of a command. From there I will change buffers and continue working. Later (sometimes much later) I'll notice that I had a command dangling incomplete in the mini-buffer. If I go to cancel it with a C-g, Emacs will often swap buffers in my open windows to an earlier state.
I suppose this may be a feature, but in my flow of work I find it rather annoying. Is there a way to stop this behavior or prevent it from happening, such as a warning that There is an incomplete command?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为 的答案另一个问题将帮助您解决这个问题。这可能是一种烦人的行为,但该解决方案限制了 Emacs 中的一些灵活性。
答案是: 如何防止迷你缓冲区在 Emacs 中显示以前的命令?(我称之为
停止-使用迷你缓冲区
)。I think that the answer to another question will help you solve this. It can be an annoying behavior, but the solution limits some of the flexibility found in Emacs.
The answer is: How can I prevent the mini-buffer from displaying previous commands in Emacs? (I call it
stop-using-minibuffer
).