so

XML Unicode 1.25

Volume 5, Issue 22; 29 Aug 2021

I’ve updated my Emacs package for inserting arbitrary Unicode characters.

Back in July, I made a few updates to my xmlunicode package. One of the changes I made was to delay loading the XML Unicode database until the first time it was needed.

That shaves a couple of seconds off startup, but just moves the delay to the first time you attempt to use xmlunicode-character-insert. (Only the first time, I hasten to add, the data structure is cached after that.)

A few days later, I must have restarted Emacs for some reason and the first time I hit C-t u everything just sort of stopped. Not for a long time, but long enough for me to wonder what the heck was going on before the character list popped up.

I realized I should have put in a “loading” message so that the delay wasn’t mysterious.

I’ve done that now in version 1.25. And updated to version 14.0.0d13 of the Unicode character list.

Comments

Why not load it with run-with-idle-timer when the file is loaded? That way startup time isn't affected and neither is first use.

—Posted by Howard on 30 Aug 2021 @ 06:11 UTC #

I hadn't considered that. Thanks for the pointer, I'll take a look.

—Posted by Norman Walsh on 01 Sep 2021 @ 03:41 UTC #

Please provide your name and email address. Your email address will not be displayed and I won’t spam you, I promise. Your name and a link to your web address, if you provide one, will be displayed.

Your name:

Your email:

Homepage:

Do you comprehend the words on this page? (Please demonstrate that you aren't a mindless, screen-scraping robot.)

What is four plus two?   (e.g. six plus two is 8)

Enter your comment in the box below. You may style your comment with the CommonMark flavor of Markdown.

All comments are moderated. I don’t promise to preserve all of your formatting and I reserve the right to remove comments for any reason.