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.
假设我想创建一个文件。然后我被要求输入名字。我想使用日期作为文件名。我想用M-x insert date (I define myself). 我怎样才能做到这一点?
M-x insert date (I define myself)
在第一次进入 minibuffer 之前,将(或绑定,取决于上下文)变量enable-recursive-minibuffers设置为非nil(例如)。t
enable-recursive-minibuffers
nil
t
这使您可以从小缓冲区中使用操作,例如M-x其自身激活小缓冲区的操作。第二次激活发生在递归小缓冲区中。当它结束时(例如,您RET在回复M-x提示后点击),事情会照常进行,最初的微型缓冲区仍然处于活动状态。
M-x
RET