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

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

bug#18912: 24.4; mode-line corruption on graphical frames in dual-headed


From: Bruno Félix Rezende Ribeiro
Subject: bug#18912: 24.4; mode-line corruption on graphical frames in dual-headed display
Date: Wed, 05 Nov 2014 04:28:53 -0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30

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;

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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