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 / old / 5.5.065 < prev    next >
Encoding:
Internet Message Format  |  1999-12-07  |  2.2 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 5.5.065
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.5.065
  8. Problem:    When dropping a file on Vim, the 'shellslash' option is not
  9.         effective. (Krishna)
  10. Solution:   Fix the slashes in the dropped file names according to
  11.         'shellslash'.
  12. Files:        src/ex_docmd.c, runtime/doc/options.txt
  13.  
  14.  
  15. *** ../vim-5.5.64/src/ex_docmd.c    Sun Dec  5 20:27:29 1999
  16. --- src/ex_docmd.c    Wed Dec  8 12:33:13 1999
  17. ***************
  18. *** 5973,5979 ****
  19. --- 5973,5984 ----
  20.   
  21.       for (i = 0; i < arg_file_count; ++i)
  22.       if (arg_files[i] != NULL)
  23. +     {
  24. + #ifdef BACKSLASH_IN_FILENAME
  25. +         slash_adjust(arg_files[i]);
  26. + #endif
  27.           (void)buflist_add(arg_files[i]);
  28. +     }
  29.   
  30.       /*
  31.        * Move to the first file.
  32. *** ../vim-5.5.64/runtime/doc/options.txt    Tue Dec  7 12:51:33 1999
  33. --- runtime/doc/options.txt    Wed Dec  8 12:42:35 1999
  34. ***************
  35. *** 1,4 ****
  36. ! *options.txt*   For Vim version 5.5.  Last change: 1999 Dec 07
  37.   
  38.   
  39.             VIM REFERENCE MANUAL    by Bram Moolenaar
  40. --- 1,4 ----
  41. ! *options.txt*   For Vim version 5.5.  Last change: 1999 Dec 08
  42.   
  43.   
  44.             VIM REFERENCE MANUAL    by Bram Moolenaar
  45. ***************
  46. *** 3048,3053 ****
  47. --- 3061,3069 ----
  48.       useful when a Unix-like shell is used instead of command.com or
  49.       cmd.exe.  Backward slashes can still be typed, but they are changed to
  50.       forward slashes by Vim.
  51. +     Note that setting or resetting this option has no effect for existing
  52. +     file names, thus this option needs to be set before opening any file
  53. +     for best results.  This might change in the future.
  54.   
  55.                           *'shelltype'* *'st'*
  56.   'shelltype' 'st'    number    (default 0)
  57. *** ../vim-5.5.64/src/version.c    Wed Dec  8 12:08:02 1999
  58. --- src/version.c    Wed Dec  8 12:47:44 1999
  59. ***************
  60. *** 420,420 ****
  61. --- 420,421 ----
  62.   {   /* Add new patch number below this line */
  63. +     65,
  64.  
  65. -- 
  66. GALAHAD: No, please.  Please! I can defeat them!  There's only a hundred.
  67. GIRLS:   He will beat us easily.  We haven't a chance.
  68.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  69.  
  70. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  71.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  72.