comparison lisp/log-view.el @ 83256:389421e988c2

Merged from miles@gnu.org--gnu-2005 (patch 17-26, 107-116) Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-107 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-108 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-109 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-110 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-111 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-112 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-113 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-114 <no summary provided> * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-115 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-116 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-17 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-18 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-19 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-20 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-21 More work on moving images to etc/images * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-22 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-23 Fix errors with image-file installation * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-24 etc/Makefile.in (install): Put gnus-tut.txt in the right place. * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-25 etc/Makefile.in (install, uninstall): Fix installed image dirs. * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-26 etc/Makefile.in (install): Create $(etcdir)/images/gnus dir. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-296
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 20 Feb 2005 18:47:54 +0000
parents e7ec1f80fc80
children ecbe83adff58 bf0d492ea2d5
comparison
equal deleted inserted replaced
83255:9684495d72bc 83256:389421e988c2
1 ;;; log-view.el --- Major mode for browsing RCS/CVS/SCCS log output 1 ;;; log-view.el --- Major mode for browsing RCS/CVS/SCCS log output
2 2
3 ;; Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. 3 ;; Copyright (C) 1999, 2000, 2001, 2005 Free Software Foundation, Inc.
4 4
5 ;; Author: Stefan Monnier <monnier@cs.yale.edu> 5 ;; Author: Stefan Monnier <monnier@cs.yale.edu>
6 ;; Keywords: rcs sccs cvs log version-control 6 ;; Keywords: rcs sccs cvs log version-control
7 7
8 ;; This file is part of GNU Emacs. 8 ;; This file is part of GNU Emacs.
83 (concat "^\\(" 83 (concat "^\\("
84 "Working file: \\(.+\\)" 84 "Working file: \\(.+\\)"
85 "\\|SCCS/s\\.\\(.+\\):" 85 "\\|SCCS/s\\.\\(.+\\):"
86 "\\)\n")) 86 "\\)\n"))
87 ;; In RCS, a locked revision will look like "revision N.M\tlocked by: FOO". 87 ;; In RCS, a locked revision will look like "revision N.M\tlocked by: FOO".
88 (defconst log-view-message-re "^\\(revision \\([.0-9]+\\)\\(?:\t.*\\)?\\|rev \\([0-9]+\\): .*\\|D \\([.0-9]+\\) .*\\)$") 88 (defconst log-view-message-re "^\\(revision \\([.0-9]+\\)\\(?:\t.*\\)?\\|r\\([0-9]+\\) | .* | .*\\|D \\([.0-9]+\\) .*\\)$")
89 89
90 (defconst log-view-font-lock-keywords 90 (defconst log-view-font-lock-keywords
91 `((,log-view-file-re 91 `((,log-view-file-re
92 (2 (if (boundp 'cvs-filename-face) cvs-filename-face) nil t) 92 (2 (if (boundp 'cvs-filename-face) cvs-filename-face) nil t)
93 (3 (if (boundp 'cvs-filename-face) cvs-filename-face) nil t) 93 (3 (if (boundp 'cvs-filename-face) cvs-filename-face) nil t)
204 (setq to (log-view-current-tag)))) 204 (setq to (log-view-current-tag))))
205 (vc-version-diff (log-view-current-file) to fr))) 205 (vc-version-diff (log-view-current-file) to fr)))
206 206
207 (provide 'log-view) 207 (provide 'log-view)
208 208
209 ;;; arch-tag: 0d64220b-ce7e-4f62-9c2a-6b04c2f81f4f 209 ;; arch-tag: 0d64220b-ce7e-4f62-9c2a-6b04c2f81f4f
210 ;;; log-view.el ends here 210 ;;; log-view.el ends here