I take it now that this is peculiar to emacs 23. I apologize for taking up the time of kind people on the list, and I also wish to thank them for helping me to figure out what it was. I still don't know, but I have four emacs executables (Gentoo GNU/Linux system, AMD64). Only emacs-23 has this bug. I'll send ti to the developers.