2013-01-04 85 views

回答

2

您可以在模式行上顯示它。

查看文檔,在elisp手冊中,第23.4節 - Mode Line Format。在第23.4.2小節中,你會寫下你如何做:你寫一個表單返回你感興趣的值。

`(:eval FORM)' 
A list whose first element is the symbol `:eval' says to evaluate 
FORM, and use the result as a string to display. Make sure this 
evaluation cannot load any files, as doing so could cause infinite 
recursion.