From owner-freebsd-doc@freebsd.org Mon Jul 20 10:00:25 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 5C2389A6D79 for ; Mon, 20 Jul 2015 10:00:25 +0000 (UTC) (envelope-from marc@blackend.org) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2273E2606 for ; Mon, 20 Jul 2015 10:00:24 +0000 (UTC) (envelope-from marc@blackend.org) Received: from emphyrio.blackend.org (unknown [88.179.1.53]) by smtp2-g21.free.fr (Postfix) with ESMTPS id DA65A4B0294; Mon, 20 Jul 2015 12:00:15 +0200 (CEST) Received: from emphyrio.blackend.org (localhost [127.0.0.1]) by emphyrio.blackend.org (8.14.9/8.14.9) with ESMTP id t6KA0EE3001257; Mon, 20 Jul 2015 12:00:14 +0200 (CEST) (envelope-from marc@emphyrio.blackend.org) Received: (from marc@localhost) by emphyrio.blackend.org (8.14.9/8.14.9/Submit) id t6KA0EVx001256; Mon, 20 Jul 2015 12:00:14 +0200 (CEST) (envelope-from marc) Date: Mon, 20 Jul 2015 12:00:14 +0200 From: Marc Fonvieille To: Benedict Reuschling Cc: freebsd-doc@freebsd.org Subject: Re: What is the proper indent style for FDP? Message-ID: <20150720100014.GA1206@emphyrio.blackend.org> Mail-Followup-To: Benedict Reuschling , freebsd-doc@freebsd.org References: <55AACF8D.3060000@gmail.com> <55ABBB26.7050302@reuschling.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55ABBB26.7050302@reuschling.org> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 9.3-RELEASE-p9 User-Agent: Mutt/1.5.23 (2014-03-12) 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: Mon, 20 Jul 2015 10:00:25 -0000 On Sun, Jul 19, 2015 at 04:58:46PM +0200, Benedict Reuschling wrote: > > > Am 19.07.15 um 00:57 schrieb Warren Block: > > On Sun, 19 Jul 2015, Hoyoung Kim wrote: > >> Should I manually indent paragraphs after pressing P? > > > > If the editor does not do it correctly, yes. > > > > It does not do it for the first line in the paragraph, but the rest is > fine. So what I do is I break the line with the in it when the > number of characters per line are exceeded as normal. Then, I indent the > line below the manually. Then, you can hit P and the rest of the > line and all those that follow in that paragraph should indent correctly. > It's not perfect, but still better than nothing, especially when there > are long paragraphs. > > > Providing a default editor config does not suggest that editor does > > everything correctly. vim users might be able to help more. I have yet > > to find any editor that really does our indenting correctly. Maybe some > > programming can improve on what vim or emacs does by default. > > Yes, that would be great. Having some kind of formatter that > knows/follows our indentation rules would be good to have. https://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/editor-config.html#editor-config-vim may be a good start. > _______________________________________________ > 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" -- Marc