updated for version 7.0061

This commit is contained in:
Bram Moolenaar
2005-03-18 20:30:32 +00:00
parent 5409c051a5
commit c07611362a
7 changed files with 77 additions and 50 deletions

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 15
*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 18
VIM REFERENCE MANUAL by Bram Moolenaar
@ -30,22 +30,21 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
"gq" should always leave the cursor after the formatted text, also when using
'formatprg'.
Fix for executable new file also in 6.3.
More commands like ":argadd" that should not have COUNT?
Installing manual pages: FreeBSD includes encoding "it.ISO8859-1". Install in
"it" and "it.ISO8859-1"?
Russian manual needs to be in UTF-8 for RedHat, KOI8-R for Gentoo.
UTF-8 files from Ragosin (18 March).
- Added "undercurl" highlight attribute. Based on a patch from Marcin Dalecki.
Docs for "guisp=Red"
Should add another byte for attributes, 200 types is not enough.
Implement "undercurl" for printing.
Added another byte for attributes, 200 types is not enough.
Mac unicode patch (Da Woon Jung):
- selecting proportional font breaks display
- UTF-8 text causes display problems. Font replacement causes this.
Changes to mode bits in mch_open() also in Vim 6.3? (Bjoern Voigt)
autoload:
- Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of
script names and a help file and produces a script that can be sourced to
@ -66,6 +65,7 @@ Awaiting response:
PLANNED FOR VERSION 7.0:
- Add SPELLCHECKER, with easy to add support for many languages.
- Highlighting: SpellBad, SpellRare, SpellDialect
- Need wordlists for many languages; "language pack"
- Commands required:
enable/disable spellchecking: 'spell' option (local to win)
@ -74,7 +74,8 @@ PLANNED FOR VERSION 7.0:
add word to private dict: wrong and OK (in popup menu for evim)
:spell good <word> zg
:spell wrong <word> zw
- Highlighting: SpellBad, SpellRare, SpellDialect
[s move to previous spell error [S also rare word
]s move to next spell error ]S also rare word
- "engspchk" from Charles Campbell is a good starting point.
- Do not use an external program like ispell or aspell: too slow and
doesn't work everywhere.
@ -217,6 +218,8 @@ PLANNED FOR VERSION 7.0:
- In a :s command multi-byte characters should also be upper/lower cased
with \u, \U, etc.
Adjust src/main.aap for installing manpages like in Makefile.
Support ":set syntax=cpp.doxygen"? Suggested patch by Michael Geddes (9 Aug
2004). Should also work for 'filetype'.
@ -1366,6 +1369,7 @@ Multi-byte characters:
Printing:
7 Implement "undercurl" for printing.
- Add "page width" to wrap long lines.
- Win32: use a font dialog for setting 'printfont'. Can reuse the code for
the 'guifont' dialog, put the common code in a separate function.
@ -2620,6 +2624,8 @@ Searching:
"g?" is already used for rot13.
8 Add a mechanism for recursiveness: "\(([^()]*\@@[^()]*)\)\@r". \@@ stands
for "go recursive here" and \@r marks the recursive atom.
8 Add an item for a big character range, so that one can search for a
chinese character: \z[234-1234] or \z[XX-YY] or \z[0x23-0x234].
7 Add an item stack to allow matching (). One side is "push X on
the stack if previous atom matched". Other side is "match with top of
stack, pop it when it matches". Use "\@pX" and "\@m"?

View File

