On 8/25/06, Groleo Marius <[EMAIL PROTECTED]> wrote:
On 8/25/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
> Groleo Marius wrote:
> > On 8/24/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
> >> 1. Do you have the required features compiled-in?
.....
>
> I think it is may be consequence of the fact that autocommands (except
> when "nested" is used) are not triggered from within autocommands (does
> ":sball" trigger the BufRead autocommand, which sets the filetype?
> Maybe, for buffers which haven't yet been read-in).
>
> Try
>         :au BufAdd,BufNewFile * nested tab sball
>
> See ":help autocmd-nested".

Yes, this did the trick. Works as expected.
This is material for a tip :)

--
Regards, Groleo!


Guess I spoke too soon :/
when using this in combination with ctrl-], then position in file is line 1,
not the line matching the tag ( presuming the tag is not on line 1)
Does `nested` resets the cursor line too ?
--
Regards, Groleo!

Reply via email to