A simplified version of (beginning-of-buffer)
A simplified version of (end-of-buffer)
Refactoring: passing point-min and point-max as an argument to a common function
A simplified version of (mark-whole-buffer)
A simplified append-to-buffer