Next: Moving by Word and Paragraph, Previous: Navigation Keys—Arrow Keys Etc, Up: Elemental Movement [Index]
Command | Key Binding | Purpose |
---|---|---|
beginning-of-line | ‘C-a’ / ‘<home>’ | Beginning of line |
end-of-line | ‘C-e’ / ‘<end>’ | End of line |
back-to-indentation | ‘M-m’ | First character on line |
forward-line | Move N lines forward (no error) | |
Return COUNT of lines left to move | ||
vertical-motion | Moves point to start of the screen line | |
line-beginning-position | Return char pos of first character | |
line-end-position | Return char pos of last character | |
count-lines | Return no. lines between START and END | |
line-number-at-pos | Return line number of posotion POS | |
bolp | Return t if point is at the beginning of a line | |
eolp | Return t if point point is at the end of a line |
Text lines are portions of the buffer delimited by ‘newline’ characters. ‘newline’ characters are regarded as part of the previous line.
The first text line begins at the beginning of the buffer, and the last text line ends at the end of the buffer, whether or not the last character is a newline.