Around about 21/04/06 09:16, Neil Bird typed ...
I guess the basic sequence is:
    - you do "z=" and select a suggestion, this is to be inserted
    - your file is RO, thus the FileChangedRO autocmd is triggered
    - your FileChangedRO autocmd uses sourcesafe to get the file
      Hmm, does this then trigger the timestamp check and
      trigger a FileChangedShell autocmd?
    - your FileChangedRO autocmd reloads the file

There's no FileChangedShell autocmd to be triggered. The script /does/ temporarily set autoread around the system() call that may check out the file, and also calls 'checktime' before resetting it, but that doesn't actually achieve anything (the checktime its deferred?) as you then get a 'file has changed, reload?' prompt a bit later. My manually loading the file (:e) prevents this; maybe that's confusing something. Certainly, I don't get a crash if don't manually load the file (as well as not crashing if I *do* load the file, but don't set syntax).

--
[EMAIL PROTECTED] ~]# rm -f .signature
[EMAIL PROTECTED] ~]# ls -l .signature
ls: .signature: No such file or directory
[EMAIL PROTECTED] ~]# exit

Reply via email to