通常情况下,我启用了which-function小模式,它会在模式行上显示当前函数(在我的emacs配置中使用此功能): (require 'which-func) (which-function-mode t)