Christian Ohler | 7 Apr 11:48
Favicon

Re: xmtn: Emacs integration via DVC

Derek Scherger, 2007-04-04:

> $ tar ztvf dvc-snapshot.tar.gz | head -n1
> drwxr-xr-x moy/synchron      0 2007-04-03 19:25 dvc-snapshot.tar.gz/
> 
> Apparently the top-level directory in the tarball has the same name as
> the tarball so untarring it overwrites the tarball.

Oops.  I agree this isn't how it should be.  Maybe Matthieu Moy can fix 
this, he's the one generating the tarballs.

> $ autoconf
> $ ./configure --with-emacs=xemacs --prefix=$HOME/opt
> ...
> config.status: WARNING: dvc-load-install.el contains a reference to the
> variable `datarootdir'
> which seems to be undefined.  Please make sure it is defined.
> 
> Not sure if that's a big deal or not but it doesn't sound completely
> good. ;)

This seems to be a bug, but it's not the cause of your problem.  I don't 
see this as a priority right now.

> $ make
> ...
> Wrote /home/derek/var/dvc-snapshot.tar.gz/lisp/auto-autoloads.el
> Wrote /home/derek/var/dvc-snapshot.tar.gz/lisp/auto-autoloads.el
> lispdir=/home/derek/opt/lib/xemacs/site-packages/lisp/dvc srcdir=.
> otherdirs="" xemacs -batch -no-autoloads -l ./dvc-build.el -f
> package-maint-make-load
> Loading /home/derek/var/dvc-snapshot.tar.gz/lisp/dvc-version.el...
> Compiling /home/derek/var/dvc-snapshot.tar.gz/lisp/auto-autoloads.el...
> Compiling /home/derek/var/dvc-snapshot.tar.gz/lisp/auto-autoloads.el...
> Wrote /home/derek/var/dvc-snapshot.tar.gz/lisp/auto-autoloads.elc
> Creating dummy dvc-autoloads.el...
> 
> Symbol's function definition is void: define-coding-system-alias

Presumably, the function `define-coding-system-alias' is undefined 
because your XEmacs is not MULE-enabled.  xmtn requires MULE to be able 
to decode UTF-8.  I'll clarify the readme file accordingly.

You could try rebuilding your XEmacs to enable MULE.

I only use GNU Emacs and have just tried xmtn in XEmacs for the first 
time, found a number of problems, and posted a patch to the dvc-dev 
mailing list with some fixes for XEmacs compatibility.  However, it's 
incomplete; I don't think it's usable yet.  I may be able to investigate 
XEmacs compatibility some more in a few weeks when I have more time.  Or 
maybe someone else can help.

I don't know how long it will take for the DVC snapshot to include this 
patch.

Good luck and thanks for the feedback.
Christian.

Gmane