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.4.5 < prev    next >
Encoding:
Internet Message Format  |  1999-07-28  |  3.7 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 5.4.5
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Since I didn't hear a good solution for this problem, I'll just disable
  8. removing menus in the Athena version.  It is not a nice solution, but at least
  9. it avoids crashing.  Just make sure you only add the right menus!
  10.  
  11.  
  12. Patch 5.4.5
  13. Problem:    Athena GUI: Using the Buffers.Refresh menu entry caused a crash.
  14.         Looks like any ":unmenu" command may cause trouble.
  15. Solution:   Disallow ":unmenu" in the Athena version.  Disable the Buffers
  16.         menu, because the Refresh item would not work.
  17. Files:        src/menu.c, runtime/menu.vim
  18.  
  19.  
  20. *** ../vim-5.4/src/menu.c    Sun Jul 25 22:02:13 1999
  21. --- src/menu.c    Tue Jul 27 18:45:54 1999
  22. ***************
  23. *** 555,560 ****
  24. --- 555,568 ----
  25.           if (*name != NUL)
  26.           break;
  27.   
  28. + #ifdef USE_GUI_ATHENA
  29. +         if (((menu->modes & ~modes) & MENU_ALL_MODES) == 0)
  30. +         {
  31. +         EMSG("Sorry, deleting a menu is not possible in the Athena version");
  32. +         return FAIL;
  33. +         }
  34. + #endif
  35.           /* Remove the menu item for the given mode[s].  If the menu item
  36.            * is no longer valid in ANY mode, delete it */
  37.           menu->modes &= ~modes;
  38. *** ../vim-5.4/runtime/menu.vim    Sun Jul 25 22:02:47 1999
  39. --- runtime/menu.vim    Tue Jul 27 18:49:16 1999
  40. ***************
  41. *** 3,9 ****
  42.   " Note that ":amenu" is often used to make a menu work in all modes.
  43.   "
  44.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  45. ! " Last change:    1999 Jul 20
  46.   
  47.   " Make sure the '<' flag is not included in 'cpoptions', otherwise <CR> would
  48.   " not be recognized.  See ":help 'cpoptions'".
  49. --- 3,9 ----
  50.   " Note that ":amenu" is often used to make a menu work in all modes.
  51.   "
  52.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  53. ! " Last change:    1999 Jul 27
  54.   
  55.   " Make sure the '<' flag is not included in 'cpoptions', otherwise <CR> would
  56.   " not be recognized.  See ":help 'cpoptions'".
  57. ***************
  58. *** 100,105 ****
  59. --- 100,110 ----
  60.   amenu 40.390 &Tools.&Older\ List        :colder<CR>
  61.   amenu 40.400 &Tools.N&ewer\ List        :cnewer<CR>
  62.   
  63. + " Can't delete a menu in Athena version
  64. + if has("gui_athena")
  65. +   let no_buffers_menu = 1
  66. + endif
  67.   
  68.   if !exists("no_buffers_menu")
  69.   
  70. *** /tmp/version.h    Thu Jul 29 11:38:28 1999
  71. --- src/version.h    Thu Jul 29 11:38:47 1999
  72. ***************
  73. *** 19,26 ****
  74.   #define VIM_VERSION_MINOR_STR        "4"
  75.   #define VIM_VERSION_BUILD         57
  76.   #define VIM_VERSION_BUILD_STR        "57"
  77. ! #define VIM_VERSION_PATCHLEVEL         4
  78. ! #define VIM_VERSION_PATCHLEVEL_STR    "4"
  79.   
  80.   /*
  81.    * VIM_VERSION_NODOT is used for the runtime directory name.
  82. --- 19,26 ----
  83.   #define VIM_VERSION_MINOR_STR        "4"
  84.   #define VIM_VERSION_BUILD         57
  85.   #define VIM_VERSION_BUILD_STR        "57"
  86. ! #define VIM_VERSION_PATCHLEVEL         5
  87. ! #define VIM_VERSION_PATCHLEVEL_STR    "5"
  88.   
  89.   /*
  90.    * VIM_VERSION_NODOT is used for the runtime directory name.
  91. ***************
  92. *** 30,35 ****
  93.    */
  94.   #define VIM_VERSION_NODOT    "vim54"
  95.   #define VIM_VERSION_SHORT    "5.4"
  96. ! #define VIM_VERSION_MEDIUM    "5.4.4"
  97. ! #define VIM_VERSION_LONG    "VIM - Vi IMproved 5.4.4 (1999 Jul 29)"
  98. ! #define VIM_VERSION_LONG_DATE    "VIM - Vi IMproved 5.4.4 (1999 Jul 29, compiled "
  99. --- 30,35 ----
  100.    */
  101.   #define VIM_VERSION_NODOT    "vim54"
  102.   #define VIM_VERSION_SHORT    "5.4"
  103. ! #define VIM_VERSION_MEDIUM    "5.4.5"
  104. ! #define VIM_VERSION_LONG    "VIM - Vi IMproved 5.4.5 (1999 Jul 29)"
  105. ! #define VIM_VERSION_LONG_DATE    "VIM - Vi IMproved 5.4.5 (1999 Jul 29, compiled "
  106.  
  107. --
  108. DEAD PERSON:  I don't want to go in the cart!
  109. CUSTOMER:     Oh, don't be such a baby.
  110. MORTICIAN:    I can't take him...
  111. DEAD PERSON:  I feel fine!
  112. CUSTOMER:     Oh, do us a favor...
  113. MORTICIAN:    I can't.
  114.                                   The Quest for the Holy Grail (Monty Python)
  115.  
  116. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  117.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  118.