use goto-char instead of beginning-of-buffer
-rw-r--r-- 4780 grid-engine-mode.el