From many Emacs documentation sources, it's clear that when I have a document open, I should be able to press M-< and M-> to go to the start and end of that document respectively. Alternatively, I could press Esc, then < or > for the same effect. < and > of course stand for the left and right arrows.
I have tried these keyboard shortcuts in multiple Emacs configurations (mostly emacs24 on Ubuntu 14.04) and they do not have this effect. These keystrokes cause the cursor to move between words (from the boundaries of one word to another), rather than to the beginning/end of the document. I have tried in both the terminal and GUI versions of Emacs.
Does anyone know what the correct keystrokes are for moving the cursor to the start and end of the document?
M-<
orM->
, i.e. Make sure you are holding the shift key as well. This has thrown me of at first with some commands.emacs -Q
(no init file) you can reproduce what you describe, ofM-<
andM->
not moving to beginning and end of buffer, the consider reporting a bug:M-x report-emacs-bug
. (And as @elethan indicated, be sure you are using the<
and>
keys, not the arrow keys.)