Hello Vim List,
I am having a problem trying to echo a message triggered by
an autocmd on BufEnter when entering a tab page.
Try this:
:au BufEnter foo echom "Entered foo"
First lets try opening a window on the same tab page:
:sp foo
The message appears in the command line area as expected.
Switching between windows, the messages is seen each time
foo is entered.
Wipe foo with: :bw foo
Now try a tab page:
:tabe foo
The message appears as expected. However leaving and then
entering the foo tab page does not display the message!
Typing :mes shows that the message was indeed displayed.
What is overwriting it?
--
Best regards,
Bill