2008-06-20 Dan Nicolaescu <dann@ics.uci.edu>
+ * vc-mtn.el (vc-mtn-log-view-mode): Set log-view-per-file-logs and
+ log-view-file-re.
+
* vc.el (vc-dir-hide-up-to-date): Undo previous change.
(vc-switch-backend): Simplify.
(Todo): Remove solved items.
;;
+;;; TODO:
+
+;; - The `previous-version' VC method needs to be supported, 'D' in
+;; log-view-mode uses it.
+
;;; Code:
(eval-when-compile (require 'cl) (require 'vc))
(defvar log-view-message-re)
(defvar log-view-file-re)
(defvar log-view-font-lock-keywords)
+(defvar log-view-per-file-logs)
(define-derived-mode vc-mtn-log-view-mode log-view-mode "Mtn-Log-View"
- ;; TODO: Not sure what to do about file markers for now.
- (set (make-local-variable 'log-view-file-re) "\\'\\`")
+ ;; Don't match anything.
+ (set (make-local-variable 'log-view-file-re) "\\`a\\`")
+ (set (make-local-variable 'log-view-per-file-logs) nil)
;; TODO: Use a more precise regexp than "[ |/]+" to avoid false positives
;; in the ChangeLog text.
(set (make-local-variable 'log-view-message-re)