Hello,
Thanks for this package. I had a similar snippet based on modifying messages but your solution with overlays is much cleaner and even allows displaying the bar in the minibuffer!
I've already suggested a few pull requests, but I found one issue when I have a "constant" message in post-command-hook which I couldn't solve yet. See below for an example:
(minibuffer-with-setup-hook
(lambda ()
(add-hook 'post-command-hook
(lambda () (message "Hello"))
nil t))
(read-string "Input: "))
When inputting text, if echo-bar-mode is enabled the point is placed after the message (but before the echo-bar). If echo-bar-mode is disabled, the point is correctly placed before the message and at the end of the input.
Any idea how this can be solved? I can get the correct behavior for this example by not setting the cursor property in echo-bar-set-text but this of course breaks when there's not message at all.
Hello,
Thanks for this package. I had a similar snippet based on modifying messages but your solution with overlays is much cleaner and even allows displaying the bar in the minibuffer!
I've already suggested a few pull requests, but I found one issue when I have a "constant" message in
post-command-hookwhich I couldn't solve yet. See below for an example:When inputting text, if
echo-bar-modeis enabled the point is placed after the message (but before the echo-bar). Ifecho-bar-modeis disabled, the point is correctly placed before the message and at the end of the input.Any idea how this can be solved? I can get the correct behavior for this example by not setting the
cursorproperty inecho-bar-set-textbut this of course breaks when there's not message at all.