Emacs文本模式突出显示

Nat*_*ath 1 emacs emacs-faces

有没有办法在文本模式下使用不同的面部渲染单词?

jus*_*nhj 5

看看'highlight-regexp'.只需键入要更改面部的单词(尽管它可以是任何正则表达式).

M-x 强光正则表达式

highlight-regexp is an alias for `hi-lock-face-buffer' in
`hi-lock.el'.

It is bound to M-s h r.

(highlight-regexp regexp &optional face)

Set face of each match of regexp to face.

Interactively, prompt for regexp then face.  Buffer-local history
list maintained for regexps, global history maintained for faces.
Use M-p to retrieve previous history items,
and M-n to retrieve default values.
Run Code Online (Sandbox Code Playgroud)