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.0.112 < prev    next >
Encoding:
Internet Message Format  |  2001-12-30  |  2.2 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.112
  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.0.112
  11. Problem:    The explorer plugin doesn't sort directories with a space or
  12.         special character after a directory with a shorter name.
  13. Solution:   Ignore the trailing slash when comparing directory names.  (Mike
  14.         Williams)
  15. Files:        runtime/plugin/explorer.vim
  16.  
  17.  
  18. *** ../vim60.111/runtime/plugin/explorer.vim    Tue Nov  6 22:02:12 2001
  19. --- runtime/plugin/explorer.vim    Wed Nov  7 19:05:46 2001
  20. ***************
  21. *** 1024,1030 ****
  22.     elseif (g:explSuffixesLast != 0) && (f1 !~ b:suffixesRegexp) && (f2 =~ b:suffixesRegexp)
  23.       return -g:explSuffixesLast
  24.     else
  25. !     return s:StrCmp(f1,f2,a:direction)
  26.     endif
  27.   
  28.   endfunction
  29. --- 1024,1030 ----
  30.     elseif (g:explSuffixesLast != 0) && (f1 !~ b:suffixesRegexp) && (f2 =~ b:suffixesRegexp)
  31.       return -g:explSuffixesLast
  32.     else
  33. !     return s:StrCmp(substitute(f1, "/$", "", ""), substitute(f2, "/$", "", ""), a:direction)
  34.     endif
  35.   
  36.   endfunction
  37. ***************
  38. *** 1054,1060 ****
  39.     elseif t1 < t2
  40.       return a:direction
  41.     else
  42. !     return s:StrCmp(f1,f2,1)
  43.     endif
  44.   endfunction
  45.   
  46. --- 1054,1060 ----
  47.     elseif t1 < t2
  48.       return a:direction
  49.     else
  50. !     return s:StrCmp(substitute(f1, "/$", "", ""), substitute(f2, "/$", "", ""), 1)
  51.     endif
  52.   endfunction
  53.   
  54. ***************
  55. *** 1082,1088 ****
  56.     elseif s1 < s2
  57.       return a:direction
  58.     else
  59. !     return s:StrCmp(f1,f2,1)
  60.     endif
  61.   endfunction
  62.   
  63. --- 1082,1088 ----
  64.     elseif s1 < s2
  65.       return a:direction
  66.     else
  67. !     return s:StrCmp(substitute(f1, "/$", "", ""), substitute(f2, "/$", "", ""), 1)
  68.     endif
  69.   endfunction
  70.   
  71. *** ../vim60.111/src/version.c    Mon Dec 31 16:39:26 2001
  72. --- src/version.c    Mon Dec 31 16:46:48 2001
  73. ***************
  74. *** 608,609 ****
  75. --- 608,611 ----
  76.   {   /* Add new patch number below this line */
  77. + /**/
  78. +     112,
  79.   /**/
  80.  
  81. -- 
  82. press CTRL-ALT-DEL for more information
  83.  
  84.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  85. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  86.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  87.