Red Hat Bugzilla – Bug 62374
paragraph formatting broken
Last modified: 2007-04-18 12:41:28 EDT
the vim 6.1-1 rpms are installed
Paragraph formatting (meaning the command "gq}" to reformat an entire paragraph)
is behaving very weirdly with the vim in the betas. Sometimes, reformatting an
entire paragraph will result in lines towards the end of the paragraph being
What it appears to be breaking on are lines ending with a comma. When a
reformat shifts a line so that the physical line ends with a comma, all
subsequent lines in that paragraph are indented.
This is not how paragraph format has worked on any other vi / vim I've used, and
it's not what happens with the exact same paragraphs on 7.2.
Created attachment 51465 [details]
Created attachment 51466 [details]
example paragraphs after beta vim malformatted them
I've attached two files, foo.txt and foo-beta.txt. They both contain the same
three paragraphs (all alphabetical characters substituted with an "a" since the
text is unfortunately confidential). foo.txt is what the file looks like before
and after "gq}" processing using vim on a RH 7.2 box. foo-beta.txt is what
foo.txt looks like after "gq}" processing using vim-6.1-1 on beta3.
This bug did not arise with 6.1-1; I've been noticing it for a few days now. It
does seem to be exclusively associated w/ lines ending in commas.
still broken in beta4
Still broken in 7.3 gold
It's fixed in the rawhide version.