On 8/21/06, Jürgen Krämer <[EMAIL PROTECTED]> wrote:
Hi, A.J.Mechelynck wrote: > > Yakov Lerner wrote: > > > > I fixed another bug, the '*' missing in the autocommand: > > > > au BufWritePre * if(expand('%') == '') | exe "file ".TempName() | endif > > au BufWritePre * if(expand('%') == '') | exe "saveas ".TempName() | endif > > > > , but still no luck. I'm still getting the "E32: No file name" error. > > Well, what gets displayed when you replace "exe" by "echo" or "echomsg"? probably nothing; I guess the file name is checked before BufWritePre is executed.
not good. Yakov