Ok, I think I've sorted the problem for now; when dvc opens an html file it requires the sb-html library which is part of the speedbar package (in squeeze, I think it was in emacs21 in lenny). The speedbar package was not installed on my system and nothing pulled it in as a dependency. I've not investigated why dvc wants sb-html (find-file does not require it to open html files for example) but my fix for now is just to install speedbar.
Does DVC actually depend on speedbar? If so, I guess the debian package dependencies will need to be updated. Speaking of debian packaging, DVC does not build correctly on a squeeze system (I built DVC on lenny). I'll look into this further. Cheers, Bruce. On 10/05/10 15:13, Bruce Tulloch wrote: > DVC appears to have been broken by a recent Debian/Squeeze update. > > When performing dvc-diff or dvc-diff-ediff on a modified HTML file > emacs reports the following error: > > byte-code: Wrong type argument: stringp, nil > > If the file is any other type (i.e. not HTML) it appears to be OK. > > I'm using the xhg backend and html files are opened with psgml. > > It looks like some sort of interaction with psgml mode. The value of > psgml-html-build-new-buffer does not matter. Any clues or advice as to > how I can debug this or provide any more feedback is welcome. Needless > to say I'm not an elisp guru :-) > > I am running DVC built from source and packaged for debian as: > > Package: dvc > Version: 0r20100420-1 > Severity: normal > > -- System Information: > Debian Release: squeeze/sid > APT prefers testing > APT policy: (990, 'testing') > Architecture: i386 (i686) > > Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > Shell: /bin/sh linked to /bin/bash > > Versions of packages dvc depends on: > ii dpkg 1.15.8.5 Debian package management system > ii emacs23 23.2+1-4 The GNU Emacs editor (with GTK+ > us > ii install-info 4.13a.dfsg.1-5 Manage installed documentation > in > > Versions of packages dvc recommends: > ii bzr 2.1.2-1 easy to use distributed version > co > ii git 1:1.7.1-1.1 fast, scalable, distributed > revisi > > dvc suggests no packages. > > > _______________________________________________ > Dvc-dev mailing list > [email protected] > https://mail.gna.org/listinfo/dvc-dev > _______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
