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

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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -