[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31196: 27.0.50; shr sometimes doesn't break lines as it should
From: |
Eli Zaretskii |
Subject: |
bug#31196: 27.0.50; shr sometimes doesn't break lines as it should |
Date: |
Tue, 17 Apr 2018 20:35:36 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Tue, 17 Apr 2018 19:03:38 +0200
>
> (- (window-body-width nil t)
> (* 2 (frame-char-width))
> (if (and (null shr-width)
> (not (shr--have-one-fringe-p)))
> (* (frame-char-width) 2)
> 0))
>
> This kludge is how shr computes how many pixels the window has
> horizontally.
Why is that a kludge?