Raymond Toy writes:
> 
> I'm trying to get dvc to work with xemacs 21.5-b29.  I found a couple of
> minor issues and a show-stopper.

        I attempted the same thing using a checkout from
http://bzr.xsteve.at/dvc/ (and my xemacs claims to be the same
version).  I ran into most of your minor issues and some others
besides (see below), but eventually got a compiling dvc.

> I ran make and make install to install all the
> files in ~/.xemacs/lib/...
...
> The show-stopper is that when I do (load "dvc-load"), nothing works.

        I didn't attempt to install dvc; instead, I just did
(load-file "/path/to/dvc/dvc-load.el"), pointing at the directory
where I had compiled using xemacs.  Some things work: dvc-status
worked on an hg directory (and on dvc's source directory, under bzr),
and within that I could do 'e' for an ediff (although sometimes I'd
get an error about "display-buffer switched frames on its own!!").

        But when I tried 'i' or 'c', I get:

Symbol's function definition is void: dvc-derived-mode-p.

This turns out to be unsurprising since dvc-derived-mode-p is defined
in dvc-emacs (only).  Copying the definition over to dvc-xemacs.el
seems to get rid of that error.  But there are other problems; for
instance, xhg-push fails with an error about try-completion.  I
haven't pursued this further, but perhaps it's of some use to others
trying to get dvc working in XEmacs.

        BTW, here are the additional changes I had to make to the
source for XEmacs to compile it:

* In dvc-build.el, I had to add (load-library "cl-macs").

* I had to change several 'ecase' calls with 't' cases to be 'case'.

* I was building in a different directory from the source, and I had
to copy over two files (texinfo/dvc-intro.texinfo and
lisp/custom-load.el) from the source into the corresponding
compilation directory.  (I have to do the first copy even if setting
up dvc for emacs.)



_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to