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.013 < prev    next >
Encoding:
Internet Message Format  |  2002-04-08  |  3.0 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.013
  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.013
  11. Problem:    Win32: The default for 'printexpr' doesn't work when there are
  12.         special characters in 'printdevice'.
  13. Solution:   Add double quotes around the device name. (Mike Williams)
  14. Files:        runtime/doc/option.txt, src/option.c
  15.  
  16.  
  17. *** ../vim61.012/runtime/doc/options.txt    Fri Mar 22 21:18:37 2002
  18. --- runtime/doc/options.txt    Tue Apr  9 21:30:44 2002
  19. ***************
  20. *** 1,4 ****
  21. ! *options.txt*   For Vim version 6.1.  Last change: 2002 Mar 06
  22.   
  23.   
  24.             VIM REFERENCE MANUAL    by Bram Moolenaar
  25. --- 1,4 ----
  26. ! *options.txt*   For Vim version 6.1.  Last change: 2002 Apr 09
  27.   
  28.   
  29.             VIM REFERENCE MANUAL    by Bram Moolenaar
  30. ***************
  31. *** 4095,4101 ****
  32.       On MS-Windows machines the default is to copy the file to the
  33.       currently specified printdevice: >
  34.   
  35. !         system('copy' . ' ' . v:fname_in . ' ' &printdevice)
  36.               . delete(v:fname_in)
  37.   <
  38.       On VMS machines the default is to send the file to either the default
  39. --- 4095,4101 ----
  40.       On MS-Windows machines the default is to copy the file to the
  41.       currently specified printdevice: >
  42.   
  43. !         system('copy' . ' ' . v:fname_in . ' "' . &printdevice . '"')
  44.               . delete(v:fname_in)
  45.   <
  46.       On VMS machines the default is to send the file to either the default
  47. *** ../vim61.012/src/option.c    Sat Mar 30 20:03:55 2002
  48. --- src/option.c    Tue Apr  9 21:30:01 2002
  49. ***************
  50. *** 2512,2518 ****
  51.       /* 'printexpr' must be allocated to be able to evaluate it. */
  52.       set_string_default("pexpr",
  53.   # ifdef MSWIN
  54. !         (char_u *)"system('copy' . ' ' . v:fname_in . ' ' . &printdevice) . delete(v:fname_in)"
  55.   # else
  56.   #  ifdef VMS
  57.           (char_u *)"system('print/delete' . (&printdevice == '' ? '' : ' /queue=' . &printdevice) . ' ' . v:fname_in)"
  58. --- 2512,2518 ----
  59.       /* 'printexpr' must be allocated to be able to evaluate it. */
  60.       set_string_default("pexpr",
  61.   # ifdef MSWIN
  62. !         (char_u *)"system('copy' . ' ' . v:fname_in . ' \"' . &printdevice . '\"') . delete(v:fname_in)"
  63.   # else
  64.   #  ifdef VMS
  65.           (char_u *)"system('print/delete' . (&printdevice == '' ? '' : ' /queue=' . &printdevice) . ' ' . v:fname_in)"
  66. *** ../vim61.012/src/version.c    Tue Apr  9 20:17:54 2002
  67. --- src/version.c    Tue Apr  9 21:31:50 2002
  68. ***************
  69. *** 608,609 ****
  70. --- 608,611 ----
  71.   {   /* Add new patch number below this line */
  72. + /**/
  73. +     13,
  74.   /**/
  75.  
  76. -- 
  77. hundred-and-one symptoms of being an internet addict:
  78. 115. You are late picking up your kid from school and try to explain
  79.      to the teacher you were stuck in Web traffic.
  80.  
  81.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  82. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  83. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  84.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  85.