From owner-freebsd-doc@FreeBSD.ORG Mon Oct 8 03:10:26 2007 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E73316A417 for ; Mon, 8 Oct 2007 03:10:26 +0000 (UTC) (envelope-from chess@chessgriffin.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.freebsd.org (Postfix) with ESMTP id 0A0C913C474 for ; Mon, 8 Oct 2007 03:10:25 +0000 (UTC) (envelope-from chess@chessgriffin.com) Received: by wx-out-0506.google.com with SMTP id i29so1049592wxd for ; Sun, 07 Oct 2007 20:10:25 -0700 (PDT) Received: by 10.70.73.12 with SMTP id v12mr5487000wxa.1191813024389; Sun, 07 Oct 2007 20:10:24 -0700 (PDT) Received: from localhost ( [69.134.34.168]) by mx.google.com with ESMTPS id h17sm12474807wxd.2007.10.07.20.10.22 (version=SSLv3 cipher=OTHER); Sun, 07 Oct 2007 20:10:23 -0700 (PDT) Date: Sun, 7 Oct 2007 23:10:17 -0400 From: Chess Griffin To: freebsd-doc@FreeBSD.org Message-ID: <20071007231017.1a29bec8@chessgriffin.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/AhGaVD/_ocWdkcAjzzhZ4FG"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Subject: Two space indentation displays incorrectly in diff X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 03:10:26 -0000 --Sig_/AhGaVD/_ocWdkcAjzzhZ4FG Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, I am working on some more doc diffs to submit and I am paying careful attention to the FDP Primer. The problem is that when I insert a=20 two space indent after the first line of a , it shows up as 1 space when I create the diff -u. This is in my .vimrc: autocmd BufNewFile,BufRead *.sgml,*.ent,*.html,*.tex,*.xsl set autoindent formatoptions=3Dtcq2l textwidth=3D70 shiftwidth=3D2 softtabstop=3D2 tabstop=3D8 When I edit the sgml, it looks ok: Changing Console Video Modes The FreeBSD console default video mode may be adjusted to 1024x768, 1280x1024, or any other size supported by your=20 graphics chip and monitor. To use a different video mode, you must first recompile your kernel and include two additional options: But in the diff it looks like this: + + Changing Console Video Modes + + The FreeBSD console default video mode may be adjusted to + 1024x768, 1280x1024, or any other size supported by your + graphics chip and monitor. To use a different video mode, you + must first recompile your kernel and include two additional + options: It appears that there is only a one space indent after the first line. I also did ":set list" on the diff and it looks like this: + $ + Changing Console Video Modes$ +$ + The FreeBSD console default video mode may be adjusted to$ +^I1024x768, 1280x1024, or any other size supported by your$ +^Igraphics chip and monitor. To use a different video mode, you$ +^Imust first recompile your kernel and include two additional$ +^Ioptions:$ I am stumped as to why this occurs or how to fix it. =20 When the diff is applied to the original source, it comes out fine, so maybe it's ok? Any advice from expert vimmers would be greatly appreciated. Thank you. Chess --=20 Chess Griffin GPG Public Key: 0x0C7558C3 http://www.chessgriffin.com --Sig_/AhGaVD/_ocWdkcAjzzhZ4FG Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHCZ+ZKzd9mAx1WMMRAuQGAJ4hPSN5MlvEnNNf6OECIclaB6QW7ACfeoe4 V4pSvDgJsiNlossH9BNY2XY= =m4CE -----END PGP SIGNATURE----- --Sig_/AhGaVD/_ocWdkcAjzzhZ4FG--