This patch is now ready for review. I've taken inspiration from the recent discussion about factory functions for Fano polytopes [1], and achieved the groups.<tab> effect with a sequence of "import foo as bar" commands as a new view of on top of the existing organization of the code for groups. It goes two-deep, so for example, you will go groups.matrix.<tab> to see all the matrix groups.
In light of all the discussion about startup time and importing modules [2], I'm wondering if this is an improvement on the current situation of importing various groups individually into the global namespace. Certainly it is worse now, since I have just added on and not removed anything. But if starting from scratch, or deprecating old imports, is the approach I've taken better? If so, it could be a model for changes elsewhere (posets, designs, graphs).
If somebody knowledgeable wanted to comment on the question of import efficiency, that would be very helpful long-term. (Which is not necessarily a request for a full review of the whole ticket.)
Thanks,
Rob
[1]
https://groups.google.com/d/topic/sage-devel/B28yuvAlo3A/discussion{2]
https://groups.google.com/d/topic/sage-devel/pqpDrJw1AnA/discussion