I didn't mention it, but I have used M2 for knives. It was fine, but the edge was best suited for a higher angle rough use knife. I have used M2 machine hacksaw blades, and M2 bar stock.
I have made quite a few knives in CPM-M4. I tested it for crucible when they were getting ready to market it. It makes a great long wearing edge knife. I would call it great for a camp knife. I found it able to take a good edge, but not a fine slicer edge. I made an M4 cleaver that probably still is sharp today

. An M4 large fillet knife for big fish was not a really smooth slicer, no matter how much I worked the edge on belts, diamond plates, or stones. M4 chefs blades were pretty much a failure in use, as it just didn't perform as well as much cheaper and simpler steels.
Looked at under high magnification, the edge on M4 looks like a band saw blade compared to CPM-S35VN. That sounds worse than it is. AEB-L looks pretty smooth, but most all high alloy steels with carbide formers have a serrated looking edge under magnification. The bigger and harder the carbides, the more severe the serration effect. As a contrast, under magnification ( and in used) Hitachi White paper shows why it will slice like almost no other steel.
M2, M3, and M4 make up a class of high molybdenum ( Thus the M) high speed tool steels. With the high molybdenum, vanadium, chromium, and tungsten, these tool steels excel in wear resistance. They also hold their hardness and strength up to higher temperatures than most steels, which isn't a knife related attribute. Toughness is what the M series steels are breed for. On some knives, that is a big asset worth the main spotlight. On others it isn't worth much consideration at all.
AEB-L is the other end of the spectrum, with lots of chromium, but no excess carbon to bond with it. It forms virtually no carbides. It is as keen edged as 1080/1084, but as stainless as 440C. I usually describe it as stainless 1080.