I feel like I could be missing something about this question, but the basic answer: in modern crawl, if you pick up a spellbook, its contents will become part of your “spell library”, which you can access via M. This menu has a search function, among other things. For most players, there aren’t a lot of scenarios where they would need to find spells on the floor.
Rare is it that I feel the need to see every spell available in a shop on a single screen. I almost always end up looking to see if a single spell is available in a shop by just searching for the spell name, instead.