>>> The variable name is ‘message-in-echo-area’. After a little testing, >>> it seems to handle all such cases well: >> >> I have not tested the patch, but it looks good to me. > > Actually this patch needs more testing. I found already > two cases that might be annoying. Better to anticipate > a possible angry reaction and fix these cases in advance. After more testing, at least all noticed problems are fixed with this patch (it also reverts previous commits that added minibuffer-message and that is not needed anymore):