whitespace question

John Baldwin jhb at FreeBSD.org
Tue Apr 1 16:04:46 UTC 2003


On 01-Apr-2003 Martin Karlsson wrote:
> Hi,
> 
> Regarding whitespace, which of the following two alternatives (from a
> diff) is correct? The reason I ask is that emacs seems to add some extra
> indentation when faced with a linebreak in the middle of a tag.
> 
> 
>        <procedure>
>          <step>
>            <para>Get a POP or IMAP daemon from the <ulink
> -            url="../../../../ports/mail.html">ports collection</ulink> and install
> +               url="../../../../ports/mail.html">ports
>              collection</ulink> and install
>              it on your system.</para>
>          </step>
> 
> This is with (indent-tabs-mode nil), (sgml-indent-step 2), and
> (sgml-indent-data t) set in my .emacs. (But that shouldn't matter, since
> the docs set local variables, right?)
> 
> How do I make emacs do the right thing?

I just use backspace to line it back up. :)  I usually would keep the
- indent.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



More information about the freebsd-doc mailing list