3
votes
2answers
476 views

How to define a shortcut (key combination) to insert “<tag></tag>” in Emacs?

I want to define a shortcut to enter XML tag pairs. Pressing key combination key1-key2 which should prompt for entering a tag name, .e.g. "foo", and automatically insert "<foo></foo>". ...