Re: [gentoo-user] Re: xml mode for emacs
Le 09 octobre à 02:49:03 Gabriel M. Beddingfield [EMAIL PROTECTED] écrit notamment: | 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. I do have it already in .emacs Thanks anyway -- Jean Magnan de Bornier |Cours Victor Hugo e-mots: jean at bornier.net|13980 Alleins France T 08 70 39 34 03 |P 06 09 17 35 87 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: xml mode for emacs [SOLVED]
Le 09 octobre à 08:37:36 Jean Magnan de Bornier [EMAIL PROTECTED] écrit notamment: | Le 09 octobre à 02:49:03 Gabriel M. Beddingfield [EMAIL PROTECTED] écrit notamment: | | 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. | I do have it already in .emacs Looking at the nxml website (I should have done it first!), I see my problem is known; adding (fset 'xml-mode 'nxml-mode) to .emacs solves it. bye, -- Jean Magnan de Bornier |Cours Victor Hugo e-mots: jean at bornier.net|13980 Alleins France T 08 70 39 34 03 |P 06 09 17 35 87 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: xml mode for emacs
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