More UI hacking for entering Unicode into XML documents in Emacs.

Anyone can do any amount of work provided it isn't the work he is supposed to be doing at the moment.

Robert Benchley

Inspired by some additional discussion of character entities on the emacs-nxml-mode list[1], I hacked at my xmlchars.el work a bit more and produced XML Unicode.

XML Unicode improves on my previous efforts:

Share and enjoy.


[1]Aside: Does the Yahoo Groups archive work for anyone? Half the time I get host not found errors, half of the remaining time I get completely empty documents, and at least half of the time that still remains, I get advertisements that I can’t click through. I’m not sure I’ve ever successfully read a message in their archives.

[2]Or whatever binding you added for unicode-character-insert

Comments:

Norm,

Correct me if I'm wrong here, but this is dependent on quail, which is included in the leim package. This typically (always?) requires a variety of emacs with MULE support. Which in turn precludes it's use with Xemacs on Windows (according to http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=87661ovgfq.fsf@tleepslib.sk.tsukuba.ac.jp)

If this is correct: Bummer.

Posted by Alastair Rankine on 10 May 2004 @ 01:48am UTC #

Norm,

I'm wondering whether it'd be possible to have the actual glyphs appear in the Unichar menu, next to the names.

Posted by Michaelâ„¢ Smith on 21 Jun 2004 @ 02:21am UTC #

Michael: I experimented briefly with getting the glyphs rendered in the menu and discovered that the font used in the menu seems not to support Unicode. Ah, the irony.

Posted by Norman Walsh on 27 Jun 2004 @ 08:58pm UTC #

I don't see it mentioned anywhere, but if you load xmlunicode.el it may give an error "Symbol's function definition is void: caddr". This can be resolved by using "(require 'cl)". Thanks to the helpful folks on #emacs for pointing this out to me.

Posted by Tadgh on 21 Nov 2004 @ 12:31am UTC #

The script yahoo2mbox interfaces with Yahoo Groups and leaves you with a lovely, lovely mbox-format archive file. You can then use your favorite tools on it. Yahoo does limit the amount you can download at once, but you can run the program repeatedly on several days and get incremental increases. It's a huge win.

Posted by John Cowan on 06 Jan 2006 @ 07:18pm UTC #
Comments on this essay are closed. Thank you, spammers.