1
0
forked from aniani/vim

updated for version 7.0083

This commit is contained in:
Bram Moolenaar 2005-06-08 22:07:37 +00:00
parent 3638c6876d
commit eaa48e7d41
3 changed files with 27 additions and 15 deletions

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.0aa. Last change: 2005 Jun 07 *todo.txt* For Vim version 7.0aa. Last change: 2005 Jun 08
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -30,6 +30,8 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs* *known-bugs*
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------
New menu file doesn't work with older vim. exists("spell") doesn't work?
Add extra list of file locations. Can be used with: Add extra list of file locations. Can be used with:
:ltag list of matching tags, like :tselect :ltag list of matching tags, like :tselect
@ -91,35 +93,30 @@ Still seems to fail 15% of the time.
PLANNED FOR VERSION 7.0: PLANNED FOR VERSION 7.0:
- Add SPELLCHECKER, with support for many languages. - Add SPELLCHECKER, with support for many languages.
- Use "engspchk" from Charles Campbell for ideas (commands, rare words).
- Spell checking code todo's: - Spell checking code todo's:
- Is "-" to be considered a word character? "last-minute". - How about making suggestions? Use an external program like aspell?
No, in Dutch it can be added optionally. Then make English Or include the myspell suggestion code in Vim?
dictionaries consistent. - Support for approximate-regexps will help with finding similar words
- Implement compound words? (agrep http://www.tgries.de/agrep/).
- When @Spell and @NoSpell are both used only do spell checking for
@Spell items, not where they both appear. Useful for Perl pod.
- Make "en-rare" spell file. - Make "en-rare" spell file.
Convention: use en_US (language_region) and en-rare (language-field) Convention: use en_US (language_region) and en-rare (language-field)
Add hl groups to 'spelllang'? Add hl groups to 'spelllang'?
:set spelllang=en_us,en-rare/SpellRare,en-math/SpellMath :set spelllang=en_us,en-rare/SpellRare,en-math/SpellMath
- How about making suggestions? Use an external program like aspell? - Use "engspchk" from Charles Campbell for ideas (commands, rare words).
Or include the myspell suggestion code in Vim?
- References: MySpell library (in OpenOffice.org). - References: MySpell library (in OpenOffice.org).
http://spellchecker.mozdev.org/source.html http://spellchecker.mozdev.org/source.html
http://whiteboard.openoffice.org/source/browse/whiteboard/lingucomponent/source/spellcheck/myspell/ http://whiteboard.openoffice.org/source/browse/whiteboard/lingucomponent/source/spellcheck/myspell/
author: Kevin Hendricks <kevin.hendricks@sympatico.ca> author: Kevin Hendricks <kevin.hendricks@sympatico.ca>
- More complicated: Regions with different languages? E.g. comments in
English, strings in German (po file).
- Update option window for 'verbosefile', 'spell', 'spellfile' and - Update option window for 'verbosefile', 'spell', 'spellfile' and
'spelllang'. 'spelllang'.
- Distribution: Need wordlists for many languages; "language pack" - Distribution: Need wordlists for many languages; "language pack"
Put them on the ftp site, ready to download. Include README for Put them on the ftp site, ready to download. Include README for
copyrights. copyrights.
- More complicated: Regions with different languages? E.g. comments in
English, strings in German (po file).
- Work together with OpenOffice.org to update the wordlists. (Adri - Work together with OpenOffice.org to update the wordlists. (Adri
Verhoef, Aad Nales) Setup vim-spell maillist? Verhoef, Aad Nales) Setup vim-spell maillist?
- Support for approximate-regexps will help with finding similar words - Insert mode completion mechanism that uses the spell word lists.
(agrep http://www.tgries.de/agrep/).
- Charles Campbell asks for method to add "contained" groups to - Charles Campbell asks for method to add "contained" groups to
existing syntax items (to add @Spell). existing syntax items (to add @Spell).
Add ":syntax contains {pattern} add=@Spell" command? A bit like ":syn Add ":syntax contains {pattern} add=@Spell" command? A bit like ":syn
@ -128,6 +125,12 @@ PLANNED FOR VERSION 7.0:
- Install spell files with src/main.aap. - Install spell files with src/main.aap.
- Alternate Dutch word list at www.nederlandsewoorden.nl (use script to - Alternate Dutch word list at www.nederlandsewoorden.nl (use script to
obtain). obtain).
- The English dictionaries for different regions are not consistent in
their use of words with a dash.
Later:
- 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.
- REFACTORING: The main() function is very long. Move parts to separate - REFACTORING: The main() function is very long. Move parts to separate
functions, especially loops. Ideas from Walter Briscoe (2003 Apr 3, 2004 functions, especially loops. Ideas from Walter Briscoe (2003 Apr 3, 2004
@ -433,6 +436,8 @@ Vi incompatibility:
7 The ":undo" command works differently in Ex mode. Edit a file, make some 7 The ":undo" command works differently in Ex mode. Edit a file, make some
changes, "Q", "undo" and _all_ changes are undone, like the ":visual" changes, "Q", "undo" and _all_ changes are undone, like the ":visual"
command was one command. command was one command.
On the other hand, an ":undo" command in an Ex script only undoes the last
change (e.g., use two :append commands, then :undo).
7 The ":map" command output overwrites the command. Perhaps it should keep 7 The ":map" command output overwrites the command. Perhaps it should keep
the ":map" when it's used without arguments? the ":map" when it's used without arguments?
7 CTRL-L is not the end of a section? It is for Posix! Make it an option. 7 CTRL-L is not the end of a section? It is for Posix! Make it an option.

View File

@ -0,0 +1,6 @@
" Vim indent file
" Language: Scheme
" Maintainer: Sergey Khorev <sergey.khorev@gmail.com>
" Last Change: 2005 Jun 08
runtime! indent/lisp.vim

View File

@ -3605,7 +3605,8 @@ ex_append(eap)
break; break;
} }
if ((p[0] == '.' && p[1] == NUL) if ((p[0] == '.' && p[1] == NUL)
|| (!did_undo && u_save(lnum, lnum + 1) == FAIL)) || (!did_undo && u_save(lnum, lnum + 1 + (empty ? 1 : 0))
== FAIL))
{ {
vim_free(theline); vim_free(theline);
break; break;