是否可以评估Emacs中的整个缓冲区? [英] Is it possible to evaluate entire buffer in Emacs?

查看:65
本文介绍了是否可以评估Emacs中的整个缓冲区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,为了评估Emacs中的elist,我需要将光标放在最后一个括号上并发出 C-x e

Currently, in order to evaluate elist in Emacs, I need to position the cursor on the last parenthesis and emit C-x e.

是否可以将整个缓冲区作为单个elisp程序进行评估而无需定位光标?

Is it possible to evaluate the entire buffer as a single elisp program without a need to position cursor?

推荐答案

M-x eval-buffer

Alt + x ,然后键入'eval-buffer'或仅键入其中的一部分,然后制表以自动完成。

or Alt+x and then type 'eval-buffer' or just type part of it and tab to autocomplete.

这篇关于是否可以评估Emacs中的整个缓冲区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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