On 8/17/2024 1:55 AM, Eli Zaretskii wrote: >> Date: Mon, 5 Aug 2024 20:47:52 -0700 >> From: Jim Porter >> >> There's one limitation to this patch though: since SHR uses absolute >> pixel-widths for indenting internally, things can look mis-indented if >> you scale the text in the buffer. However, SHR has exactly the same >> issue when *not* using 'visual-wrap-prefix-mode', so it's really just a >> more-general bug in SHR. (It'd be nice to fix that, but I'd have to get >> a better understanding of how indentation and elements interact.) > > Thanks. This lacks a NEWS entry, but other than that, feel fee to > install on master when ready. Thanks for taking a look. I've added a NEWS entry (see attached). I also improved the implementation a bit, so the above-mentioned limitation is no longer a problem. Now, SHR/EWW will indent things properly even when using 'text-scale-adjust'. (The additional changes aren't major, so I'll probably merge this in a day or two once I've had time to sleep on it.)