This is an old revision of the document!
There is more than one way, but the easiest way to select all messages in a folder, even the ones not being displayed, is:
Control-Shift-A