From owner-freebsd-doc@FreeBSD.ORG Mon Oct 8 05:15:15 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 DC1B816A419 for ; Mon, 8 Oct 2007 05:15:15 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.freebsd.org (Postfix) with ESMTP id 925D413C44B for ; Mon, 8 Oct 2007 05:15:15 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id 9D99610EDA2; Mon, 8 Oct 2007 07:15:07 +0200 (CEST) X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KSMYIpMMCQJl; Mon, 8 Oct 2007 07:15:06 +0200 (CEST) Received: from DANGER-PC (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id 6039810EDA1; Mon, 8 Oct 2007 07:15:06 +0200 (CEST) Date: Mon, 8 Oct 2007 07:15:10 +0200 From: Daniel Gerzo Organization: The FreeBSD Project X-Priority: 3 (Normal) Message-ID: <88808403.20071008071510@rulez.sk> To: Max Laier In-Reply-To: <200710080541.34050.max@love2party.net> References: <20071007231017.1a29bec8@chessgriffin.com> <200710080541.34050.max@love2party.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-doc@freebsd.org, Chess Griffin Subject: Re[2]: Two space indentation displays incorrectly in diff X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 05:15:15 -0000 Hello Max, Monday, October 8, 2007, 5:41:26 AM, you wrote: >> I am stumped as to why this occurs or how to fix it. > Obviously vim in converting the 8 spaces into one tab. When displayed > this turns into "indentation to the first tabstop (=8)" which means only > and indentation of 7 is visible (deducting the plus sign). > I don't know how to teach vim not to do the conversion and I don't know if > that might even be the right formatting, but I hope this helps. Replacing the 8 spaces with a tab is correct way to do it. -- Best regards, Daniel mailto:danger@FreeBSD.org