edit-pr
from within Emacs
Call edit-pr
from within Emacs with M-x
edit-pr
(2).
When edit-pr
prompts you for a PR identification number, type the
number of the PR you wish to edit.
If the PR is locked, Emacs announces the login name of the person who
has locked the file. If not, M-x edit-pr
locks the PR, loads
it into a buffer named `*edit-pr*', and places the cursor in the
`>Number:' field. (Do not change this field.)
Edit the PR to reflect correct information. Resubmit the PR to the database using `C-c C-c' (see below).
The easiest way to edit a PR from Emacs is to use the special key bindings provided. These are:
C-c C-c
M-x gnats-submit-pr
C-x C-s
M-x save-buffer
C-x k
M-x gnats:kill-buffer (use this only with Emacs 18)
M-x kill-buffer
C-c C-u
M-x unlock-pr
C-c C-q
M-x unlock-buffer
C-c C-e
M-x edit-pr
edit-pr
in a new buffer.
C-c C-f
M-x change-field
edit-pr
prompts you for a
new value. If you use
C-u C-c C-f or C-u M-x change-fieldyou are prompted for a field to change.
C-c C-a
M-x gnats-mail-reply
C-c RET
C-c C-m
M-x gnats-mail-other-window
C-c C-r
M-x gnats-responsible-change-from-to
edit-pr
prompts you for
the new responsible person, and for a message describing the reason for
the change. When you type `C-c C-c' to resubmit the PR, the
cursor is placed in a mail buffer containing a copy of the change. You
can then edit this buffer and type `C-c C-c' again to send the
mail.
C-c C-s
M-x gnats-state-change-from-to
edit-pr
prompts you for the
new state, and for a message describing the reason for the change. When
you type `C-c C-c' to resubmit the PR, the cursor is placed in
a mail buffer containing a copy of the change. You can then edit this
buffer and type `C-c C-c' again to send the mail.
C-c C-t
M-x category-change-from-to
edit-pr
prompts
you for the new category. edit-pr
also prompts you with the
question
Update the >Responsible field?Type `y' to change the value of the `>Responsible:' field to the name of the party responsible for the new category. Type `n' to keep the current value of `>Responsible:'.
M-C-b
M-x gnats-backward-field
M-C-f
M-x gnats-forward-field
M-p
M-x gnats-previous-field
M-n
M-x gnats-next-field
Go to the first, previous, next, last section, table of contents.