Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2000 13:41:42 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Nik Clayton <nik@FreeBSD.org>
Cc:        doc@FreeBSD.org, Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
Subject:   Re: Patches I have up my sleeve
Message-ID:  <200001141841.NAA14428@alsatian.cslab.vt.edu>
In-Reply-To: <20000113005736.F8876@kilt.nothing-going-on.org>

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

On 13-Jan-00 Nik Clayton wrote:
> [ cc'd to cvs@freebsd.org for some advice ]
> 
> On Mon, Dec 20, 1999 at 07:02:01AM +0100, Jeroen Ruigrok/Asmodai wrote:
>> >> One, which impacts a lot of files per subdir (faq, handbook, etc) will
>> >> remove all excessive whitespaces which were introduced by the sgmlmode
>> >> of emacs.  I consider this a bug in the editor and should be properly
>> >> cleaned up.
>> >
>> >What sort of excessive whitespace?
>> 
>> Just take a random file from the handbook and you will see a lot of of
>> four spaces on line between tags.  These lines should be empty instead
>> of carrying four spaces.  I am really thinking emacs sgml mode messed
>> up.
> 
> I know exactly how this has happened, having done it myself tonight.
> 
> Go to a section of a .sgml file, something like this;
> 
>        ...
>      </sect3>
>    </sect2>
> 
>    <sect2>
>      <title>A random title</title>
> 
>      ...
> 
> Now, suppose you start thinking about adding a new section between the
> end of the first </sect2> and the beginning of the next <sect>.  So you
> move the cursor to be in between them, and hit TAB.

Heh.. been there, done that.  I think an automatic filter sounds like a good
idea.  I also can't think of any instance where it would break things.

> We wouldn't even need to update all the files at once.  A file will be 
> fixed automatically the first time it is committed to after we make this
> change.
> 
> CVSMeisters -- how feasible would something like this be for implementation
> on freefall?

I trust you bcc'd this to cvs@FreeBSD.org so they'd hear this? :)

> N

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


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?200001141841.NAA14428>