[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UTF-8 line feeds versus LS/PS
Thomas Wolff wrote:
[separating paragraphs with an empty line]
> I don't think this is a good recommendation as it enforces the users
> to format their plain text files visually different from how they
> actually want it.
True. Another idea I heard was to detect the start of another paragraph by a
different indent. This breaks when a paragraph is a single line.
> That's why I use the following default scheme in my editor (mined...)
> which I think is quite useful:
> A line terminated without a blank terminates a paragraph. A blank at the
> end of a line means the paragraph continues.
> This way we have no restriction imposed on the text layout and it's easy
> to apply.
Hmm, that should work quite well. So far Vim always automatically deleted
trailing spaces when formatting text. This paragraph style can't be on by
default, but it's a useful option. Thanks for the hint!
--
hundred-and-one symptoms of being an internet addict:
139. You down your lunch in five minutes, at your desk, so you can
spend the rest of the hour surfing the Net.
--/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
\ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/