To: [email protected]
Subject: Patch 5.6a.017
Fcc: outbox
From: Bram Moolenaar <[email protected]>
------------

Patch 5.6a.017
Problem:    The "Paste" entry in popup menu for Visual, Insert and Cmdline
           mode is in the wrong position. (Stol)
Solution:   Add priority numbers for all Paste menu entries.
Files:      runtime/menu.vim


*** ../vim-5.6a.16/runtime/menu.vim     Mon Dec 27 15:24:41 1999
--- runtime/menu.vim    Wed Jan  5 10:39:23 2000
***************
*** 3,9 ****
 " Note that ":amenu" is often used to make a menu work in all modes.
 "
 " Maintainer: Bram Moolenaar <[email protected]>
! " Last change:        1999 Dec 27

 " Make sure the '<' and 'C' flags are not included in 'cpoptions', otherwise
 " <CR> would not be recognized.  See ":help 'cpoptions'".
--- 3,9 ----
 " Note that ":amenu" is often used to make a menu work in all modes.
 "
 " Maintainer: Bram Moolenaar <[email protected]>
! " Last change:        2000 Jan 02

 " Make sure the '<' and 'C' flags are not included in 'cpoptions', otherwise
 " <CR> would not be recognized.  See ":help 'cpoptions'".
***************
*** 289,297 ****
 vmenu 1.20 PopUp.Cu&t         "*x
 vmenu 1.30 PopUp.&Copy                "*y
 nmenu 1.40 PopUp.&Paste               "*P`]:if col(".")!=1<Bar>exe "norm l"<Bar>endif<CR>
! vmenu      PopUp.&Paste               "-x"*P`]
! imenu      PopUp.&Paste               <Esc>:if col(".")!=1<Bar>exe 'norm "*p'<Bar>else<Bar>exe 'norm "*P'<Bar>endif<CR>`]a
! cmenu      PopUp.&Paste               <C-R>*
 vmenu 1.50 PopUp.&Delete      x
 amenu 1.55 PopUp.-SEP2-               :
 vmenu 1.60 PopUp.Select\ Blockwise <C-V>
--- 289,297 ----
 vmenu 1.20 PopUp.Cu&t         "*x
 vmenu 1.30 PopUp.&Copy                "*y
 nmenu 1.40 PopUp.&Paste               "*P`]:if col(".")!=1<Bar>exe "norm l"<Bar>endif<CR>
! vmenu 1.40 PopUp.&Paste               "-x"*P`]
! imenu 1.40 PopUp.&Paste               <Esc>:if col(".")!=1<Bar>exe 'norm "*p'<Bar>else<Bar>exe 'norm "*P'<Bar>endif<CR>`]a
! cmenu 1.40 PopUp.&Paste               <C-R>*
 vmenu 1.50 PopUp.&Delete      x
 amenu 1.55 PopUp.-SEP2-               :
 vmenu 1.60 PopUp.Select\ Blockwise <C-V>
*** ../vim-5.6a.16/src/version.c        Thu Dec 30 10:18:56 1999
--- src/version.c       Wed Jan  5 12:31:32 2000
***************
*** 420,421 ****
--- 420,423 ----
 {   /* Add new patch number below this line */
+ /**/
+     17,
 /**/

--
hundred-and-one symptoms of being an internet addict:
38. You wake up at 3 a.m. to go to the bathroom and stop and check your e-mail
   on the way back to bed.

--/-/---- Bram Moolenaar ---- [email protected] ---- [email protected] ---\-\--
 \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /