Bugzilla – Bug 746971
vim-plugin-quilt breaks vim line history
Last modified: 2012-11-19 16:09:43 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.
I'm afraid I don't understand which behavior is changed/broken after installing the plugin. Could you please elaborate?
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.
Problem reported to its author, waiting for reply.
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.
Submitted to Factory as well.
This is an autogenerated message for OBS integration: This bug (746971) was mentioned in https://build.opensuse.org/request/show/140125 Factory / vim-plugins
I started an update for 12.1 and 12.2. Thanks for the submission.
(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).
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
Thanks for bringing this up. Fortunately the old update wasn't released yet and I'll add the new submission to the old one.
Fixed.
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