GNU bug report logs - #18912
24.4; mode-line corruption on graphical frames in dual-headed display

Previous Next

Package: emacs;

Reported by: Bruno Félix Rezende Ribeiro <oitofelix <at> gnu.org>

Date: Fri, 31 Oct 2014 15:51:04 UTC

Severity: normal

Found in version 24.4

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #170 received at 18912 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Félix Rezende Ribeiro <oitofelix <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 18912 <at> debbugs.gnu.org
Subject: Re: bug#18912: 24.4; mode-line corruption on graphical frames
 in dual-headed display
Date: Wed, 05 Nov 2014 04:28:53 -0200
[Message part 1 (text/plain, inline)]
Eli Zaretskii wrote:
> Then try this:
> 
>   (add-hook 'pre-command-hook 'force-mode-line-update)

It doesn't work. :-(

In fact, even

  (add-hook 'pre-command-hook (lambda () (call-process "xrefresh")))

doesn't work completely.

The difference between the two, however, is the fact that while
'force-mode-line-update' has no effect at all, so as one scrolls trough
a buffer the mode-line becomes increasingly corrupt, accumulating over
it the trail of all the lines which were once "below" it --- as if the
mode-line's background was never cleared, the 'xrefresh' command makes
Emacs repaint the mode-line's background so at each scrolling the
mode-line is "cleanly" corrupted by the current buffer's line "below"
it, and only by that one.

-- 
 ,= ,-_-. =.  Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
((_/)o o(\_)) There is no system but GNU;
 `-'(. .)`-'  GNU Linux-Libre is one of its official kernels;
     \_/      All software must be free as in freedom;

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 10 years and 200 days ago.

Previous Next


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