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

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Wed, 8 Jul 2015 18:11:02 UTC

Severity: minor

Found in version 25.0.50

Done: Michael Heerdegen <michael_heerdegen <at> web.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 21012 <at> debbugs.gnu.org
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
Eli Zaretskii <eliz <at> gnu.org> 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.




This bug report was last modified 9 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.