On 10/3/2024 3:59 AM, Eli Zaretskii wrote: > I think image-mode is just the tip of a very large iceberg, see above: > visual-wrap-prefix-mode currently doesn't correctly handle text > covered by display properties. I think this bug was uncovered when we > removed on master a few artificial restrictions on min-width, such as > non-support for display and overlay strings. How about something like this? With this patch, if the start of a line is in the middle of a multi-line display spec, 'visual-wrap-prefix-mode' won't add any new properties. That should prevent any unwanted interference.