Skip site navigation (1)Skip section navigation (2)
Date:      01 Nov 2001 11:29:26 -0800
From:      swear@blarg.net (Gary W. Swearingen)
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        doc@FreeBSD.ORG
Subject:   Re: emacs, SGML, and spaces
Message-ID:  <1awv1acmsp.v1a@localhost.localdomain>
In-Reply-To: <20011101132717.A74314@blackhelicopters.org>
References:  <20011101132717.A74314@blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Lucas <mwlucas@blackhelicopters.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1awv1acmsp.v1a>