Emacs matching tags highlighting
问题 When Paren Match Highlighting (in the Options menu) is enabled, it nicely highlights matched parentheses. Is there something like this but for XML tags? For example, if I had: <para> lksjdflksdjfksdjf </para> it would highlight both tags if my point was anywhere inside one of the tags (even including the less-than and greater-than signs). Thanks for help! 回答1: Mike Spindel has written a minor mode, hl-tags-mode, which provides this feature. 来源: https://stackoverflow.com/questions/7784334