home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.1.205 < prev    next >
Encoding:
Internet Message Format  |  2002-10-29  |  2.1 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.205
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.1.205
  11. Problem:    The gzip plugin changes the alternate file when editing a
  12.         compressed file. (Oliver Fuchs)
  13. Solution:   Temporarily remove the 'a' and 'A' flags from 'cpo'.
  14. Files:        runtime/plugin/gzip.vim
  15.  
  16.  
  17. *** ../vim61.204/runtime/plugin/gzip.vim    Thu Aug 22 20:30:17 2002
  18. --- runtime/plugin/gzip.vim    Tue Oct  1 19:28:58 2002
  19. ***************
  20. *** 1,6 ****
  21.   " Vim plugin for editing compressed files.
  22.   " Maintainer: Bram Moolenaar <Bram@vim.org>
  23. ! " Last Change: 2002 Aug 21
  24.   
  25.   " Exit quickly when:
  26.   " - this plugin was already loaded
  27. --- 1,6 ----
  28.   " Vim plugin for editing compressed files.
  29.   " Maintainer: Bram Moolenaar <Bram@vim.org>
  30. ! " Last Change: 2002 Oct 01
  31.   
  32.   " Exit quickly when:
  33.   " - this plugin was already loaded
  34. ***************
  35. *** 57,62 ****
  36. --- 57,65 ----
  37.     " make 'patchmode' empty, we don't want a copy of the written file
  38.     let pm_save = &pm
  39.     set pm=
  40. +   " remove 'a' and 'A' from 'cpo' to avoid the alternate file changes
  41. +   let cpo_save = &cpo
  42. +   set cpo-=a cpo-=A
  43.     " set 'modifiable'
  44.     let ma_save = &ma
  45.     setlocal ma
  46. ***************
  47. *** 84,89 ****
  48. --- 87,93 ----
  49.     silent! exe "bwipe " . tmp
  50.     silent! exe "bwipe " . tmpe
  51.     let &pm = pm_save
  52. +   let &cpo = cpo_save
  53.     let &l:ma = ma_save
  54.     " When uncompressed the whole buffer, do autocommands
  55.     if empty
  56. *** ../vim61.204/src/version.c    Mon Sep 30 22:29:09 2002
  57. --- src/version.c    Tue Oct  1 19:31:09 2002
  58. ***************
  59. *** 608,609 ****
  60. --- 608,611 ----
  61.   {   /* Add new patch number below this line */
  62. + /**/
  63. +     205,
  64.   /**/
  65.  
  66. -- 
  67. Momento mori, ergo carpe diem
  68.  
  69.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  70. ///          Creator of Vim - Vi IMproved -- http://www.vim.org          \\\
  71. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  72.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  73.