diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-19 22:18:55 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-19 22:18:55 +0000 |
commit | ceaf7b8b66764b4a99526c715886d80397ce81dd (patch) | |
tree | f0716f656a46d0c2c716aafdc75e47fbd30f02cb /runtime/doc | |
parent | 39f05630adc017f00ea551b827fd1d5ef21a0a3a (diff) | |
download | vim-git-ceaf7b8b66764b4a99526c715886d80397ce81dd.tar.gz |
updated for version 7.0229v7.0229
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/quickfix.txt | 38 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 18 |
2 files changed, 33 insertions, 23 deletions
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index 09375d305..50395fc48 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim version 7.0aa. Last change: 2006 Mar 09 +*quickfix.txt* For Vim version 7.0aa. Last change: 2006 Mar 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -882,13 +882,15 @@ prefixes are: %Z end of a multi-line message These can be used with '+' and '-', see |efm-ignore| below. +Using "\n" in the pattern won't work to match multi-line messages. + Example: Your compiler happens to write out errors in the following format (leading line numbers not being part of the actual output): - 1 Error 275 - 2 line 42 - 3 column 3 - 4 ' ' expected after '--' + 1 Error 275 ~ + 2 line 42 ~ + 3 column 3 ~ + 4 ' ' expected after '--' ~ The appropriate error format string has to look like this: > :set efm=%EError\ %n,%Cline\ %l,%Ccolumn\ %c,%Z%m @@ -928,6 +930,16 @@ it also hides line 7 which would trigger a separate error message otherwise. Error format strings are always parsed pattern by pattern until the first match occurs. +Important: There is no memory of what part of the errorformat matched before; +every line in the error file gets a complete new run through the error format +lines. For example, if one has: > + setlocal efm=aa,bb,cc,dd,ee +Where aa, bb, etc. are error format strings. Each line of the error file will +be matched to the pattern aa, then bb, then cc, etc. Just because cc matched +the previous error line does _not_ mean that dd will be tried first on the +current line, even if cc and dd are multi-line errorformat strings. + + Separate file name *errorformat-separate-filename* @@ -994,14 +1006,16 @@ with previous versions of Vim. However, it is also possible to specify Since meta characters of the regular expression language can be part of ordinary matching strings or file names (and therefore internally have to be escaped), meta symbols have to be written with leading '%': - %\ the single '\' character. Note that this has to be + %\ The single '\' character. Note that this has to be escaped ("%\\") in ":set errorformat=" definitions. - %. the single '.' character. - %# the single '*'(!) character. - %^ the single '^' character. - %$ the single '$' character. - %[ the single '[' character for a [] character range. - %~ the single '~' character. + %. The single '.' character. + %# The single '*'(!) character. + %^ The single '^' character. Note that this is not + useful, the pattern already matches start of line. + %$ The single '$' character. Note that this is not + useful, the pattern already matches end of line. + %[ The single '[' character for a [] character range. + %~ The single '~' character. When using character classes in expressions (see |/\i| for an overview), terms containing the "\+" quantifier can be written in the scanf() "%*" notation. Example: "%\\d%\\+" ("\d\+", "any number") is equivalent to "%*\\d". diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 0ec9b3fff..6d2c86007 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.0aa. Last change: 2006 Mar 18 +*todo.txt* For Vim version 7.0aa. Last change: 2006 Mar 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -30,7 +30,11 @@ be worked on, but only if you sponsor Vim development. See |sponsor|. *known-bugs* -------------------- Known bugs and current work ----------------------- -'cindent' isn't remove when Esc is typed. +'errorformat': Add a flag %? to check for a match with the next item first. +Helps for continuation lines that may contain just about anything, e.g. an +error message. + error 99 in file foo.c line 1234: + something is wrong here Gnome GUI: lots of error messages during startup. These go away when not using the notebook for tab labels. Still similar error messages when moving @@ -51,7 +55,7 @@ EMBEDDING: Make it possible to run Vim inside a window of another program. For GTK Neil Bird has a patch to use Vim like a widget. Ctags still hasn't included the patch. Darren is looking for someone to do -maintanance. Is there another solution? +maintenance. Is there another solution? HTML indenting can be slow, find out why. Add a function to get the current time in usec. reltime([start, [end]]) @@ -63,11 +67,6 @@ Profiling: - :profile pause - :profile resume -'errorformat' docs are a bit unclear. Suggestions by Charles Campbell (2006 -Jan 6) -Add a flag to check for a match with the next item first? Helps for -continuation lines that may contain just about anything. - Adjust src/main.aap for installing manpages like in Makefile. And for generating Vim.app for the Mac. Install spell files with src/main.aap. @@ -75,9 +74,6 @@ Adjust src/main.aap for installing manpages like in Makefile. Add ":smap", Select mode mapping? Otherwise: ":sunmap", so that Visual mode mappings for normal keys can be removed from Select mode. -Check if file explorer can handle directory names and links with a single -quote. (Nieko Maatjes, 2005 Jan 4) - Add more tests for all new functionality in Vim 7. Especially new functions. Add text in user manual for using the undo tree. Example with finding the |