# HG changeset patch # User Katsumi Yamaoka # Date 1265429599 0 # Node ID 91a3b0edffccf3663f8489e3114054d0e5f07f34 # Parent 75f6177a785f182bca59b6add4a6afd958eee4f0# Parent 31db1aaeac2d5153401086ae9e5977d7125ca9a5 Merge from mainline. diff -r 75f6177a785f -r 91a3b0edffcc doc/misc/ChangeLog --- a/doc/misc/ChangeLog Fri Feb 05 15:06:31 2010 +0000 +++ b/doc/misc/ChangeLog Sat Feb 06 04:13:19 2010 +0000 @@ -1,3 +1,7 @@ +2010-02-05 Mark A. Hershberger + + * ede.texi, eieio.texi, semantic.texi: Use standard direntry format. + 2010-01-21 Katsumi Yamaoka * gnus.texi (Score File Format): Fix typo. diff -r 75f6177a785f -r 91a3b0edffcc doc/misc/ede.texi --- a/doc/misc/ede.texi Fri Feb 05 15:06:31 2010 +0000 +++ b/doc/misc/ede.texi Sat Feb 06 04:13:19 2010 +0000 @@ -22,13 +22,10 @@ @end quotation @end copying -@ifinfo -@format -START-INFO-DIR-ENTRY +@dircategory Emacs +@direntry * ede: (ede). Project management for Emacs -END-INFO-DIR-ENTRY -@end format -@end ifinfo +@end direntry @titlepage @center @titlefont{EDE (The Emacs Development Environment)} diff -r 75f6177a785f -r 91a3b0edffcc doc/misc/eieio.texi --- a/doc/misc/eieio.texi Fri Feb 05 15:06:31 2010 +0000 +++ b/doc/misc/eieio.texi Sat Feb 06 04:13:19 2010 +0000 @@ -27,13 +27,10 @@ @end quotation @end copying -@ifinfo -@format -START-INFO-DIR-ENTRY +@dircategory Emacs +@direntry * eieio: (eieio). Objects for Emacs -END-INFO-DIR-ENTRY -@end format -@end ifinfo +@end direntry @titlepage @center @titlefont{@value{TITLE}} diff -r 75f6177a785f -r 91a3b0edffcc doc/misc/semantic.texi --- a/doc/misc/semantic.texi Fri Feb 05 15:06:31 2010 +0000 +++ b/doc/misc/semantic.texi Sat Feb 06 04:13:19 2010 +0000 @@ -41,13 +41,10 @@ @end quotation @end copying -@ifinfo -@format -START-INFO-DIR-ENTRY +@dircategory Emacs +@direntry * Semantic: (semantic). Source code parser library and utilities. -END-INFO-DIR-ENTRY -@end format -@end ifinfo +@end direntry @titlepage @center @titlefont{Semantic} diff -r 75f6177a785f -r 91a3b0edffcc lisp/ChangeLog --- a/lisp/ChangeLog Fri Feb 05 15:06:31 2010 +0000 +++ b/lisp/ChangeLog Sat Feb 06 04:13:19 2010 +0000 @@ -1,3 +1,13 @@ +2010-02-05 Juri Linkov + + * doc-view.el (doc-view-mode): + * image-mode.el (image-mode): Put property mode-class=special. + (Bug#4896) + +2010-02-05 Mark A. Hershberger + + * vc-svn.el (vc-svn-revision-table): New function. + 2010-02-05 Michael Albinus * net/ange-ftp.el (ange-ftp-insert-directory): diff -r 75f6177a785f -r 91a3b0edffcc lisp/doc-view.el --- a/lisp/doc-view.el Fri Feb 05 15:06:31 2010 +0000 +++ b/lisp/doc-view.el Sat Feb 06 04:13:19 2010 +0000 @@ -1134,7 +1134,7 @@ ;;;; User interface commands and the mode -;; (put 'doc-view-mode 'mode-class 'special) +(put 'doc-view-mode 'mode-class 'special) (defun doc-view-already-converted-p () "Return non-nil if the current doc was already converted." diff -r 75f6177a785f -r 91a3b0edffcc lisp/image-mode.el --- a/lisp/image-mode.el Fri Feb 05 15:06:31 2010 +0000 +++ b/lisp/image-mode.el Sat Feb 06 04:13:19 2010 +0000 @@ -317,6 +317,8 @@ (defvar bookmark-make-record-function) +(put 'image-mode 'mode-class 'special) + ;;;###autoload (defun image-mode () "Major mode for image files. diff -r 75f6177a785f -r 91a3b0edffcc lisp/vc-svn.el --- a/lisp/vc-svn.el Fri Feb 05 15:06:31 2010 +0000 +++ b/lisp/vc-svn.el Sat Feb 06 04:13:19 2010 +0000 @@ -31,6 +31,10 @@ (eval-when-compile (require 'vc)) +;; Clear up the cache to force vc-call to check again and discover +;; new functions when we reload this file. +(put 'SVN 'vc-functions nil) + ;;; ;;; Customization options ;;; @@ -722,6 +726,21 @@ (beginning-of-line) (if (looking-at vc-svn-annotate-re) (match-string 1)))) +(defun vc-svn-revision-table (files) + (let ((vc-svn-revisions '())) + (with-current-buffer "*vc*" + (vc-svn-command nil 0 files "log" "-q") + (goto-char (point-min)) + (forward-line) + (let ((start (point-min)) + (loglines (buffer-substring-no-properties (point-min) + (point-max)))) + (while (string-match "^r\\([0-9]+\\) " loglines) + (push (match-string 1 loglines) vc-svn-revisions) + (setq start (+ start (match-end 0))) + (setq loglines (buffer-substring-no-properties start (point-max))))) + vc-svn-revisions))) + (provide 'vc-svn) ;; arch-tag: 02f10c68-2b4d-453a-90fc-1eee6cfb268d