@ -1,4 +1,4 @@
*version7.txt* For Vim version 7.0aa. Last change: 2005 Mar 15
*version7.txt* For Vim version 7.0aa. Last change: 2005 Mar 18
VIM REFERENCE MANUAL by Bram Moolenaar
@ -580,6 +580,9 @@ Added the <xUp>, <xDown>, <xLeft> and <xRight> keys, to be able to recognize
the two forms that xterm can send their codes in and still handle all possible
modifiers.
getwinvar() now also works to obtain a buffer-local option from the specified
window.
==============================================================================
COMPILE TIME CHANGES *compile-changes-7*
@ -950,9 +953,6 @@ indirectly invokes ":normal".
Diff mode failed when $DIFF_OPTIONS was set in the environment. Unset it
before invoking "diff".
When renaming a file is done by making a copy (accross file systems), set the
permissions and ACL of the copy to those of the original file.
Completion didn't work after ":argdo", ":windo" and ":bufdo". Also for ":set
&l:opt" and ":set &g:opt". (Peter Winters)
@ -966,8 +966,25 @@ is received. Avoid invoking the autocommands from the function waiting for a
character, let it put K_CURSORHOLD in the input buffer.
Removed the "COUNT" flag from ":argadd", to avoid ":argadd 1*" to be used like
":1argadd *".
":1argadd *". Same for ":argdelete" and ":argedit".
Avoid that $LANG is used for the menus when LC_MESSAGES is "en_US".
Added backslashes before dashes in the vim.1 manual page to make the appear as
real dashes. (Pierr Habouzit)
Where "gq" left the cursor depended on the value of 'formatprg'. Now "gq"
always leaves the cursor at the last line of the formatted text.
When editing a compressed file, such as "changelog.Debian.gz" file, filetype
detection may try to check the contents of the file while it's still
compressed. Skip setting 'filetype' for compressed files until they have been
decompressed. Required for patterns that end in a "*".
Starting with an argument "+cmd" or "-S script" causes the cursor the be moved
to the first line. That breaks a BufReadPost autocommand that uses g`".
Don't move the cursor if it's somewhere past the first line.
"gg=G" while 'modifiable' is off was uninterruptable.
vim:tw=78:ts=8:ft=help:norl:

View File

@ -82,17 +82,17 @@ OPTIONS
allowed anywhere.
-seek offset
When used after -r : revert with <offset> added to file posi-
tions found in hexdump.
When used after -r: revert with <offset> added to file positions
found in hexdump.
-s [+][-]seek
start at <seek> bytes abs. (or rel.) infile offset. + indicates
that the seek is relative to the current stdin file position
(meaningless when not reading from stdin). - indicates that the
seek should be that many characters from the end of the input
(or if combined with
+ : before the current stdin file position). Without -s
option, xxd starts at the current file position.
start at <seek> bytes abs. (or rel.) infile offset. + fRindi-
cates that the seek is relative to the current stdin file posi-
tion (meaningless when not reading from stdin). - indicates
that the seek should be that many characters from the end of the
input (or if combined with +: before the current stdin file
position). Without -s option, xxd starts at the current file
position.
-u use upper case hex letters. Default is lower case.

View File

@ -9042,14 +9042,17 @@ f_getwinvar(argvars, rettv)
{
if (*varname == '&') /* window-local-option */
{
/* set curwin to be our win, temporarily */
/* Set curwin to be our win, temporarily. Also set curbuf, so
* that we can get buffer-local options. */
oldcurwin = curwin;
curwin = win;
curbuf = win->w_buffer;
get_option_tv(&varname, rettv, 1);
/* restore previous notion of curwin */
curwin = oldcurwin;
curbuf = curwin->w_buffer;
}
else
{

View File

@ -112,11 +112,11 @@ EX(CMD_args, "args", ex_args,
EX(CMD_argadd, "argadd", ex_argadd,
BANG|NEEDARG|RANGE|NOTADR|ZEROR|FILES|TRLBAR),
EX(CMD_argdelete, "argdelete", ex_argdelete,
BANG|RANGE|NOTADR|COUNT|FILES|TRLBAR),
BANG|RANGE|NOTADR|FILES|TRLBAR),
EX(CMD_argdo, "argdo", ex_listdo,
BANG|NEEDARG|EXTRA|NOTRLCOM),
EX(CMD_argedit, "argedit", ex_argedit,
BANG|NEEDARG|RANGE|NOTADR|COUNT|FILE1|EDITCMD|TRLBAR),
BANG|NEEDARG|RANGE|NOTADR|FILE1|EDITCMD|TRLBAR),
EX(CMD_argglobal, "argglobal", ex_args,
BANG|FILES|EDITCMD|ARGOPT|TRLBAR),
EX(CMD_arglocal, "arglocal", ex_args,

View File

@ -1996,10 +1996,11 @@ scripterror:
{
/*
* We start commands on line 0, make "vim +/pat file" match a
* pattern on line 1.
* pattern on line 1. But don't move the cursor when an autocommand
* with g`" was used.
*/
msg_scroll = TRUE;
if (tagname == NULL)
if (tagname == NULL && curwin->w_cursor.lnum <= 1)
curwin->w_cursor.lnum = 0;
sourcing_name = (char_u *)"command line";
#ifdef FEAT_EVAL

View File

@ -1,6 +1,6 @@
# Italian Translation for Vim
#
# FIRST AUTHOR Antonio Colombo <antonio.colombo@jrc.it>, 2000
# FIRST AUTHOR Antonio Colombo <azc10@yahoo.com>, 2000
#
# Ogni commento <20> benvenuto...
# Every remark is very welcome...
@ -16,7 +16,7 @@ msgstr ""
"PO-Revision-Date: 2004-06-02 20:02+0200\n"
"Last-Translator: Vlad Sandrini <marco@sandrini.biz>\n"
"Language-Team: Italian"
" Antonio Colombo <antonio.colombo@jrc.it>\n"
" Antonio Colombo <azc10@yahoo.com>\n"
" Vlad Sandrini <marco@sandrini.biz>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO_8859-1\n"