From owner-freebsd-doc@freebsd.org Sat Jul 18 23:08:05 2015 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A768D9A4AF7 for ; Sat, 18 Jul 2015 23:08:05 +0000 (UTC) (envelope-from trig4800@gmail.com) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CC031EF6 for ; Sat, 18 Jul 2015 23:08:05 +0000 (UTC) (envelope-from trig4800@gmail.com) Received: by pacan13 with SMTP id an13so81084486pac.1 for ; Sat, 18 Jul 2015 16:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Md+7fpmh4hR1tLzHJLzhl/7Lah47+Rjb9+/QXSRcyUk=; b=TpaF32kpUR2Q/1JEj5K/sblTZ79aX+fEvKvb8G00ensdfINNKqitpFdc7htvKog1gM WX8ZlVuF6Agqp1Ye+xXPMXZqo0r70tMKEpRL1fN5GVQ7QgcLWqinkgnvt6TjTpNGqz/1 lglJ7l+0wWFpqUcg/kxl/qMSo6m14bCvIGov8SZssT3UcXLMPMM9Yegc1VWYq4j3JNmu wa2b9yN9b3H+4lzGdII/NEN/X889xTbynWbn0u8H2tg+nCpkFtopct/gY8HUC4gz2x39 xzxRbtNgTkPrtq0xvD2orEwGcoELZqpdLkKK/VgYk4ehljIJoJS/1omtEbFgDny0Jjql 14OQ== X-Received: by 10.68.252.168 with SMTP id zt8mr43567272pbc.1.1437260884846; Sat, 18 Jul 2015 16:08:04 -0700 (PDT) Received: from [10.0.1.5] ([121.167.148.73]) by smtp.googlemail.com with ESMTPSA id ia3sm15326068pbc.31.2015.07.18.16.08.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jul 2015 16:08:04 -0700 (PDT) Message-ID: <55AADC51.8070208@gmail.com> Date: Sun, 19 Jul 2015 08:08:01 +0900 From: Hoyoung Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: What is the proper indent style for FDP? References: <55AACF8D.3060000@gmail.com> <55AAD0CC.5030001@freebsd.org> <55AAD1DB.6000903@freebsd.org> In-Reply-To: <55AAD1DB.6000903@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2015 23:08:05 -0000 Oh, I see. Thank you for reply :) On 07/19/2015 07:23, Allan Jude wrote: > On 2015-07-18 18:18, Allan Jude wrote: >> On 2015-07-18 18:13, Hoyoung Kim wrote: >>> Hello. I'm curious about indentation style. >>> Which is the proper one when dealing with FDP xml files? >>> >>> The original FDP files follow the style like this: >>> >>> We have tried to keep the number of forward references in >>> the text to a minimum so that you can read this section of the >>> Handbook from front to back with the minimum page flipping >>> required. >>> >>> This is another example: >>> >>> >>> Introduce you to X, the &unix; windowing system, and >>> detail how to configure a desktop environment that makes >>> you more productive. >>> >>> >>> However, when I press P in Vim Visual mode to reformat selected text, >>> the style changes like this: >>> >>> We have tried to keep the number of forward references in >>> the text to a minimum so that you can read this section of the >>> Handbook from front to back with the minimum page flipping >>> required. >>> >>> And this: >>> >>> Introduce you to X, the &unix; windowing >>> system, and detail how to configure a desktop environment that >>> makes you more productive. >>> >>> All the original files follow the former style, but FDP Primer suggests >>> the latter style. >>> (https://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/editor-config.html#editor-config-vim) >>> >>> >>> I want to know whether the latter style is allowed or not. Should I >>> manually indent paragraphs after pressing P? >>> >>> Thanks. >>> _______________________________________________ >>> freebsd-doc@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-doc >>> To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org" >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/writing-style-guide.html#writing-style-indentation >> >> two spaces per indent, one indent per tag. 8 spaces = a real tab. No >> spaces before a real tab. No whitespace at the end of the line. >> > To answer your question better, the content of the should be > indented, so the vim auto-formatting is not doing it correctly. > > The first 2 examples are correct >