improve dumping result to message

using feedkeys() hack because popup output in autocmd is not allowed.