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.164 < prev    next >
Encoding:
Internet Message Format  |  2002-11-04  |  2.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.164
  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.164
  11. Problem:    If 'modifiable' is off, converting to xxd fails and 'filetype' is
  12.         changed to "xxd" anyway.
  13. Solution:   Don't change 'filetype' when conversion failed.
  14. Files:        runtime/menu.vim
  15.  
  16.  
  17. *** ../vim61.163/runtime/menu.vim    Mon Aug 12 20:57:48 2002
  18. --- runtime/menu.vim    Fri Aug 23 21:39:58 2002
  19. ***************
  20. *** 2,8 ****
  21.   " You can also use this as a start for your own set of menus.
  22.   "
  23.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  24. ! " Last Change:    2002 Aug 12
  25.   
  26.   " Note that ":an" (short for ":anoremenu") is often used to make a menu work
  27.   " in all modes and avoid side effects from mappings defined by the user.
  28. --- 2,8 ----
  29.   " You can also use this as a start for your own set of menus.
  30.   "
  31.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  32. ! " Last Change:    2002 Aug 23
  33.   
  34.   " Note that ":an" (short for ":anoremenu") is often used to make a menu work
  35.   " in all modes and avoid side effects from mappings defined by the user.
  36. ***************
  37. *** 448,454 ****
  38.       call s:XxdFind()
  39.       exe '%!"' . g:xxdprogram . '"'
  40.     endif
  41. !   set ft=xxd
  42.     let &mod = mod
  43.   endfun
  44.   
  45. --- 448,456 ----
  46.       call s:XxdFind()
  47.       exe '%!"' . g:xxdprogram . '"'
  48.     endif
  49. !   if getline(1) =~ "^0000000:"        " only if it worked
  50. !     set ft=xxd
  51. !   endif
  52.     let &mod = mod
  53.   endfun
  54.   
  55. *** ../vim61.163/src/version.c    Thu Aug 22 21:41:19 2002
  56. --- src/version.c    Sat Aug 24 23:18:31 2002
  57. ***************
  58. *** 608,609 ****
  59. --- 608,611 ----
  60.   {   /* Add new patch number below this line */
  61. + /**/
  62. +     164,
  63.   /**/
  64.  
  65. -- 
  66.        He was not in the least bit scared to be mashed into a pulp
  67.        Or to have his eyes gouged out and his elbows broken;
  68.        To have his kneecaps split and his body burned away
  69.        And his limbs all hacked and mangled, brave Sir Robin.
  70.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  71.  
  72.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  73. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  74. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  75.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  76.