Color Identifiers is a minor mode for Emacs that highlights each source code identifier uniquely based on its name. It is inspired by a post by Evan Brooks where he says that we think “syntax highlighting makes the structure of code easier to understand” but instead of highlighting the obvious we should highlight the difference between the various variables. “Notice that instead of the built-in keywords being highlighted, everything else is. Each variable has its own color, so I can see where it’s used at a glance. Even when skimming the code, I can see how data flows through the function.”
‘hdefd-highlight-mode’, hl-defined.el) highlights defined EmacsLisp symbols (functions or variables or both), and you can cycle among them. Alternatively, highlight the undefined symbols.‘hlt-highlight-symbol’, in HighlightLibrary, highlights all occurrences of a symbol (default, at point or mouse) in the region or buffer. You can cycle among the occurrences.