>>>> Rodney Sparapani <rsparapa(a)mcw.edu> writes:
Rodney> Right, when you get the mangling error, you are stuck.
Rodney> Basically, I get that all of the time. So, vc-dired is not
Rodney> working here. Does it work for you?
Dired doesn't set the buffer to vc-dired-mode. This patch fixes
this. There are still unresolved issues but with this it is possible
to get a working buffer sometimes if you don't give up ... ;-)
"cvs diff -u" in /src/xemacs/packages/xemacs-packages/dired/
Index: dired.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/dired/dired.el,v
retrieving revision 1.11
diff -u -r1.11 dired.el
--- dired.el 13 Jan 2008 14:51:20 -0000 1.11
+++ dired.el 21 Apr 2009 22:44:39 -0000
@@ -1751,7 +1751,8 @@
(setq default-directory (file-name-directory dirname)
wildcard t))
(or switches (setq switches dired-listing-switches))
- (dired-mode dirname switches)
+ (if mode (funcall mode)
+ (dired-mode dirname switches))
;; default-directory and dired-internal-switches are set now
;; (buffer-local), so we can call dired-readin:
(let ((failed t))
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta