GNU bug report logs - #78861
[PATCH] Avoid calendar flicker

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Sun, 22 Jun 2025 07:01:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: 78861 <at> debbugs.gnu.org
Subject: Re: bug#78861: [PATCH] Avoid calendar flicker
Date: Sun, 22 Jun 2025 17:43:36 +0300
> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
> Cc: 78861 <at> debbugs.gnu.org
> Date: Sun, 22 Jun 2025 16:08:37 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > If the above is the best scenario you can offer, then please point me
> > to the code in calendar that first draws the numbers in black and then
> > redraws them in red, and I will take a look.
> 
> Thanks Eli.  I think most takes place in `diary-mark-entries' at
> diary-lib.el:1377.

Thanks.  Then I guess the problem is the calls to sit-for, which
performs redisplay, in calendar-generate-window before it calls
diary-mark-entries.  Any idea why we are calling sit-for there?  If
you remove those calls or add the optional second argument non-nil to
them, does the problem go away?




This bug report was last modified 20 days ago.

Previous Next


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