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.2.512 < prev    next >
Encoding:
Internet Message Format  |  2004-04-27  |  3.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.512
  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.2.512
  11. Problem:    Translating "\"\n" is useless. (Gerfried Fuchs)
  12. Solution:   Remove the _() around it.
  13. Files:        src/main.c, src/memline.c
  14.  
  15.  
  16. *** ../vim-6.2.511/src/main.c    Mon Apr 19 20:26:43 2004
  17. --- src/main.c    Wed Apr 28 11:00:12 2004
  18. ***************
  19. *** 933,946 ****
  20.               mch_errmsg(argv[-1]);
  21.               mch_errmsg(" ");
  22.               mch_errmsg(argv[0]);
  23. !             mch_errmsg(_("\"\n"));
  24.               mch_exit(2);
  25.               }
  26.               if ((scriptin[0] = mch_fopen(argv[0], READBIN)) == NULL)
  27.               {
  28.               mch_errmsg(_("Cannot open for reading: \""));
  29.               mch_errmsg(argv[0]);
  30. !             mch_errmsg(_("\"\n"));
  31.               mch_exit(2);
  32.               }
  33.               if (save_typebuf() == FAIL)
  34. --- 933,946 ----
  35.               mch_errmsg(argv[-1]);
  36.               mch_errmsg(" ");
  37.               mch_errmsg(argv[0]);
  38. !             mch_errmsg("\"\n");
  39.               mch_exit(2);
  40.               }
  41.               if ((scriptin[0] = mch_fopen(argv[0], READBIN)) == NULL)
  42.               {
  43.               mch_errmsg(_("Cannot open for reading: \""));
  44.               mch_errmsg(argv[0]);
  45. !             mch_errmsg("\"\n");
  46.               mch_exit(2);
  47.               }
  48.               if (save_typebuf() == FAIL)
  49. ***************
  50. *** 984,990 ****
  51.               {
  52.               mch_errmsg(_("Cannot open for script output: \""));
  53.               mch_errmsg(argv[0]);
  54. !             mch_errmsg(_("\"\n"));
  55.               mch_exit(2);
  56.               }
  57.               break;
  58. --- 984,990 ----
  59.               {
  60.               mch_errmsg(_("Cannot open for script output: \""));
  61.               mch_errmsg(argv[0]);
  62. !             mch_errmsg("\"\n");
  63.               mch_exit(2);
  64.               }
  65.               break;
  66. *** ../vim-6.2.511/src/memline.c    Tue Apr 20 20:15:33 2004
  67. --- src/memline.c    Tue Apr 20 20:10:50 2004
  68. ***************
  69. *** 3674,3684 ****
  70.               (void)EMSG(_("E325: ATTENTION"));
  71.               MSG_PUTS(_("\nFound a swap file by the name \""));
  72.               msg_home_replace(fname);
  73. !             MSG_PUTS(_("\"\n"));
  74.               sx = swapfile_info(fname);
  75.               MSG_PUTS(_("While opening file \""));
  76.               msg_outtrans(buf->b_fname);
  77. !             MSG_PUTS(_("\"\n"));
  78.               if (mch_stat((char *)buf->b_fname, &st) != -1)
  79.               {
  80.               MSG_PUTS(_("             dated: "));
  81. --- 3674,3684 ----
  82.               (void)EMSG(_("E325: ATTENTION"));
  83.               MSG_PUTS(_("\nFound a swap file by the name \""));
  84.               msg_home_replace(fname);
  85. !             MSG_PUTS("\"\n");
  86.               sx = swapfile_info(fname);
  87.               MSG_PUTS(_("While opening file \""));
  88.               msg_outtrans(buf->b_fname);
  89. !             MSG_PUTS("\"\n");
  90.               if (mch_stat((char *)buf->b_fname, &st) != -1)
  91.               {
  92.               MSG_PUTS(_("             dated: "));
  93. *** ../vim-6.2.511/src/version.c    Wed Apr 28 17:04:28 2004
  94. --- src/version.c    Wed Apr 28 17:36:56 2004
  95. ***************
  96. *** 639,640 ****
  97. --- 639,642 ----
  98.   {   /* Add new patch number below this line */
  99. + /**/
  100. +     512,
  101.   /**/
  102.  
  103. -- 
  104. "Oh, no!  NOT the Spanish Inquisition!"
  105. "NOBODY expects the Spanish Inquisition!!!"
  106.                 -- Monty Python sketch --
  107. "Oh, no!  NOT another option!"
  108. "EVERYBODY expects another option!!!"
  109.                 -- Discussion in vim-dev mailing list --
  110.  
  111.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  112. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  113. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  114.  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
  115.