updated for version 7.0077
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index f2ce9eb..1d56980 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt* For Vim version 7.0aa. Last change: 2005 Apr 18
+*starting.txt* For Vim version 7.0aa. Last change: 2005 May 31
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -312,6 +312,11 @@
for reading or writing a viminfo file. Can be used to find
out what is happening upon startup and exit. {not in Vi}
+-V[N]{filename}
+ Like -V and set 'verbosefile' to {filename}. The result is
+ that messages are not displayed but written to the file
+ {filename}. {filename} must not start with a digit.
+
*-D*
-D Debugging. Go to debugging mode when executing the first
command from a script. |debug-mode|
@@ -706,6 +711,8 @@
2. Process the arguments
The options and file names from the command that start Vim are
inspected. Buffers are created for all files (but not loaded yet).
+ The |-V| argument can be used to display or log what happens next,
+ useful for debugging the initializations.
3. Execute Ex commands, from environment variables and/or files
An environment variable is read as one Ex command line, where multiple
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 3ba6d1c..dc748ab 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.0aa. Last change: 2005 May 25
+*todo.txt* For Vim version 7.0aa. Last change: 2005 May 31
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,28 +30,18 @@
*known-bugs*
-------------------- Known bugs and current work -----------------------
-GTK: Hang for "gvim </tmp/tt >&/tmp/ttt". Ready to read char from stdin but
-it's never read.
-Namsh also has a problem with a hang, coming from the added char_avail() call.
-Temporary fix: check "gui.starting".
-
-Make option like 'verbose' that writes output into a file? Should make it
-possible to see what's happening without messing up the display.
-
-Errors when compiling with Cygwin (Thomas).
-
-":sort n" sort on decimal number (skipping white space)
-":sort x" sort on hex number
-":sort o" sort on octal number
-Docs: doesn't work well together with :global.
-
-split(): splitting into chars doesn't work.
-
":qtag" command: make list of matching tags and use like quickfix list.
This changes the stack of quickfix lists. Make another list and use ":qnext",
":qprev", etc.? Do allow other commands for quickfix list, such as quickfix
window.
+Win32: Balloon text can't contain line break.
+ Hints for multiline tooltips from Alexei Alexandrov (2005 Mar 26)
+ Patch from Sergey Khorev, 2005 Apr 11
+ Add has("balloon_multiline")
+
+Patch in if_cscope.c also in 6.3? (Froloff)
+
Mac unicode patch (Da Woon Jung):
- selecting proportional font breaks display
- UTF-8 text causes display problems. Font replacement causes this.
@@ -72,11 +62,6 @@
helpfile doc/myscript.txt
For the "helpfile" item ":helptags" is run.
-Win32: Balloon text can't contain line break.
- Hints for multiline tooltips from Alexei Alexandrov (2005 Mar 26)
- Patch from Sergey Khorev, 2005 Apr 11
- Add has("balloon_multiline")
-
Patch to alternate fold highlighting. (Anthony Iano-Fletcher, 2005 May 12)
More levels?
@@ -121,7 +106,7 @@
add word to private dict: wrong and OK (in popup menu for evim)
:spell good <word> zg
:spell wrong <word> zw
- - Update option window for 'spell' and 'spelllang'.
+ - Update option window for 'verbosefile', 'spell' and 'spelllang'.
- Distribution: Need wordlists for many languages; "language pack"
Put them on the ftp site, ready to download. Include README for
copyrights.
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 3ec22c2..cdb9bd9 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
+*various.txt* For Vim version 7.0aa. Last change: 2005 May 31
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -392,6 +392,8 @@
To stop the messages and commands from being echoed to
the screen, put the commands in a function and call it
with ":silent call Function()".
+ An alternative is to use the 'verbosefile' option,
+ this can be used in combination with ":redir".
{not in Vi}
:redi[r] >> {file} Redirect messages to file {file}. Append if {file}
@@ -475,6 +477,8 @@
:4verbose set verbose | set verbose
< verbose=4 ~
verbose=0 ~
+ For logging verbose messages in a file use the
+ 'verbosefile' option.
*K*
K Run a program to lookup the keyword under the
diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt
index f7d8665..fc8988a 100644
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -1,4 +1,4 @@
-*version7.txt* For Vim version 7.0aa. Last change: 2005 May 22
+*version7.txt* For Vim version 7.0aa. Last change: 2005 May 31
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -296,6 +296,7 @@
(idea by Hugo Haas)
'spell' switch spell checking on/off
'spelllang' languages to check spelling for
+'verbosefile' Log messages in a file.
Ex commands: ~
@@ -584,6 +585,10 @@
":redir @{a-z}>>" appends to register a to z.
+The 'verbosefile' option can be used to log messages in a file. Verbose
+messages are not displayed then. The "-V{filename}" argument can be used to
+log startup messages.
+
":let g:" lists global variables.
":let b:" lists buffer-local variables.
":let w:" lists window-local variables.
diff --git a/runtime/syntax/logtalk.vim b/runtime/syntax/logtalk.vim
index 753df4e..480220c 100644
--- a/runtime/syntax/logtalk.vim
+++ b/runtime/syntax/logtalk.vim
@@ -2,7 +2,7 @@
"
" Language: Logtalk
" Maintainer: Paulo Moura <pmoura@logtalk.org>
-" Last Change: April 5, 2005
+" Last Change: May 30, 2005
" Quit when a syntax file was already loaded:
@@ -89,14 +89,10 @@
" Logtalk built-in predicates
-syn match logtalkBuiltIn "\<current_\(object\|protocol\|category\)\ze("
-
-syn match logtalkBuiltIn "\<create_\(object\|protocol\|category\)\ze("
+syn match logtalkBuiltIn "\<\(abolish\|c\(reate\|urrent\)\)_\(object\|protocol\|category\)\ze("
syn match logtalkBuiltIn "\<\(object\|protocol\|category\)_property\ze("
-syn match logtalkBuiltIn "\<abolish_\(object\|protocol\|category\)\ze("
-
syn match logtalkBuiltIn "\<extends_\(object\|protocol\)\ze("
syn match logtalkBuiltIn "\<imp\(orts_category\|lements_protocol\)\ze("
syn match logtalkBuiltIn "\<\(instantiates\|specializes\)_class\ze("
@@ -120,11 +116,9 @@
syn match logtalkBuiltInMethod "\<current_predicate\ze("
syn match logtalkBuiltInMethod "\<predicate_property\ze("
-syn match logtalkBuiltInMethod "\<abolish\ze("
-syn match logtalkBuiltInMethod "\<assert\(a\|z\)\ze("
+syn match logtalkBuiltInMethod "\<a\(bolish\|ssert\(a\|z\)\)\ze("
syn match logtalkBuiltInMethod "\<clause\ze("
-syn match logtalkBuiltInMethod "\<retract\ze("
-syn match logtalkBuiltInMethod "\<retractall\ze("
+syn match logtalkBuiltInMethod "\<retract\(all\)\?\ze("
syn match logtalkBuiltInMethod "\<\(bag\|set\)of\ze("
syn match logtalkBuiltInMethod "\<f\(ind\|or\)all\ze("
@@ -165,10 +159,9 @@
" Term testing
syn match logtalkKeyword "\<var\ze("
-syn match logtalkKeyword "\<atom\ze("
+syn match logtalkKeyword "\<atom\(ic\)\?\ze("
syn match logtalkKeyword "\<integer\ze("
syn match logtalkKeyword "\<float\ze("
-syn match logtalkKeyword "\<atomic\ze("
syn match logtalkKeyword "\<compound\ze("
syn match logtalkKeyword "\<n\(onvar\|umber\)\ze("
@@ -208,8 +201,7 @@
" Stream selection and control
-syn match logtalkKeyword "\<current_\(input\|output\)\ze("
-syn match logtalkKeyword "\<set_\(input\|output\)\ze("
+syn match logtalkKeyword "\<\(current\|set\)_\(in\|out\)put\ze("
syn match logtalkKeyword "\<open\ze("
syn match logtalkKeyword "\<close\ze("
syn match logtalkKeyword "\<flush_output\ze("
@@ -222,22 +214,17 @@
" Character and byte input/output
-syn match logtalkKeyword "\<\(get\|peek\|put\)_\(char\|code\|byte\)\ze("
+syn match logtalkKeyword "\<\(get\|p\(eek\|ut\)\)_\(c\(har\|ode\)\|byte\)\ze("
syn match logtalkKeyword "\<nl\ze("
syn match logtalkKeyword "\<nl\>"
" Term input/output
-syn match logtalkKeyword "\<read_term\ze("
-syn match logtalkKeyword "\<read\ze("
-syn match logtalkKeyword "\<write\ze("
-syn match logtalkKeyword "\<writeq\ze("
-syn match logtalkKeyword "\<write_\(canonical\|term\)\ze("
-syn match logtalkKeyword "\<op\ze("
-syn match logtalkKeyword "\<current_op\ze("
-syn match logtalkKeyword "\<char_conversion\ze("
-syn match logtalkKeyword "\<current_char_conversion\ze("
+syn match logtalkKeyword "\<read\(_term\)\?\ze("
+syn match logtalkKeyword "\<write\(q\|_\(canonical\|term\)\)\?\ze("
+syn match logtalkKeyword "\<\(current_\)\?op\ze("
+syn match logtalkKeyword "\<\(current\)\?char_conversion\ze("
" Logic and control
@@ -249,10 +236,10 @@
" Atomic term processing
-syn match logtalkKeyword "\<atom_\(length\|concat\|chars\|codes\)\ze("
+syn match logtalkKeyword "\<atom_\(length\|c\(hars\|o\(ncat\|des\)\)\)\ze("
syn match logtalkKeyword "\<sub_atom\ze("
syn match logtalkKeyword "\<char_code\ze("
-syn match logtalkKeyword "\<number_\(chars\|codes\)\ze("
+syn match logtalkKeyword "\<number_\(c\(hars\|odes\)\)\ze("
" Implementation defined hooks functions
@@ -269,17 +256,14 @@
syn match logtalkOperator "\*"
syn match logtalkOperator "//"
syn match logtalkOperator "/"
-syn match logtalkKeyword "\<rem(?=[(])"
+syn match logtalkKeyword "\<r\(ound\|em\)\ze("
syn match logtalkKeyword "\<rem\>"
syn match logtalkKeyword "\<mod\ze("
syn match logtalkKeyword "\<mod\>"
syn match logtalkKeyword "\<abs\ze("
syn match logtalkKeyword "\<sign\ze("
-syn match logtalkKeyword "\<float_\(integer\|fractional\)_part\ze("
-syn match logtalkKeyword "\<float\ze("
-syn match logtalkKeyword "\<floor\ze("
+syn match logtalkKeyword "\<flo\(or\|at\(_\(integer\|fractional\)_part\)\?\)\ze("
syn match logtalkKeyword "\<truncate\ze("
-syn match logtalkKeyword "\<round\ze("
syn match logtalkKeyword "\<ceiling\ze("
@@ -302,33 +286,34 @@
syn match logtalkOperator "\\"
-" Logtalk end-of-clause
-
-syn match logtalkOperator "\."
-
-
" Logtalk list operator
syn match logtalkOperator "|"
+" Logtalk numbers
+
+syn match logtalkNumber "\<\d\+\>"
+syn match logtalkNumber "\<\d\+\.\d\+\>"
+syn match logtalkNumber "\<\d\+[eE][-+]\=\d\+\>"
+syn match logtalkNumber "\<\d\+\.\d\+[eE][-+]\=\d\+\>"
+syn match logtalkNumber "\<0'[0-9a-zA-Z]\>"
+syn match logtalkNumber "\<0b[0-1]\+\>"
+syn match logtalkNumber "\<0o[0-7]\+\>"
+syn match logtalkNumber "\<0x\x\+\>"
+
+
+" Logtalk end-of-clause
+
+syn match logtalkOperator "\."
+
+
" Logtalk comments
syn region logtalkBlockComment start="/\*" end="\*/"
syn match logtalkLineComment "%.*"
-" Logtalk numbers
-
-syn match logtalkNumber "\<[0-9]\+\>"
-syn match logtalkNumber "\<[0-9]\+\.[0-9]\+\>"
-syn match logtalkNumber "\<[0-9]\+\.[0-9]\+[eE][-+][0-9]+\>"
-syn match logtalkNumber "\<0'[0-9a-zA-Z]\>"
-syn match logtalkNumber "\<0b[0-1]\+\>"
-syn match logtalkNumber "\<0o[0-7]\+\>"
-syn match logtalkNumber "\<0x[0-9a-fA-F]\+\>"
-
-
syn sync ccomment logtalkBlockComment maxlines=50
@@ -343,7 +328,7 @@
else
command -nargs=+ HiLink hi def link <args>
endif
-
+
HiLink logtalkBlockComment Comment
HiLink logtalkLineComment Comment