In message view - "a" is "reply all".
It's "select all" in message list view.
As for "k", this operates in message list view, on the currently "highlighted" message or any (1 or more) "selected" messages.
For this to work, the account has to have an archive folder assigned (please see the FAQ, search the page for "archive").