bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21012: 25.0.50; eww: last char of a line sometimes not fully visible


From: Michael Heerdegen
Subject: bug#21012: 25.0.50; eww: last char of a line sometimes not fully visible
Date: Fri, 10 Jul 2015 20:04:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> So how about trying to take one more column from the width available
> for filling?  Does that produce reasonable results?

I'll try that when I'm convinced that we can't do better.

Can't we find the position of the last completely visible char of a
line with

--8<---------------cut here---------------start------------->8---
  (save-excursion
    (let ((truncate-lines nil))
      (when (line-move-visual +1 t)
        (backward-char 1))
      (point)))
--8<---------------cut here---------------end--------------->8---

Is that sane?  Can we use that?  Seems to work.


Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]