Around about 07/04/06 13:56, Bram Moolenaar typed ...
The check for the current buffer to be locked was a bit too generic.
I'll explicitly allow using ":edit" without an argument.
What about :checktime ? Says it's postponed till after the autocmd, so
should it be OK too?
Hmm, it seems so. I'll add an exception for that too.
Well, I no longer get the two errors about not being able to edit, but I'm
back to crashes :-( [vim 7.0e]
The original problem (crashing when checking out a file during diff mode
'dp') seems to have actually been fixed, or, at least, it now hasn't crashed
for me.
However, the newer instance (a checkout triggered by 'z=' spell checking)
has gotten worse. I get an error (sometmies SEGV, sometimes ABRT) and then
vim hangs:
*** glibc detected *** free(): invalid next size (fast): 0x09926868 ***
Vim: Caught deadly signal ABRT
Vim: preserving files...
^C doesn't get out of that, I have to 'kill -9' it. Annoyingly, it doesn't
crash (per se) running under ddd. I did once get:
E341: Internal error: lalloc(0, )
... but it seemed to recover. It /does/, however, insert a smattering of
random text instead of the selected word (from z=), seemingly as small bit of
the current file, only a few characters [but not the same length as the spell
word].
This is better for me, as it was the diff mode thing I was hitting a lot,
and I can avoid the spelling one, but it's still worrying ...
If I come up with any more info., I'll let you know.
--
[EMAIL PROTECTED] ~]# rm -f .signature
[EMAIL PROTECTED] ~]# ls -l .signature
ls: .signature: No such file or directory
[EMAIL PROTECTED] ~]# exit