summaryrefslogtreecommitdiffstats
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt22
-rw-r--r--runtime/doc/spell.txt16
-rw-r--r--runtime/doc/tags1
-rw-r--r--runtime/doc/todo.txt66
4 files changed, 53 insertions, 52 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 9ee13e3937..9eb1ba645d 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.0aa. Last change: 2005 Jun 29
+*eval.txt* For Vim version 7.0aa. Last change: 2005 Jul 03
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -241,15 +241,23 @@ the same value. >
Note about comparing lists: Two lists are considered equal if they have the
same length and all items compare equal, as with using "==". There is one
-exception: When comparing a number with a string and the string contains extra
-characters beside the number they are not equal. Example: >
- echo 4 == "4x"
+exception: When comparing a number with a string they are considered
+different. There is no automatic type conversion, as with using "==" on
+variables. Example: >
+ echo 4 == "4"
< 1 >
- echo [4] == ["4x"]
+ echo [4] == ["4"]
< 0
-This is to fix the odd behavior of == that can't be changed for backward
-compatibility reasons.
+Thus comparing Lists is more strict than comparing numbers and strings. You
+can compare simple values this way too by putting them in a string: >
+
+ :let a = 5
+ :let b = "5"
+ echo a == b
+< 1 >
+ echo [a] == [b]
+< 0
List unpack ~
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index 9ccfbefb84..46d1b70dae 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1,4 +1,4 @@
-*spell.txt* For Vim version 7.0aa. Last change: 2005 Jul 02
+*spell.txt* For Vim version 7.0aa. Last change: 2005 Jul 03
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -27,7 +27,7 @@ This switches on the 'spell' option and specifies to check for US English.
The words that are not recognized are highlighted with one of these:
SpellBad word not recognized |hl-SpellBad|
- SpellCap word not capatilized |hl-SpellCap|
+ SpellCap word not capitalised |hl-SpellCap|
SpellRare rare word |hl-SpellRare|
SpellLocal wrong spelling for selected region |hl-SpellLocal|
@@ -321,6 +321,10 @@ find them here:
You can also use a plain word list. The results are the same, the choice
depends on what word lists you can find.
+If you install Aap (from www.a-a-p.org) you can use the recipes in the
+runtime/spell/??/ directories. Aap will take care of downloading the files,
+apply patches needed for Vim and build the .spl file.
+
Make sure your current locale is set properly, otherwise Vim doesn't know what
characters are upper/lower case letters. If the locale isn't available (e.g.,
when using an MS-Windows codepage on Unix) add tables to the .aff file
@@ -389,7 +393,7 @@ following procedure is recommended:
4. Start Vim with the right locale and use |:mkspell| to generate the Vim
spell file.
5. Try out the spell file with ":set spell spelllang=xx" if you wrote it in
- a spell directory in 'runtimepath, or ":set spelllang=xx.enc.spl" if you
+ a spell directory in 'runtimepath', or ":set spelllang=xx.enc.spl" if you
wrote it somewhere else.
When the Myspell files are updated you can merge the differences:
@@ -436,7 +440,7 @@ highlighted. Person and company names will not appear in a dictionary, but do
appear in a word list. And some old words are rarely used while they are
common misspellings. These do appear in a dictionary but not in a word list.
-There are two formats: A straigth list of words and a list using affix
+There are two formats: A straight list of words and a list using affix
compression. The files with affix compression are used by Myspell (Mozilla
and OpenOffice.org). This requires two files, one with .aff and one with .dic
extension.
@@ -760,7 +764,7 @@ Simplistic example:
SAL C K ~
SAL K K ~
-There are a few rules and this can become quite complicated. An explantion
+There are a few rules and this can become quite complicated. An explanation
how it works can be found in the Aspell manual:
http://aspell.net/man-html/Phonetic-Code.html.
@@ -780,7 +784,7 @@ characters to another character, mapping similar sounding characters to the
same character. At the same time this does case folding. You can not have
both SAL items and simple soundfolding.
-There are two items required: one to speficy the characters that are mapped
+There are two items required: one to specify the characters that are mapped
and one that specifies the characters they are mapped to. They must have
exactly the same number of characters. Example:
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 2b19ebcb48..f231debf85 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -5148,7 +5148,6 @@ hebrew hebrew.txt /*hebrew*
hebrew.txt hebrew.txt /*hebrew.txt*
help various.txt /*help*
help-context help.txt /*help-context*
-help-tags tags 1
help-translated various.txt /*help-translated*
help-xterm-window various.txt /*help-xterm-window*
help.txt help.txt /*help.txt*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 4d0e93c4d8..9d0a966916 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 Jul 02
+*todo.txt* For Vim version 7.0aa. Last change: 2005 Jul 03
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -81,9 +81,6 @@ autoload:
helpfile doc/myscript.txt
For the "helpfile" item ":helptags" is run.
-For List comparing, consider [4] and ['4'] different? (Servatius Brandt)
-Also allows strict comparing for ordinary variables.
-
Patch to alternate fold highlighting. (Anthony Iano-Fletcher, 2005 May 12)
More levels?
@@ -96,40 +93,6 @@ Awaiting response:
PLANNED FOR VERSION 7.0:
-- Spell checking todo's:
- - When making suggestions check for 'spellcapcheck' and empty line to
- figure out the word should be capitalised.
- - Distribution: Need wordlists for many languages; "language pack"
- Put them on the ftp site, ready to download. Include README for
- copyrights.
- - Work together with OpenOffice.org to update the wordlists. (Adri
- Verhoef, Aad Nales) Setup vim-spell maillist?
- - Charles Campbell asks for method to add "contained" groups to
- existing syntax items (to add @Spell).
- Add ":syntax contains {pattern} add=@Spell" command? A bit like ":syn
- cluster" but change the contains list directly for matching syntax
- items.
- - Install spell files with src/main.aap.
- Later:
- - References: MySpell library (in OpenOffice.org).
- http://spellchecker.mozdev.org/source.html
- http://whiteboard.openoffice.org/source/browse/whiteboard/lingucomponent/source/spellcheck/myspell/
- author: Kevin Hendricks <kevin.hendricks@sympatico.ca>
- - Make "en-rare" spell file? Ask Charles Campbell.
- - The English dictionaries for different regions are not consistent in
- their use of words with a dash.
- - Alternate Dutch word list at www.nederlandsewoorden.nl (use script to
- obtain). But new Myspell wordlist will come (Hagen)
- - Insert mode completion mechanism that uses the spell word lists.
- - Add hl groups to 'spelllang'?
- :set spelllang=en_us,en-rare/SpellRare,en-math/SpellMath
- More complicated: Regions with different languages? E.g., comments
- in English, strings in German (po file).
- - Implement compound words when it works for Myspell. Current idea has
- the problem that "foo/X" always allows "foofoo", there is no way to
- specify a word can only be at the start or end, or that only certain
- words combine.
-
- Support using "**" in filename for ":next", ":vimgrep", etc., so that a
directory tree can be searched.
- REFACTORING: The main() function is very long. Move parts to separate
@@ -1309,6 +1272,33 @@ User Friendlier:
window can be displayed. (Eduard)
+Spell checking:
+9 Work together with OpenOffice.org to update the wordlists. (Adri Verhoef,
+ Aad Nales) Setup vim-spell maillist?
+8 Charles Campbell asks for method to add "contained" groups to existing
+ syntax items (to add @Spell).
+ Add ":syntax contains {pattern} add=@Spell" command? A bit like ":syn
+ cluster" but change the contains list directly for matching syntax items.
+8 Install spell files with src/main.aap.
+- References: MySpell library (in OpenOffice.org).
+ http://spellchecker.mozdev.org/source.html
+ http://whiteboard.openoffice.org/source/browse/whiteboard/lingucomponent/source/spellcheck/myspell/
+ author: Kevin Hendricks <kevin.hendricks@sympatico.ca>
+8 Make "en-rare" spell file? Ask Charles Campbell.
+8 The English dictionaries for different regions are not consistent in their
+ use of words with a dash.
+8 Alternate Dutch word list at www.nederlandsewoorden.nl (use script to
+ obtain). But new Myspell wordlist will come (Hagen)
+7 Insert mode completion mechanism that uses the spell word lists.
+8 Add hl groups to 'spelllang'?
+ :set spelllang=en_us,en-rare/SpellRare,en-math/SpellMath
+ More complicated: Regions with different languages? E.g., comments
+ in English, strings in German (po file).
+8 Implement compound words when it works for Myspell. Current idea has the
+ problem that "foo/X" always allows "foofoo", there is no way to specify a
+ word can only be at the start or end, or that only certain words combine.
+
+
Diff mode:
8 Use diff mode to show the changes made in a buffer (compared to the file).
Use an unnamed buffer, like doing: