Should prepending :silent to a command be suppressing an autocommand?

Neither the docs for autocommands nor the docs for :silent indicate
this is the intended behavior.

For example:

using the following the autocommand is executed as expected with the
desired output

vim -u NONE -c "set nocompatible | set verbose=10 | autocmd
BufWinEnter test_file echom 'Test file opened.'" -c "edit test_file"

however, after adding :silent, the autocommand does not fire and there
is no output

vim -u NONE -c "set nocompatible | set verbose=10 | autocmd
BufWinEnter test_file echom 'Test file opened.'" -c "silent edit
test_file"

--
eric

Reply via email to