Would you mind to define the slowness? I've tested the code above but didn't see the slowness, meaning that pos-tip-show version and momentary-string-display version displays in the same timing on my system, as far as I can tell. Would you also tell me about excepted exit-char? What behavior are you looking for?
– Yasushi ShojiJan 10 '17 at 6:59

1 Answer
1

I did hack together a better (but not perfect) version of the momentary-string-display version. I just rewrote the display function so that it deleted the overlay passively through a hook instead of waiting for an exit-char, which doesn't seem appropriate for what you are trying to do. The display function I put together temporarily overwrites the next line of the buffer with the message. See if you like it.