aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2010-04-20 22:05:24 -0400
committerStefan Monnier2010-04-20 22:05:24 -0400
commite97a42c15bfc9ed00a1def8381f235642947931a (patch)
tree2c37bdd17ea3cea0615de066ceaebff877a8061f /etc
parent50426a043dc30200e093237101b8d0125861c127 (diff)
downloademacs-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/NEWS23
1 files changed, 10 insertions, 13 deletions
diff --git a/etc/NEWS b/etc/NEWS
index b47fcd09536..fcd293781b6 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.
91You 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 116The log-edit buffers are expected to have a format similar to email messages
115**** For Bzr, adding an 117with headers of the form:
116Author: NAME 118 Author: <author of this change>
117line 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 121Some backends handle some of those headers specially, but any unknown header
120Author: NAME 122is just left as is in the message, so it is not lost.
121line will add "--author NAME" to the "git commit" command.
122
123**** For Hg, adding an
124Author: NAME
125line 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.
128For example, adding "(diff-mode . ((mode . whitespace)))" to your 125For example, adding "(diff-mode . ((mode . whitespace)))" to your