Hello I'm trying to edit FDP xml files with Emacs.
I followed the instruction of FDP Primer(http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/editor-config-emacs.html),
added several lines to my .emacs file.
However, it seems not working correctly. When I open FDP file in Emacs, sgml-mode is not automatically detected.
I manually enabled this mode via
In this mode, `tab stops set to 2' and `8 leading spaces->single tab' worked fine,
while `word wrap set to 70 chars' seems not working(this means when I exceeded the limit, there isn't any highlight I can recognize).
So the problems are:
1. Not entering sgml-mode automatically
2. Word wrap set to 70 chars doesn't working
I'm using Vim right now, but I prefer Emacs for my text editing.
What should I do to edit files appropriately(make documents conform to FDP guidelines) with Emacs?
Thanks.
p.s. I posted about this on freebsd-doc mailing list, but my problem is not solved--so I'm asking here.
I followed the instruction of FDP Primer(http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/editor-config-emacs.html),
added several lines to my .emacs file.
However, it seems not working correctly. When I open FDP file in Emacs, sgml-mode is not automatically detected.
I manually enabled this mode via
M-x sgml-mode
.In this mode, `tab stops set to 2' and `8 leading spaces->single tab' worked fine,
while `word wrap set to 70 chars' seems not working(this means when I exceeded the limit, there isn't any highlight I can recognize).
So the problems are:
1. Not entering sgml-mode automatically
2. Word wrap set to 70 chars doesn't working
I'm using Vim right now, but I prefer Emacs for my text editing.
What should I do to edit files appropriately(make documents conform to FDP guidelines) with Emacs?
Thanks.
p.s. I posted about this on freebsd-doc mailing list, but my problem is not solved--so I'm asking here.