elisp - Set some word with highlight color in emacs -


if want highlight words in doc in emacs, how can it.

for example have log file recorded daily information. , want make "todo" in log highlighted.

how can it?

thank in advance.

you should take @ thread :

how highlight occurrences of word in emacs buffer

this blog entry describes simple way :

http://emacs-fu.blogspot.com/2008/12/highlighting-todo-fixme-and-friends.html

the best way implement depends on want : can toggle highlighting manually, or create hook mode.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -