Editing FDP files with Emacs (Newbie Question)
Benjamin Kaduk
bjk at freebsd.org
Mon Jun 1 16:06:44 UTC 2015
Hello Hoyoung,
On Sun, 31 May 2015, Hoyoung Kim wrote:
> 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(word wrap, tab stops, 8 spaces to 1tab, etc) correctly.
> 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?
Hmm, I am usually a vim user, but looking at the linked .emacs snippet, it
seems like it only defines a hook to be used when emacs is in sgml-mode.
When you are editing the FDP files, does emacs autodetect and enter
sgml-mode?
I thought there had been some email discussion in the past year or two
about what .vmirc and .emacs config were used by various committers (which
would probably also be helpful for your situation), but I cannot find it
with a quick search.
-Ben
More information about the freebsd-doc
mailing list