From owner-freebsd-doc Thu Nov 1 11:31: 1 2001 Delivered-To: freebsd-doc@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 28B5537B403 for ; Thu, 1 Nov 2001 11:30:59 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id BB3C9BD29; Thu, 1 Nov 2001 11:30:58 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id LAA09757; Thu, 1 Nov 2001 11:30:57 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id fA1JTQ653410; Thu, 1 Nov 2001 11:29:26 -0800 (PST) (envelope-from swear@blarg.net) To: Michael Lucas Cc: doc@FreeBSD.ORG Subject: Re: emacs, SGML, and spaces References: <20011101132717.A74314@blackhelicopters.org> From: swear@blarg.net (Gary W. Swearingen) Date: 01 Nov 2001 11:29:26 -0800 In-Reply-To: <20011101132717.A74314@blackhelicopters.org> Message-ID: <1awv1acmsp.v1a@localhost.localdomain> Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Michael Lucas writes: > Folks, > > Does anyone have an Emacs macro handy to change filler to spaces when > you're working in SGML mode? My last PR accumulated tabs somehow, and > IIRC it used to leave spaces automatically when working with SGML. > > Sometimes my tab key leaves spaces, sometimes it uses a hard tab. I'm > sure this is fixable under EmacsOS, somehow. I don't know about any SGML-specific commands, but "M-x untabify" fixes tabs in a region. And I think that this elisp fixes the tab key: (setq-default indent-tabs-mode nil) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message