From owner-freebsd-doc Wed Aug 9 12:38:37 2000 Delivered-To: freebsd-doc@freebsd.org Received: from msgbas1tx.cos.agilent.com (msgbas1tx.cos.agilent.com [192.6.9.34]) by hub.freebsd.org (Postfix) with ESMTP id E634437B6D9 for ; Wed, 9 Aug 2000 12:38:33 -0700 (PDT) (envelope-from darrylo@soco.agilent.com) Received: from andom1.an.hp.com (andom1.an.hp.com [15.4.128.104]) by msgbas1tx.cos.agilent.com (Postfix) with ESMTP id 43D951A5; Wed, 9 Aug 2000 13:38:32 -0600 (MDT) Received: from mina.soco.agilent.com (mina.soco.agilent.com [141.121.54.157]) by andom1.an.hp.com (Postfix) with ESMTP id EB0E181; Wed, 9 Aug 2000 15:38:27 -0400 (EDT) Received: from mina.soco.agilent.com (darrylo@localhost [127.0.0.1]) by mina.soco.agilent.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.0) with ESMTP id MAA05597; Wed, 9 Aug 2000 12:38:27 -0700 (PDT) Message-Id: <200008091938.MAA05597@mina.soco.agilent.com> To: Udo Erdelhoff Cc: freebsd-doc@FreeBSD.ORG Subject: Re: TAB vs 8. Spaces (was Re: cvs commit: doc/en_US.ISO_8859-1/books/faq book.sgml) Reply-To: Darryl Okahata In-Reply-To: Your message of "Wed, 09 Aug 2000 21:20:25 +0200." <20000809212025.H3413@nathan.ruhr.de> Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII Date: Wed, 09 Aug 2000 12:38:26 -0700 From: Darryl Okahata Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Udo Erdelhoff wrote: > The sample settings for vim (doc/share/sgml/vim) enforce "spaces only" > for .sgml/.html/.ent-files. If people decide that tabs should not be used, here is the magic code to tell XEmacs/Emacs to use only spaces when editing sgml and html documents. Put the following code into your ~/.emacs file and restart XEmacs/Emacs: (defun sgml-no-tabs () (let () (setq indent-tabs-mode nil) )) (add-hook 'sgml-mode-hook 'sgml-no-tabs) (add-hook 'html-mode-hook 'sgml-no-tabs) -- Darryl Okahata darrylo@soco.agilent.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message