From owner-freebsd-doc@FreeBSD.ORG Mon Jun 1 16:06:44 2015 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36567EA for ; Mon, 1 Jun 2015 16:06:44 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-4.mit.edu (dmz-mailsec-scanner-4.mit.edu [18.9.25.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D852C1CDB for ; Mon, 1 Jun 2015 16:06:43 +0000 (UTC) (envelope-from kaduk@mit.edu) X-AuditID: 1209190f-f79936d000000d16-99-556c81debed4 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP id 7A.6F.03350.ED18C655; Mon, 1 Jun 2015 12:01:34 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id t51G1X6R016263; Mon, 1 Jun 2015 12:01:34 -0400 Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t51G1WWY013981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 1 Jun 2015 12:01:33 -0400 Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id t51G1Vlp022705; Mon, 1 Jun 2015 12:01:31 -0400 (EDT) Date: Mon, 1 Jun 2015 12:01:31 -0400 (EDT) From: Benjamin Kaduk X-X-Sender: kaduk@multics.mit.edu To: Hoyoung Kim cc: "freebsd-doc@freebsd.org" Subject: Re: Editing FDP files with Emacs (Newbie Question) In-Reply-To: <6F7E855B-6143-4D6A-BE40-3E339ECDA501@gmail.com> Message-ID: References: <6F7E855B-6143-4D6A-BE40-3E339ECDA501@gmail.com> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJIsWRmVeSWpSXmKPExsUixG6nrnuvMSfUYP1bLYtTZ7pYLQ7d38nq wOQx49N8Fo+ds+6yBzBFcdmkpOZklqUW6dslcGXsbfjIWNDBUbHryH62BsZjbF2MnBwSAiYS D+81sELYYhIX7q0HinNxCAksZpJYdHwKM4SzgVHiwoPTLBDOQSaJ+7POMYO0CAnUS0x5shys nUVAS+LalP/sIDabgJrE473NUGMVJTafmgRWLyKgInFv12YmEJtZwFxi1YvJYLawgLXEgp5V YPWcArYS01tfgdXzCjhK/Np1hQ1il43EiRPnwGpEBXQkVu+fwgJRIyhxcuYTFoiZWhLLp29j mcAoNAtJahaS1AJGplWMsim5Vbq5iZk5xanJusXJiXl5qUW6Jnq5mSV6qSmlmxhBIcwpyb+D 8dtBpUOMAhyMSjy8Ap3ZoUKsiWXFlbmHGCU5mJREeZ0rc0KF+JLyUyozEosz4otKc1KLDzFK cDArifBaVQDleFMSK6tSi/JhUtIcLErivJt+8IUICaQnlqRmp6YWpBbBZGU4OJQkeH/VAzUK FqWmp1akZeaUIKSZODhBhvMADWdoABleXJCYW5yZDpE/xagoJc5rAdIsAJLIKM2D64WlmFeM 4kCvCPNWg1TxANMTXPcroMFMQIPbBcAGlyQipKQaGJ1ncFictNzRxtA2Z8+JB2bGdxYInnY9 /+3a2ciQ/YK/5V/9YLN3d3TdeZ9lgiKDSyvDrgxOuS8PnihxGGudV7t/9cqzDwH8nQlZOxg8 pS5+mHWy4bHWEYGQl2mnLWtqrTn6fv8XKJlac/P4zeeSZzLeekQX/7vpelv+0mXLra8SZFMe HJ762ViJpTgj0VCLuag4EQBdZnJODAMAAA== X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 16:06:44 -0000 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