On 2007-03-01 01:11:58 +0900, Michael(tm) Smith wrote: > Chris, Dave, > > The problem described in Debian bug report #385240 can be > reproduced using the following one-line XML document as a minimal > test case. > > <foo> </foo> > > If I open that file in nXML mode, the following error message is > emitted and nXML fails to fontify the buffer contents -- > > Internal nXML mode error in nxml-fontify (Cannot open load file > /usr/share/emacs/site-lisp/nxml-mode/char-name/unicode/1D400-1D7FF) > > The cause appears to be the following patch that Dave submitted > for bug #340637 and that was applied and released in the nxml-mode > 20041004-6 package. > > --- nxml-mode-20041004.orig/rng-auto.el > +++ nxml-mode-20041004/rng-auto.el > @@ -56,8 +56,7 @@ > > (let* ((dir (file-name-directory load-file-name)) > (schema-dir (concat dir "schema/"))) > - (unless (member dir load-path) > - (setq load-path (cons dir load-path))) > + (add-to-list 'load-path dir 'append) > (setq rng-schema-locating-files-default > (list "schemas.xml" > (abbreviate-file-name
I don't think this is due to this patch. If I install a rng-auto.el file with this patch reverted in /usr/local/share/emacs/site-lisp, then I can see in the Messages buffer that this file is loaded instead of the one provided by the package: [...] Loading /etc/emacs-snapshot/site-start.d/60nxml-mode.el (source)... Loading /usr/local/share/emacs/site-lisp/rng-auto.el (source)...done Loading /etc/emacs-snapshot/site-start.d/60nxml-mode.el (source)...done [...] but I still get the error. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)