From: Paul Eggert <eggert@cs.ucla.edu>
To: Darren Hoo <darren.hoo@gmail.com>
Cc: 16594@debbugs.gnu.org
Subject: bug#16594: 24.3.50; very slow redraw when resizing windows horizontally
Date: Mon, 03 Feb 2014 11:27:36 -0800 [thread overview]
Message-ID: <52EFEDA8.3010506@cs.ucla.edu> (raw)
In-Reply-To: <52EEAF0F.9060701@cs.ucla.edu>
[-- Attachment #1: Type: text/plain, Size: 110 bytes --]
While we're waiting for more info, attached is another shot in the dark;
does this work around the problem?
[-- Attachment #2: atimer.diff --]
[-- Type: text/x-patch, Size: 593 bytes --]
=== modified file 'src/atimer.c'
--- src/atimer.c 2014-01-01 07:43:34 +0000
+++ src/atimer.c 2014-02-03 19:16:53 +0000
@@ -340,9 +340,12 @@
static void
run_timers (void)
{
- struct timespec now = current_timespec ();
+ struct timespec now = make_timespec (TYPE_MINIMUM (time_t), -1);
- while (atimers && timespec_cmp (atimers->expiration, now) <= 0)
+ while (atimers
+ && (timespec_cmp (atimers->expiration, now) <= 0
+ || (now = current_timespec (),
+ timespec_cmp (atimers->expiration, now) <= 0)))
{
struct atimer *t = atimers;
atimers = atimers->next;
next prev parent reply other threads:[~2014-02-03 19:27 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-30 8:01 bug#16594: 24.3.50; very slow redraw when resizing windows horizontally Darren Hoo
2014-01-30 13:47 ` martin rudalics
2014-01-30 15:39 ` Darren Hoo
2014-01-30 16:14 ` Eli Zaretskii
2014-01-30 15:44 ` Stefan Monnier
2014-01-30 16:27 ` Eli Zaretskii
2014-01-30 16:53 ` martin rudalics
2014-01-30 17:27 ` martin rudalics
2014-01-30 17:33 ` Eli Zaretskii
2014-01-30 17:57 ` martin rudalics
2014-01-30 17:58 ` Eli Zaretskii
2014-01-30 18:57 ` Darren Hoo
2014-01-30 20:17 ` Eli Zaretskii
2014-01-31 3:16 ` Darren Hoo
2014-01-31 8:22 ` Eli Zaretskii
2014-01-31 9:58 ` Jan D.
2014-01-31 11:31 ` Eli Zaretskii
2014-01-31 12:13 ` Jan D.
2014-01-31 12:54 ` Darren Hoo
2014-01-31 13:47 ` Jan D.
2014-01-31 13:57 ` Darren Hoo
2014-01-30 18:46 ` martin rudalics
2014-01-30 21:57 ` Stefan Monnier
2014-01-31 10:42 ` martin rudalics
2014-01-30 16:39 ` Darren Hoo
2014-01-30 16:15 ` Eli Zaretskii
2014-01-31 20:56 ` Darren Hoo
2014-02-01 6:08 ` Paul Eggert
2014-02-01 9:12 ` Darren Hoo
2014-02-01 17:46 ` Eli Zaretskii
2014-02-02 0:52 ` Paul Eggert
2014-02-02 5:28 ` Darren Hoo
2014-02-02 15:57 ` Eli Zaretskii
2014-02-02 20:48 ` Paul Eggert
2014-02-03 19:27 ` Paul Eggert [this message]
2014-02-06 13:06 ` Darren Hoo
2014-02-06 15:23 ` Darren Hoo
2014-02-06 18:34 ` Paul Eggert
2014-02-06 22:14 ` Stefan Monnier
2014-02-08 22:43 ` Darren Hoo
2014-02-09 4:17 ` Paul Eggert
2014-02-09 6:42 ` Darren Hoo
2014-02-09 7:09 ` Adrian Robert
2014-02-09 7:16 ` Adrian Robert
2014-02-09 19:43 ` Stefan Monnier
2014-02-11 6:03 ` Jan Djärv
2014-03-09 13:27 ` Jan Djärv
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52EFEDA8.3010506@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=16594@debbugs.gnu.org \
--cc=darren.hoo@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.