comparison runtime/doc/eval.txt @ 179:7fd70926e2e1 v7.0055

updated for version 7.0055
author vimboss
date Fri, 04 Mar 2005 23:39:37 +0000
parents 8c60f65311fa
children 504c627f7474
comparison
equal deleted inserted replaced
178:4d53c2a2af94 179:7fd70926e2e1
1 *eval.txt* For Vim version 7.0aa. Last change: 2005 Feb 26 1 *eval.txt* For Vim version 7.0aa. Last change: 2005 Mar 04
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1180 : throw "oops" 1180 : throw "oops"
1181 :catch /.*/ 1181 :catch /.*/
1182 : echo "caught" v:exception 1182 : echo "caught" v:exception
1183 :endtry 1183 :endtry
1184 < Output: "caught oops". 1184 < Output: "caught oops".
1185
1186 *v:fcs_reason* *fcs_reason-variable*
1187 v:fcs_reason The reason why the |FileChangedShell| event was triggered.
1188 Can be used in an autocommand to decide what to do and/or what
1189 to set v:fcs_choice to. Possible values:
1190 deleted file no longer exists
1191 conflict file contents, mode or timestamp was
1192 changed and buffer is modified
1193 changed file contents has changed
1194 mode mode of file changed
1195 time only file timestamp changed
1196
1197 *v:fcs_choice* *fcs_choice-variable*
1198 v:fcs_choice What should happen after a |FileChangedShell| event was
1199 triggered. Can be used in an autocommand to tell Vim what to
1200 do with the affected buffer:
1201 reload Reload the buffer (does not work if
1202 the file was deleted).
1203 ask Ask the user what to do, as if there
1204 was no autocommand. Except that when
1205 only the timestamp changed nothing
1206 will happen.
1207 <empty> Nothing, the autocommand should do
1208 everything that needs to be done.
1209 The default is empty. If another (invalid) value is used then
1210 Vim behaves like it is empty, there is no warning message.
1185 1211
1186 *v:fname_in* *fname_in-variable* 1212 *v:fname_in* *fname_in-variable*
1187 v:fname_in The name of the input file. Only valid while evaluating: 1213 v:fname_in The name of the input file. Only valid while evaluating:
1188 option used for ~ 1214 option used for ~
1189 'charconvert' file to be converted 1215 'charconvert' file to be converted