Bug 746971 - vim-plugin-quilt breaks vim line history
Summary: vim-plugin-quilt breaks vim line history
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 12.2
Classification: openSUSE
Component: Patterns (show other bugs)
Version: Factory
Hardware: All openSUSE 12.1
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Petr Uzel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords: dogfood
Depends on:
Blocks:
 
Reported: 2012-02-14 17:31 UTC by Dr. Werner Fink
Modified: 2012-11-19 16:09 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
fix for quilt plugin - preserve last cursor positoin (519 bytes, patch)
2012-11-04 18:09 UTC, Petr Uzel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Werner Fink 2012-02-14 17:31:03 UTC
Before installing vim-plugin-quilt vim jumps automatical back to
the previous edited line of the an already edited file.
After installing vim-plugin-quilt this feature is gone.
Comment 1 Petr Uzel 2012-02-14 17:36:50 UTC
I'm afraid I don't understand which behavior is changed/broken after installing the plugin. Could you please elaborate?
Comment 2 Dr. Werner Fink 2012-02-14 18:15:54 UTC
If I edit a file let's say at line 100 and leave this file at this
line then vim will jump to this line back if I edit the file a second
time.  With the plugin installed vim starts always at line 1

   vi src/cmd/ksh93/sh/init.c
   [do some edits at line 522 then pres ESC followed by ZZ]
   bin/package make
   vi src/cmd/ksh93/sh/init.c

... with plugin vi(m) starts at line 1 without at line 522 on
the second edit.
Comment 3 Petr Uzel 2012-02-28 11:09:33 UTC
Problem reported to its author, waiting for reply.
Comment 4 Petr Uzel 2012-11-04 18:09:18 UTC
Created attachment 511858 [details]
fix for quilt plugin - preserve last cursor positoin

Upstream did not help, so I had a look myself. Attached patch fixes the problem. Maintenance request #140123 has been submitted.
Comment 5 Petr Uzel 2012-11-04 18:11:31 UTC
Submitted to Factory as well.
Comment 6 Bernhard Wiedemann 2012-11-04 19:00:13 UTC
This is an autogenerated message for OBS integration:
This bug (746971) was mentioned in
https://build.opensuse.org/request/show/140125 Factory / vim-plugins
Comment 7 Benjamin Brunner 2012-11-05 09:39:52 UTC
I started an update for 12.1 and 12.2. Thanks for the submission.
Comment 8 Petr Uzel 2012-11-05 11:55:59 UTC
(In reply to comment #7)
> I started an update for 12.1 and 12.2.

Please hold it up. The discussion with upstream restarted, so we might come up with a better patch (mine patch seems to cause some other regressions).
Comment 9 Petr Uzel 2012-11-07 12:28:44 UTC
Resent to 12.1 and 12.2, this time updating to quilt-plugin-0.9.7. It seems that previous submission contained bug which broke some of the plugin functionality. This is fixed now. Sorry.

New sr: 140551
Comment 10 Benjamin Brunner 2012-11-08 11:32:44 UTC
Thanks for bringing this up. Fortunately the old update wasn't released yet and I'll add the new submission to the old one.
Comment 11 Petr Uzel 2012-11-12 12:07:03 UTC
Fixed.
Comment 12 Swamp Workflow Management 2012-11-19 16:09:43 UTC
openSUSE-RU-2012:1498-1: An update that has one recommended fix can now be installed.

Category: recommended (low)
Bug References: 746971
CVE References: 
Sources used:
openSUSE 12.2 (src):    vim-plugins-7.2.22-13.6.1
openSUSE 12.1 (src):    vim-plugins-7.2.22-11.6.1