By the way, the documentation says that zle -R should be called after changing the command line from within a ZLE widget.
> Redisplay the command line; this is to be called from within a user-defined
widget to allow changes to become visible.
However, when playing with LBUFFER and RBUFFER I realized that zle -R is not needed and the changes are visible immediately.
Why is it so?
Peter