如何清空或清除emacs迷你缓冲区? [英] how to empty or clear the emacs minibuffer?

查看:69
本文介绍了如何清空或清除emacs迷你缓冲区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时迷你缓冲区的内容显示命令的输出(emacs 24).当输出仅为一行时,这不会带来太大的不便.当命令的长度为多行并且minibuffer使用多行显示内容(可能用于其他操作)时,这会更令人讨厌.

Sometime the content of the minibuffer shows the output of a command (emacs 24). This is not too much of an inconvenience when the output is just one line. It's more annoying when the command is multiple lines long and the minibuffer uses many lines of display that could be used for something else.

有没有办法清除迷你缓冲区的内容?

Is there a way to clear the content of the minibuffer ?

注意:当我 M-!回声用法:foo;echo ,将迷你缓冲区的内容更改为用法:foo .

Note: When I M-! echo usage: foo ; echo the minibuffer content changes to usage: foo.

注意:我没有进行递归编辑,使用 Cg,Mx Cg,(message nil),Mx delete-minibuffer-contents,M-:(kill-buffer"Echo Area0)不会清除小型缓冲区

Note: I'm not in recursive edit, the minibuffer is not active, using C-g, M-x C-g , (message nil), M-x delete-minibuffer-contents, M-: (kill-buffer " Echo Area 0") does not clear the minibuffer

推荐答案

尽管我不明白为什么以下操作会清除小型缓冲区: M-!回声;回声

Although I do not understand why following clears the minibuffer: M-! echo ; echo

这篇关于如何清空或清除emacs迷你缓冲区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