annotate src/testdir/test89.in @ 4903:2fc1f3346bfb v7.3.1197

updated for version 7.3.1197 Problem: ":wviminfo!" does not write history previously read from a viminfo file. (Roland Eggner) Solution: When not merging history write all entries.
author Bram Moolenaar <bram@vim.org>
date Sat, 15 Jun 2013 16:31:47 +0200
parents 3f2319a953b3
children cb0a5c9c0f9b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4119
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Some tests for setting 'number' and 'relativenumber'
4736
3f2319a953b3 updated for version 7.3.1115
Bram Moolenaar <bram@vim.org>
parents: 4329
diff changeset
2 This is not all that useful now that the options are no longer reset when
3f2319a953b3 updated for version 7.3.1115
Bram Moolenaar <bram@vim.org>
parents: 4329
diff changeset
3 setting the other.
4119
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 STARTTEST
4129
01fa9313d4b5 updated for version 7.3.817
Bram Moolenaar <bram@vim.org>
parents: 4119
diff changeset
6 :so small.vim
4329
9f642ac84df9 updated for version 7.3.914
Bram Moolenaar <bram@vim.org>
parents: 4219
diff changeset
7 :set hidden nocp nu rnu viminfo+=nviminfo
4119
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :redir @a | set nu? rnu? | redir END
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :e! xx
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :redir @b | set nu? rnu? | redir END
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :e! #
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 :$put ='results:'
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 :$put a
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 :$put b
4219
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
15 :"
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
16 :set nonu nornu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
17 :setglobal nu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
18 :setlocal rnu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
19 :redir @c | setglobal nu? | redir END
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
20 :set nonu nornu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
21 :setglobal rnu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
22 :setlocal nu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
23 :redir @d | setglobal rnu? | redir END
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
24 :$put =':setlocal must NOT reset the other global value'
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
25 :$put c
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
26 :$put d
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
27 :"
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
28 :set nonu nornu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
29 :setglobal nu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
30 :setglobal rnu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
31 :redir @e | setglobal nu? | redir END
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
32 :set nonu nornu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
33 :setglobal rnu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
34 :setglobal nu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
35 :redir @f | setglobal rnu? | redir END
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
36 :$put =':setglobal MUST reset the other global value'
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
37 :$put e
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
38 :$put f
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
39 :"
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
40 :set nonu nornu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
41 :set nu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
42 :set rnu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
43 :redir @g | setglobal nu? | redir END
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
44 :set nonu nornu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
45 :set rnu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
46 :set nu
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
47 :redir @h | setglobal rnu? | redir END
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
48 :$put =':set MUST reset the other global value'
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
49 :$put g
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
50 :$put h
6fe728bf165e updated for version 7.3.861
Bram Moolenaar <bram@vim.org>
parents: 4129
diff changeset
51 :"
4119
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
52 :/^results/,$w! test.out
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53 :q!
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
54 ENDTEST
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
55