How do you move the point in Elisp to the beginning of <enter description here>
and kill that text. I'd like to place this in my ~/.emacs-p4, which is used via P4EDITOR,
$ echo $P4EDITOR
emacs -nw --no-init-file --no-splash --load ~/.emacs-p4
The template use for p4 submit
is:
# A Perforce Change Specification.
#
# Change: The change number. 'new' on a new changelist.
# Date: The date this specification was last modified.
# Client: The client on which the changelist was created. Read-only.
# User: The user who created the changelist.
# Status: Either 'pending' or 'submitted'. Read-only.
# Description: Comments about the changelist. Required.
# Jobs: What opened jobs are to be closed by this changelist.
# You may delete jobs from this list. (New changelists only.)
# Files: What opened files from the default changelist are to be added
# to this changelist. You may delete files from this list.
# (New changelists only.)
Change: new
Client: aflott
User: aflott
Status: new
Description:
<enter description here>