Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2015 12:01:31 -0400 (EDT)
From:      Benjamin Kaduk <bjk@freebsd.org>
To:        Hoyoung Kim <trig4800@gmail.com>
Cc:        "freebsd-doc@freebsd.org" <freebsd-doc@freebsd.org>
Subject:   Re: Editing FDP files with Emacs (Newbie Question)
Message-ID:  <alpine.GSO.1.10.1506011157350.22210@multics.mit.edu>
In-Reply-To: <6F7E855B-6143-4D6A-BE40-3E339ECDA501@gmail.com>
References:  <6F7E855B-6143-4D6A-BE40-3E339ECDA501@gmail.com>

index | next in thread | previous in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.1.10.1506011157350.22210>