Jean Magnan de Bornier wrote: > Hi all, > I emerged nxml to edit xml files with emacs; it works great, but when I > open an xml file it is sgml xml-mode, I have to switch to nxml by hand; > this seems to be new since some time ago nxml was the default mode. > In the site-gentoo.el file which is generated every time a packet from > app-emacs is installed, I have the following:
What does your ~/.emacs file look like? Does it have: (load "site-gentoo") The site-gentoo.el appears to work fine for me on Emacs 22.0.50.1. However, if you load neither 'site-gentoo' nor the equivalent code in your ~/.emacs file, then the default for Emacs is SGML mode. HTH, Gabriel -- gentoo-user@gentoo.org mailing list