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.092 < prev    next >
Encoding:
Internet Message Format  |  2001-11-05  |  3.0 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.092
  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.092
  11. Problem:    The explorer plugin doesn't ignore case of 'suffixes' on
  12.             MS-Windows. (Mike Williams)
  13. Solution:   Match or ignore case as appropriate for the OS.
  14. Files:      runtime/plugin/explorer.vim
  15.  
  16.  
  17. *** ../vim60.91/runtime/plugin/explorer.vim    Wed Sep 26 10:49:58 2001
  18. --- runtime/plugin/explorer.vim    Tue Nov  6 14:08:54 2001
  19. ***************
  20. *** 323,329 ****
  21.     nnoremap <buffer> i    :call <SID>ToggleLongList()<cr>
  22.     nnoremap <buffer> s    :call <SID>SortSelect()<cr>
  23.     nnoremap <buffer> r    :call <SID>SortReverse()<cr>
  24. !   nnoremap <buffer> c    :exec ("cd ".b:completePathEsc)<cr>
  25.     nnoremap <buffer> <2-leftmouse> :call <SID>DoubleClick()<cr>
  26.     let &cpo = cpo_save
  27.   
  28. --- 323,329 ----
  29.     nnoremap <buffer> i    :call <SID>ToggleLongList()<cr>
  30.     nnoremap <buffer> s    :call <SID>SortSelect()<cr>
  31.     nnoremap <buffer> r    :call <SID>SortReverse()<cr>
  32. !   nnoremap <buffer> c    :exec "cd ".b:completePathEsc<cr>
  33.     nnoremap <buffer> <2-leftmouse> :call <SID>DoubleClick()<cr>
  34.     let &cpo = cpo_save
  35.   
  36. ***************
  37. *** 536,541 ****
  38. --- 536,548 ----
  39.   function! s:SetSuffixesLast()
  40.     let b:suffixesRegexp = '\(' . substitute(escape(&suffixes,s:escregexp),',','\\|','g') . '\)$'
  41.     let b:suffixesHighlight = '^[^"].*\(' . substitute(escape(&suffixes,s:escregexp),',','\\|','g') . '\)\( \|$\)'
  42. +   if has("fname_case")
  43. +     let b:suffixesRegexp = '\C' . b:suffixesRegexp
  44. +     let b:suffixesHighlight = '\C' . b:suffixesHighlight
  45. +   else
  46. +     let b:suffixesRegexp = '\c' . b:suffixesRegexp
  47. +     let b:suffixesHighlight = '\c' . b:suffixesHighlight
  48. +   endif
  49.     if g:explSuffixesLast > 0 && &suffixes != ""
  50.       let b:suffixeslast=" (" . &suffixes . " at end of list)"
  51.     elseif g:explSuffixesLast < 0 && &suffixes != ""
  52. ***************
  53. *** 943,951 ****
  54.   function! s:GetSection()
  55.     let fn=s:GetFileName()
  56.     let section="file"
  57. !   if (fn =~ '/$')
  58.       let section="directory"
  59. !   elseif (fn =~ b:suffixesRegexp)
  60.       let section="suffixes"
  61.     endif
  62.     return section
  63. --- 950,958 ----
  64.   function! s:GetSection()
  65.     let fn=s:GetFileName()
  66.     let section="file"
  67. !   if fn =~ '/$'
  68.       let section="directory"
  69. !   elseif fn =~ b:suffixesRegexp
  70.       let section="suffixes"
  71.     endif
  72.     return section
  73. *** ../vim60.91/src/version.c    Tue Nov  6 21:57:04 2001
  74. --- src/version.c    Tue Nov  6 22:00:50 2001
  75. ***************
  76. *** 608,609 ****
  77. --- 608,611 ----
  78.   {   /* Add new patch number below this line */
  79. + /**/
  80. +     92,
  81.   /**/
  82.  
  83. -- 
  84. How To Keep A Healthy Level Of Insanity:
  85. 5. Put decaf in the coffee maker for 3 weeks. Once everyone has gotten
  86.    over their caffeine addictions, switch to expresso.
  87.  
  88.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  89. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  90.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  91.