Bug#309928: vim-common: gzip files are uncompressed after :w

jamessan@jamessan.com, 309928@bugs.debian.org jamessan@jamessan.com, 309928@bugs.debian.org
Fri, 20 May 2005 11:32:04 -0400


--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

tags 309928 fixed pending
thanks

On Sat, May 21, 2005 at 02:51:33AM +1200, Carlos Z.F. Liu wrote:
> I have a text file with gzip compression. After I open it by vim, and
> edit a bit, and ":w" it, vim show following error msg:
>
> Error detected while processing function <SNR>14_write:
> line    7:
> E121: Undefined variable: b:compression
> E116: Invalid arguments for function system(a:cmd . " " . b:compression
> .. " " . nmt)
>
> And then, the file will be saved as a plain text file, aka uncompressed.

After talking with Bram, I've applied an updated version of the gzip.vim
patch.  This will be fixed in the next deb.

James
--
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@jamessan.com>

--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iEYEARECAAYFAkKOAvQACgkQDb3UpmEybUBzYwCdGiBgRZ71QCr4kXleIFBj9Wa3
yoYAn2BLpYbnCAiSEWtPTArO5Ige11hI
=lcS8
-----END PGP SIGNATURE-----

--5mCyUwZo2JvN/JJP--