Bug 62374

Summary: paragraph formatting broken
Product: [Retired] Red Hat Linux Reporter: Chris Ricker <chris.ricker>
Component: vimAssignee: wdovlrrw <brosenkr>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-10 17:44:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
example paragraphs
none
example paragraphs after beta vim malformatted them none

Description Chris Ricker 2002-03-30 19:04:01 UTC
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
indented.

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.

Comment 1 Chris Ricker 2002-03-30 19:07:51 UTC
Created attachment 51465 [details]
example paragraphs

Comment 2 Chris Ricker 2002-03-30 19:08:50 UTC
Created attachment 51466 [details]
example paragraphs after beta vim malformatted them

Comment 3 Chris Ricker 2002-03-30 19:12:54 UTC
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.

Comment 4 Chris Ricker 2002-04-05 06:37:18 UTC
still broken in beta4

Comment 5 Chris Ricker 2002-05-05 15:46:24 UTC
Still broken in 7.3 gold

Comment 6 Karsten Hopp 2002-07-09 09:54:36 UTC
It's fixed in the rawhide version.