Hi

Values of 'cryptmethod' option were changed from 0 and 1
to zip and blowfish recently.  I see that Ex command :options
still mentions values 0 and 1.

Attached patch fixes it.

Patch also changes a few words from uppercase to lowercase
for consistency with most of the rest of the text.

I also see the following options are not present in runtime/optwin.vim:

- 'window'  (should probably be in runtime/optwin.vim)
- 'prompt'  (I don't understand this option from reading :help 'prompt')
- 'key'  (most certainly not in runtime/optwin.vim on purpose)

Regards
-- Dominique

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r 210a5605e126 runtime/optwin.vim
--- a/runtime/optwin.vim	Sat Jul 24 17:39:52 2010 +0200
+++ b/runtime/optwin.vim	Sat Jul 24 19:42:06 2010 +0200
@@ -271,7 +271,7 @@
 call <SID>BinOptionG("ic", &ic)
 call append("$", "smartcase\toverride 'ignorecase' when pattern has upper case characters")
 call <SID>BinOptionG("scs", &scs)
-call append("$", "casemap\tWhat method to use for changing case of letters")
+call append("$", "casemap\twhat method to use for changing case of letters")
 call <SID>OptionG("cmp", &cmp)
 call append("$", "maxmempattern\tmaximum amount of memory in Kbyte used for pattern matching")
 call append("$", " \tset mmp=" . &mmp)
@@ -313,7 +313,7 @@
   call <SID>BinOptionG("csverb", &csverb)
   call append("$", "cscopepathcomp\thow many components of the path to show")
   call append("$", " \tset cspc=" . &cspc)
-  call append("$", "cscopequickfix\tWhen to open a quickfix window for cscope")
+  call append("$", "cscopequickfix\twhen to open a quickfix window for cscope")
   call <SID>OptionG("csqf", &csqf)
 endif
 
@@ -597,7 +597,7 @@
     call append("$", "toolbar\t\"icons\", \"text\" and/or \"tooltips\"; how to show the toolbar")
     call <SID>OptionG("tb", &tb)
     if has("gui_gtk2")
-      call append("$", "toolbariconsize\tSize of toolbar icons")
+      call append("$", "toolbariconsize\tsize of toolbar icons")
       call <SID>OptionG("tbis", &tbis)
     endif
     call append("$", "guiheadroom\troom (in pixels) left above/below the window")
@@ -785,7 +785,7 @@
 call <SID>BinOptionG("top", &top)
 call append("$", "operatorfunc\tfunction called for the\"g...@\"  operator")
 call <SID>OptionG("opfunc", &opfunc)
-call append("$", "showmatch\tWhen inserting a bracket, briefly jump to its match")
+call append("$", "showmatch\twhen inserting a bracket, briefly jump to its match")
 call <SID>BinOptionG("sm", &sm)
 call append("$", "matchtime\ttenth of a second to show a match for 'showmatch'")
 call append("$", " \tset mat=" . &mat)
@@ -845,10 +845,10 @@
   call append("$", "\t(local to buffer)")
   call <SID>OptionL("indk")
 endif
-call append("$", "copyindent\tCopy whitespace for indenting from previous line")
+call append("$", "copyindent\tcopy whitespace for indenting from previous line")
 call append("$", "\t(local to buffer)")
 call <SID>BinOptionL("ci")
-call append("$", "preserveindent\tPreserve kind of whitespace when changing indent")
+call append("$", "preserveindent\tpreserve kind of whitespace when changing indent")
 call append("$", "\t(local to buffer)")
 call <SID>BinOptionL("pi")
 if has("lispindent")
@@ -945,7 +945,7 @@
 call append("$", "\t(local to buffer)")
 call <SID>BinOptionL("eol")
 if has("multi_byte")
-  call append("$", "bomb\tPrepend a Byte Order Mark to the file")
+  call append("$", "bomb\tprepend a Byte Order Mark to the file")
   call append("$", "\t(local to buffer)")
   call <SID>BinOptionL("bomb")
 endif
@@ -991,7 +991,7 @@
   call append("$", "\t(local to buffer)")
   call <SID>BinOptionL("sn")
 endif
-call append("$", "cryptmethod\tsimple (0) or complex (1) encryption method for file writing")
+call append("$", "cryptmethod\encryption method for file writing: zip or blowfish")
 call append("$", "\t(local to buffer)")
 call <SID>OptionL("cm")
 
@@ -1143,12 +1143,12 @@
   call append("$", "rightleft\tdisplay the buffer right-to-left")
   call append("$", "\t(local to window)")
   call <SID>BinOptionL("rl")
-  call append("$", "rightleftcmd\tWhen to edit the command-line right-to-left")
+  call append("$", "rightleftcmd\twhen to edit the command-line right-to-left")
   call append("$", "\t(local to window)")
   call <SID>OptionL("rlc")
-  call append("$", "revins\tInsert characters backwards")
+  call append("$", "revins\tinsert characters backwards")
   call <SID>BinOptionG("ri", &ri)
-  call append("$", "allowrevins\tAllow CTRL-_ in Insert and Command-line mode to toggle 'revins'")
+  call append("$", "allowrevins\tallow CTRL-_ in Insert and Command-line mode to toggle 'revins'")
   call <SID>BinOptionG("ari", &ari)
   call append("$", "aleph\tthe ASCII code for the first letter of the Hebrew alphabet")
   call append("$", " \tset al=" . &al)
@@ -1164,12 +1164,12 @@
   call <SID>BinOptionG("fk", &fk)
 endif
 if has("arabic")
-  call append("$", "arabic\tPrepare for editing Arabic text")
+  call append("$", "arabic\tprepare for editing Arabic text")
   call append("$", "\t(local to window)")
   call <SID>BinOptionL("arab")
-  call append("$", "arabicshape\tPerform shaping of Arabic characters")
+  call append("$", "arabicshape\tperform shaping of Arabic characters")
   call <SID>BinOptionG("arshape", &arshape)
-  call append("$", "termbidi\tTerminal will perform bidi handling")
+  call append("$", "termbidi\tterminal will perform bidi handling")
   call <SID>BinOptionG("tbidi", &tbidi)
 endif
 if has("keymap")
@@ -1210,15 +1210,15 @@
   call <SID>OptionG("tenc", &tenc)
   call append("$", "charconvert\texpression used for character encoding conversion")
   call <SID>OptionG("ccv", &ccv)
-  call append("$", "delcombine\tDelete combining (composing) characters on their own")
+  call append("$", "delcombine\tdelete combining (composing) characters on their own")
   call <SID>BinOptionG("deco", &deco)
-  call append("$", "maxcombine\tMaximum number of combining (composing) characters displayed")
+  call append("$", "maxcombine\tmaximum number of combining (composing) characters displayed")
   call <SID>OptionG("mco", &mco)
   if has("xim") && has("gui_gtk")
     call append("$", "imactivatekey\tkey that activates the X input method")
     call <SID>OptionG("imak", &imak)
   endif
-  call append("$", "ambiwidth\tWidth of ambiguous width characters")
+  call append("$", "ambiwidth\twidth of ambiguous width characters")
   call <SID>OptionG("ambw", &ambw)
 endif
 

Raspunde prin e-mail lui