Date: Mon, 20 Jul 2015 12:00:14 +0200 From: Marc Fonvieille <blackend@FreeBSD.org> To: Benedict Reuschling <benedict@reuschling.org> Cc: freebsd-doc@freebsd.org Subject: Re: What is the proper indent style for FDP? Message-ID: <20150720100014.GA1206@emphyrio.blackend.org> In-Reply-To: <55ABBB26.7050302@reuschling.org> References: <55AACF8D.3060000@gmail.com> <alpine.BSF.2.20.1507181653320.62620@wonkity.com> <55ABBB26.7050302@reuschling.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <para> in it when the > number of characters per line are exceeded as normal. Then, I indent the > line below the <para> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150720100014.GA1206>