From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 15999@debbugs.gnu.org
Subject: bug#15999: 24.3.50; Redisplay broken with split windows
Date: Fri, 29 Nov 2013 13:01:03 -0500 [thread overview]
Message-ID: <jwvmwknayod.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87zjon6vv8.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Fri, 29 Nov 2013 17:00:43 +0100")
> 115272: Stefan Monnier 2013-11-28 Refine redisplay optimizations to only
> redisplay *some* frames/windows
Sounds highly likely, indeed.
> 0. emacs -Q
> 1. M-x display-time-mode
> 3. C-x 2 (or C- x 3)
> 4. C-x b, so one window displays *scratch* and the other *Messages*.
> 5. When the displayed time changes, only the current buffer is updated;
> in the other buffer the time display is unchanged, and the scroll bar
> disappears (note my build does not use toolkit scroll bars, I don't
> know if that makes a differences.) This states of affairs remains
> until the non-updated buffer becomes current.
- The mode-line not being redrawn in the other window is expected.
The patch below should fix it.
- But for some reason I couldn't reproduce it (looks like something
somewhere in my tests is causing the extra redisplay needed).
Ah, I could reproduce it by building --without-toolkit-scroll-bars, so
it looks like the presence of toolkit scrollbars somehow plays an
important role.
- The scroll-bar disappearance is not expected. If the patch below
makes this problem disappear, it's only because it hides it, not
because it fixes it.
Stefan
=== modified file 'lisp/time.el'
--- lisp/time.el 2013-08-09 18:49:36 +0000
+++ lisp/time.el 2013-11-29 17:43:47 +0000
@@ -471,7 +471,7 @@
;; This is inside the let binding, but we are not going to document
;; what variables are available.
(run-hooks 'display-time-hook))
- (force-mode-line-update))
+ (force-mode-line-update 'all))
(defun display-time-file-nonempty-p (file)
(let ((remote-file-name-inhibit-cache (- display-time-interval 5)))
next prev parent reply other threads:[~2013-11-29 18:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-29 16:00 bug#15999: 24.3.50; Redisplay broken with split windows Stephen Berman
2013-11-29 18:01 ` Stefan Monnier [this message]
2013-11-29 18:21 ` Stefan Monnier
2013-11-29 20:02 ` Stephen Berman
2013-11-29 20:06 ` Stephen Berman
2013-11-30 17:55 ` Stephen Berman
2013-11-30 20:23 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvmwknayod.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=15999@debbugs.gnu.org \
--cc=stephen.berman@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).