• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revision903088c7a7c61b7f30d35c8a184d90b7af4a44e6 (tree)
Time2006-02-05 07:45:44
Authorvimboss
Commitervimboss

Log Message

updated for version 7.0193

Change Summary

Incremental Difference

diff -r b112ec5c73f0 -r 903088c7a7c6 runtime/doc/quickfix.txt
--- a/runtime/doc/quickfix.txt Sat Feb 04 22:43:20 2006 +0000
+++ b/runtime/doc/quickfix.txt Sat Feb 04 22:45:44 2006 +0000
@@ -1,4 +1,4 @@
1-*quickfix.txt* For Vim version 7.0aa. Last change: 2006 Jan 30
1+*quickfix.txt* For Vim version 7.0aa. Last change: 2006 Feb 04
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -189,6 +189,17 @@
189189 :lb[uffer] [bufnr] Same as ":cbuffer", except the location list for the
190190 current window is used instead of the quickfix list.
191191
192+ *:caddb* *:caddbuffer*
193+:caddb[uffer] [bufnr] Read the error list from the current buffer and add
194+ the errors to the current quickfix list. If a
195+ quickfix list is not present, then a new list is
196+ created. Otherwise, same as ":cbuffer".
197+
198+ *:laddb* *:laddbuffer*
199+:laddb[uffer] [bufnr] Same as ":caddbuffer", except the location list for
200+ the current window is used instead of the quickfix
201+ list.
202+
192203 *:cex* *:cexpr* *E777*
193204 :cex[pr][!] {expr} Create a quickfix list using the result of {expr} and
194205 jump to the first error. If {expr} is a String, then
@@ -412,6 +423,11 @@
412423 This command does not accept a comment, any "
413424 characters are considered part of the arguments.
414425
426+ *:lmak* *:lmake*
427+:lmak[e][!] [arguments]
428+ Same as ":make", except the location list for the
429+ current window is used instead of the quickfix list.
430+
415431 The ":make" command executes the command given with the 'makeprg' option.
416432 This is done by passing the command to the shell given with the 'shell'
417433 option. This works almost like typing
@@ -503,6 +519,12 @@
503519 Example: >
504520 :vimgrep Error *.c
505521 <
522+ *:lv* *:lvimgrep*
523+:lv[imgrep][!] /{pattern}/[g][j] {file} ...
524+:lv[imgrep][!] {pattern} {file} ...
525+ Same as ":vimgrep", except the location list for the
526+ current window is used instead of the quickfix list.
527+
506528 *:vimgrepa* *:vimgrepadd*
507529 :vimgrepa[dd][!] /{pattern}/[g][j] {file} ...
508530 :vimgrepa[dd][!] {pattern} {file} ...
@@ -510,6 +532,12 @@
510532 of errors the matches are appended to the current
511533 list.
512534
535+ *:lvimgrepa* *:lvimgrepadd*
536+:lvimgrepa[dd][!] /{pattern}/[g][j] {file} ...
537+:lvimgrepa[dd][!] {pattern} {file} ...
538+ Same as ":vimgrepadd", except the location list for
539+ the current window is used instead of the quickfix
540+ list.
513541
514542 5.2 External grep
515543
@@ -525,6 +553,11 @@
525553 When 'grepprg' is "internal" this works like
526554 |:vimgrep|. Note that the pattern needs to be
527555 enclosed in separator characters then.
556+
557+ *:lgr* *:lgrep*
558+:lgr[ep][!] [arguments] Same as ":grep", except the location list for the
559+ current window is used instead of the quickfix list.
560+
528561 *:grepa* *:grepadd*
529562 :grepa[dd][!] [arguments]
530563 Just like ":grep", but instead of making a new list of
@@ -538,6 +571,11 @@
538571 ":grepadd" jumps to the first error, which is not
539572 allowed with |:bufdo|.
540573
574+ *:lgrepa* *:lgrepadd*
575+:lgrepa[dd][!] [arguments]
576+ Same as ":grepadd", except the location list for the
577+ current window is used instead of the quickfix list.
578+
541579 5.3 Setting up external grep
542580
543581 If you have a standard "grep" program installed, the :grep command may work
diff -r b112ec5c73f0 -r 903088c7a7c6 runtime/doc/todo.txt
--- a/runtime/doc/todo.txt Sat Feb 04 22:43:20 2006 +0000
+++ b/runtime/doc/todo.txt Sat Feb 04 22:45:44 2006 +0000
@@ -1,4 +1,4 @@
1-*todo.txt* For Vim version 7.0aa. Last change: 2006 Feb 03
1+*todo.txt* For Vim version 7.0aa. Last change: 2006 Feb 04
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -32,9 +32,6 @@
3232
3333 Variant of ":helpgrep" that uses a location list? How about:
3434 :lhelpgrep (use local list in help window, not current window)
35- :lgrep
36- :lvimgrep
37- :lmake
3835
3936 ccomplete / omnicomplete:
4037 - Extra info for each entry to show in a tooltip kind of thing.
@@ -46,11 +43,6 @@
4643 v = variable, f = function/method, c = composite (object,
4744 struct pointer).
4845 For C add tag "kind" field?
49-- When an option is set: In completion mode and the user types (identifier)
50- characters, advance to the first match instead of removing the popup menu.
51- If there is no match remove the selection. (Yegappan Lakshmanan)
52- Keep the current list of all matches. Use the text typed (or completed) so
53- far to make a second list with only matching entries.
5446 - Complete the longest common match instead of the first match?
5547 Do this when "longest" is in 'completeopt'.
5648 Pressing CTRL-N or CTRL-P will get the whole match, as before.
@@ -289,6 +281,8 @@
289281 Need to be able to search the windows in inactive tabs, e.g. for the
290282 quickfix window.
291283 Use "1gt" - "99gt" to switch to a tab?
284+ Also hidden tabs? Useful for messing with a temp buffer without changing
285+ the window layout.
292286 - EMBEDDING: Make it possible to run Vim inside a window of another program.
293287 For Xwindows this can be done with XReparentWindow().
294288 For GTK Neil Bird has a patch to use Vim like a widget.
diff -r b112ec5c73f0 -r 903088c7a7c6 runtime/doc/version7.txt
--- a/runtime/doc/version7.txt Sat Feb 04 22:43:20 2006 +0000
+++ b/runtime/doc/version7.txt Sat Feb 04 22:45:44 2006 +0000
@@ -1,4 +1,4 @@
1-*version7.txt* For Vim version 7.0aa. Last change: 2006 Feb 02
1+*version7.txt* For Vim version 7.0aa. Last change: 2006 Feb 04
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -357,6 +357,7 @@
357357
358358 See |:map-operator| for the explanation and an example.
359359
360+
360361 Location list *new-location-list*
361362 -------------
362363
@@ -364,6 +365,8 @@
364365 location list can be displayed in a location window (similar to the quickfix
365366 window). You can open more than one location list window. A set of commands
366367 similar to the quickfix commands are added to browse the location list.
368+(Yegappan Lakshmanan)
369+
367370
368371 Various new items *new-items-7*
369372 -----------------
@@ -448,8 +451,16 @@
448451
449452 |:caddexpr| Add error messages from a Vim expression to an
450453 existing quickfix list. (Yegappan Lakshmanan).
454+|:caddbuffer| Add errors from the current buffer to the quickfix
455+ list.
451456
452457 |:ltag| Jump to a tag and add matching tags to a location list.
458+|:lmake| Like |:make| but use the location list.
459+|:lgrep| Like |:grep| but use the location list.
460+|:lgrepadd| Like |:grepadd| but use the location list.
461+|:lvimgrep| Like |:vimgrep| but use the location list.
462+|:lvimgrepadd| Like |:vimgrepadd| but use the location list.
463+|:laddbuffer| Like |:caddbuffer| but use the location list.
453464
454465
455466 Ex command modifiers: ~
diff -r b112ec5c73f0 -r 903088c7a7c6 runtime/lang/menu_ja_jp.utf-8.vim
--- a/runtime/lang/menu_ja_jp.utf-8.vim Sat Feb 04 22:43:20 2006 +0000
+++ b/runtime/lang/menu_ja_jp.utf-8.vim Sat Feb 04 22:45:44 2006 +0000
@@ -2,7 +2,7 @@
22 "
33 " Menu Translations: Japanese (UTF-8)
44 " Translated By: MURAOKA Taro <koron@tka.att.ne.jp>
5-" Last Change: 29-Apr-2004.
5+" Last Change: 04-Feb-2006.
66
77 " Quit when menu translations have already been done.
88 if exists("did_menu_trans")
@@ -142,7 +142,23 @@
142142 menutrans &Close<Tab>:cclose 閉じる(&C)<Tab>:cclose
143143 menutrans &Convert\ to\ HEX<Tab>:%!xxd HEXへ変換(&C)<Tab>:%!xxd
144144 menutrans Conve&rt\ back<Tab>:%!xxd\ -r HEXから逆変換(&R)<Tab>%!xxd\ -r
145-menutrans &Set\ Compiler コンパイラ設定(&S)
145+menutrans Se&T\ Compiler コンパイラ設定(&T)
146+
147+" Tools.Spelling Menu
148+menutrans &Spelling スペリング(&S)
149+menutrans &Spell\ Check\ On スペルチェック有効(&S)
150+menutrans Spell\ Check\ &Off スペルチェック有効(&O)
151+menutrans To\ &Next\ error<Tab>]s 次のエラー(&N)<Tab>]s
152+menutrans To\ &Previous\ error<Tab>[s 前のエラー(&P)<Tab>[s
153+menutrans Suggest\ &Corrections<Tab>z? 修正候補(&C)<Tab>z?
154+menutrans &Repeat\ correction<Tab>:spellrepall 修正を繰り返す(&R)<Tab>:spellrepall
155+menutrans Set\ language\ to\ "en" 言語を\ "en"\ に設定する
156+menutrans Set\ language\ to\ "en_au" 言語を\ "en_au"\ に設定する
157+menutrans Set\ language\ to\ "en_ca" 言語を\ "en_ca"\ に設定する
158+menutrans Set\ language\ to\ "en_gb" 言語を\ "en_gb"\ に設定する
159+menutrans Set\ language\ to\ "en_nz" 言語を\ "en_nz"\ に設定する
160+menutrans Set\ language\ to\ "en_us" 言語を\ "en_us"\ に設定する
161+menutrans &Find\ More\ Languages 他の言語を検索する(&F)
146162
147163 " Tools.Fold Menu
148164 menutrans &Folding 折畳み(&F)
diff -r b112ec5c73f0 -r 903088c7a7c6 src/ex_cmds.h
--- a/src/ex_cmds.h Sat Feb 04 22:43:20 2006 +0000
+++ b/src/ex_cmds.h Sat Feb 04 22:45:44 2006 +0000
@@ -187,6 +187,8 @@
187187 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
188188 EX(CMD_cabclear, "cabclear", ex_abclear,
189189 EXTRA|TRLBAR|CMDWIN),
190+EX(CMD_caddbuffer, "caddbuffer", ex_cbuffer,
191+ RANGE|NOTADR|WORD1|TRLBAR),
190192 EX(CMD_caddexpr, "caddexpr", ex_cexpr,
191193 NEEDARG|WORD1|NOTRLCOM|TRLBAR|BANG),
192194 EX(CMD_caddfile, "caddfile", ex_cfile,
@@ -483,6 +485,8 @@
483485 EXTRA|TRLBAR|CMDWIN),
484486 EX(CMD_laddexpr, "laddexpr", ex_cexpr,
485487 NEEDARG|WORD1|NOTRLCOM|TRLBAR|BANG),
488+EX(CMD_laddbuffer, "laddbuffer", ex_cbuffer,
489+ RANGE|NOTADR|WORD1|TRLBAR),
486490 EX(CMD_laddfile, "laddfile", ex_cfile,
487491 TRLBAR|FILE1),
488492 EX(CMD_lbuffer, "lbuffer", ex_cbuffer,
@@ -507,6 +511,10 @@
507511 RANGE|NOTADR|COUNT|TRLBAR|BANG),
508512 EX(CMD_lgetfile, "lgetfile", ex_cfile,
509513 TRLBAR|FILE1|BANG),
514+EX(CMD_lgrep, "lgrep", ex_make,
515+ BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE),
516+EX(CMD_lgrepadd, "lgrepadd", ex_make,
517+ BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE),
510518 EX(CMD_ll, "ll", ex_cc,
511519 RANGE|NOTADR|COUNT|TRLBAR|BANG),
512520 EX(CMD_llast, "llast", ex_cc,
@@ -517,6 +525,8 @@
517525 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
518526 EX(CMD_lmapclear, "lmapclear", ex_mapclear,
519527 EXTRA|TRLBAR|CMDWIN),
528+EX(CMD_lmake, "lmake", ex_make,
529+ BANG|EXTRA|NOTRLCOM|TRLBAR|XFILE),
520530 EX(CMD_lnoremap, "lnoremap", ex_map,
521531 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
522532 EX(CMD_lnext, "lnext", ex_cnext,
@@ -547,6 +557,10 @@
547557 NOTADR|TRLBAR|BANG|WORD1),
548558 EX(CMD_lunmap, "lunmap", ex_unmap,
549559 EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
560+EX(CMD_lvimgrep, "lvimgrep", ex_vimgrep,
561+ BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE),
562+EX(CMD_lvimgrepadd, "lvimgrepadd", ex_vimgrep,
563+ BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE),
550564 EX(CMD_lwindow, "lwindow", ex_cwindow,
551565 RANGE|NOTADR|COUNT|TRLBAR),
552566 EX(CMD_ls, "ls", buflist_list,
diff -r b112ec5c73f0 -r 903088c7a7c6 src/po/cleanup.vim
--- a/src/po/cleanup.vim Sat Feb 04 22:43:20 2006 +0000
+++ b/src/po/cleanup.vim Sat Feb 04 22:45:44 2006 +0000
@@ -3,9 +3,17 @@
33 " - Comment-out fuzzy and empty messages.
44 " - Make sure there is a space before the string (required for Solaris).
55 " Requires Vim 6.0 or later (because of multi-line search patterns).
6-diffoff!
6+
7+" Disable diff mode, because it makes this very slow
8+let s:was_diff = &diff
9+setl nodiff
10+
711 silent g/^#: /d
812 silent g/^#, fuzzy\(, .*\)\=\nmsgid ""\@!/.+1,/^$/-1s/^/#\~ /
913 silent g/^msgstr"/s//msgstr "/
1014 silent g/^msgid"/s//msgid "/
1115 silent g/^msgstr ""\(\n"\)\@!/?^msgid?,.s/^/#\~ /
16+
17+if s:was_diff
18+ setl diff
19+endif
Show on old repository browser