XML Unicode provides some convenience methods for inserting Unicode characters (in particular for what have traditionally been XML named character entities).
XML Unicode version 1.7, 1 Dec 2005
A more complete and flexible version of what I previously called
V1.7 explicitly requires the “cl” package because, well, because
it's required. It also tinkers with
unicode-smart-single-quote to make the apostrophe part
of the cycle.
V1.6 removes the debugging code that accidentally got published in V1.5. :-(
V1.5 fixes a small bug in
it wasn't cycling through all three quotes correctly because of a typo in the
function definition. Also improves smart semicolon insertion so that it
only happens if we're right at the end of a numeric character
V1.4 fixes a small bug in
V1.3 fixes a small bug in the code that tests if point is in a
comment and adds a new smart semicolon feature. This will
automatically replace numeric character references with Unicode glyphs
(if they’re in your glyph list). I recently switched my Emacs font
and now I have a whole lot more characters in my
V1.2 fixes a small bug in smart single quotes and adds convenience functions for entering em-dashes, en-dashes, and horizontal ellipses.
XML Characters version 1.1. Obsolete.
Version 1.1 cycles through straight quotes when smart quoting is used.
This code was inspired by an essay that Tim Bray wrote about getting Unicode characters into Emacs when editing XML. It was also inspired by sgml-input by Dave Love.
It provides “smart quotes”, the ability to easily insert curly quotes, and several mechanisms for inserting special characters.
The ability to insert a character by Unicode character name (with completion).
The ability to insert a character by ISO 8879 entity name (with completion).
Selective insert of characters; inserts numeric references for characters that you don’t have in your font set.
Ability to add a standard Emacs menu with special characters.