标签: emacs elisp
如何以交互模式获取文本属性值(对于(当前缓冲区)的(点)字符?在M-x模式下运行函数,如get-text-property, get-char-property, get-pos-property ....等等?
get-text-property, get-char-property, get-pos-property
答案 0 :(得分:1)
如果您只想查看特定点的文本属性,请将光标放在那里并发出 C-u C-x = 。
否则,您可以通过 M- :( get-text-property(point)' face)RET 以交互方式运行任意elisp。