diff options
| author | Stefan Monnier | 2010-04-20 22:05:24 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-04-20 22:05:24 -0400 |
| commit | e97a42c15bfc9ed00a1def8381f235642947931a (patch) | |
| tree | 2c37bdd17ea3cea0615de066ceaebff877a8061f /etc | |
| parent | 50426a043dc30200e093237101b8d0125861c127 (diff) | |
| download | emacs-e97a42c15bfc9ed00a1def8381f235642947931a.tar.gz emacs-e97a42c15bfc9ed00a1def8381f235642947931a.zip | |
Make the log-edit comments use RFC822 format throughout.
* vc.el (vc-checkin, vc-modify-change-comment):
Adjust to new vc-start/finish-logentry.
(vc-find-conflicted-file): New command.
(vc-transfer-file): Adjust to new vc-checkin.
(vc-next-action): Improve scoping.
* vc-hg.el (vc-hg-log-edit-mode): Remove.
(vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
* vc-git.el (vc-git-log-edit-mode): Remove.
(vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
(vc-git-commits-coding-system): Rename from git-commits-coding-system.
* vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
(vc-start-logentry): Remove argument `extra'.
(vc-finish-logentry): Remove extra args.
* vc-bzr.el (vc-bzr-log-edit-mode): Remove.
(vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
(vc-bzr-conflicted-files): New function.
* log-edit.el (log-edit-extra-flags)
(log-edit-before-checkin-process): Remove.
(log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
(log-edit-headers-alist): New var.
(log-edit-header-contents-regexp): New const.
(log-edit-match-to-eoh): New function.
(log-edit-font-lock-keywords): Use them.
(log-edit): Insert a "Summary:" header as default.
(log-edit-mode): Mark font-lock rules as case-insensitive.
(log-edit-done): Cleanup headers.
(log-view-process-buffer): Remove.
(log-edit-extract-headers): New function to replace it.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 23 |
1 files changed, 10 insertions, 13 deletions
| @@ -88,6 +88,8 @@ define it as a scroll command affected by `scroll-preserve-screen-position. | |||
| 88 | ** Archive Mode has basic support to browse 7z archives. | 88 | ** Archive Mode has basic support to browse 7z archives. |
| 89 | 89 | ||
| 90 | ** partial-completion-mode is now obsolete. | 90 | ** partial-completion-mode is now obsolete. |
| 91 | You can get the same behavior with | ||
| 92 | (setq completion-styles '(partial-completion initials)). | ||
| 91 | 93 | ||
| 92 | ** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags. | 94 | ** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags. |
| 93 | ** Customize | 95 | ** Customize |
| @@ -106,23 +108,18 @@ choose a color via list-colors-display. | |||
| 106 | 108 | ||
| 107 | ** VC and related modes | 109 | ** VC and related modes |
| 108 | 110 | ||
| 109 | *** New VC commands: vc-log-incoming and vc-log-outgoing. | 111 | *** New VC commands: vc-log-incoming, vc-log-outgoing, vc-find-conflicted-file. |
| 110 | 112 | ||
| 111 | *** vc-dir for Bzr supports viewing shelve contents and shelving snapshots. | 113 | *** vc-dir for Bzr supports viewing shelve contents and shelving snapshots. |
| 112 | 114 | ||
| 113 | *** Special markup can be added to log-edit buffers. | 115 | *** Special markup can be added to log-edit buffers. |
| 114 | 116 | The log-edit buffers are expected to have a format similar to email messages | |
| 115 | **** For Bzr, adding an | 117 | with headers of the form: |
| 116 | Author: NAME | 118 | Author: <author of this change> |
| 117 | line will add "--author NAME" to the "bzr commit" command. | 119 | Summary: <one line summary of this change> |
| 118 | 120 | Fixes: <reference to the bug fixed by this change> | |
| 119 | **** For Git, adding an | 121 | Some backends handle some of those headers specially, but any unknown header |
| 120 | Author: NAME | 122 | is just left as is in the message, so it is not lost. |
| 121 | line will add "--author NAME" to the "git commit" command. | ||
| 122 | |||
| 123 | **** For Hg, adding an | ||
| 124 | Author: NAME | ||
| 125 | line will add "--user NAME" to the "hg commit" command. | ||
| 126 | 123 | ||
| 127 | ** Directory local variables can apply to file-less buffers. | 124 | ** Directory local variables can apply to file-less buffers. |
| 128 | For example, adding "(diff-mode . ((mode . whitespace)))" to your | 125 | For example, adding "(diff-mode . ((mode . whitespace)))" to your |