changeset 108738:a8cb6cd21db6

* add-log.el: Highlight all authors in multi-author ChangeLog entries.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 21 May 2010 03:46:38 +0200
parents 6190feb00438
children ae0f7dfcf9c9 d2833c80c27c
files lisp/ChangeLog lisp/add-log.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu May 20 18:43:44 2010 -0700
+++ b/lisp/ChangeLog	Fri May 21 03:46:38 2010 +0200
@@ -1,5 +1,8 @@
 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
 
+	* add-log.el (change-log-font-lock-keywords):
+	Highlight all authors in multi-author entries.
+
 	* smerge-mode.el (smerge-refine-ignore-whitespace)
 	(smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
 	Fix typos in docstrings.
--- a/lisp/add-log.el	Thu May 20 18:43:44 2010 -0700
+++ b/lisp/add-log.el	Fri May 21 03:46:38 2010 +0200
@@ -245,7 +245,7 @@
     ;; wrongly with a non-date line existing as a random note.  In
     ;; addition, using any kind of fixed setting like this doesn't
     ;; work if a user customizes add-log-time-format.
-    ("^[0-9-]+ +\\|^\\(Sun\\|Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\) [A-z][a-z][a-z] [0-9:+ ]+"
+    ("^[0-9-]+ +\\|^ \\{11,\\}\\|^\\(Sun\\|Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\) [A-z][a-z][a-z] [0-9:+ ]+"
      (0 'change-log-date-face)
      ;; Name and e-mail; some people put e-mail in parens, not angles.
      ("\\([^<(]+?\\)[ \t]*[(<]\\([A-Za-z0-9_.+-]+@[A-Za-z0-9_.-]+\\)[>)]" nil nil