GNU bug report logs - #22976
24.5; setting unread-command-events to non cons puts emacs in 100% CPU use

Previous Next

Package: emacs;

Reported by: Eyal Lotem <eyal.lotem <at> gmail.com>

Date: Thu, 10 Mar 2016 08:39:02 UTC

Severity: minor

Found in version 24.5

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eyal Lotem <eyal.lotem <at> gmail.com>
To: Andreas Schwab <schwab <at> suse.de>
Cc: 22976 <at> debbugs.gnu.org
Subject: bug#22976: 24.5; setting unread-command-events to non cons puts emacs in 100% CPU use
Date: Thu, 10 Mar 2016 09:47:46 +0000
[Message part 1 (text/plain, inline)]
I don't, but some buggy packages I use do!

Instead of wasting me hours chasing these bugs, why not output an explicit
error and set the var to nil?

This behavior caused the bug in the first place (subtle enough wrong
behavior instead of explicit error made it go unnoticed).

I'm not the first one to waste hours on this...

On Thu, Mar 10, 2016, 11:42 Andreas Schwab <schwab <at> suse.de> wrote:

> Eyal Lotem <eyal.lotem <at> gmail.com> writes:
>
> > As can be reproduced easily:
> >
> > (setq unread-command-events 1) -- emacs now at 100% CPU
> > (setq unread-command-events nil) -- emacs OK again
>
> Don't do that then.
>
> Andreas.
>
> --
> Andreas Schwab, SUSE Labs, schwab <at> suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."
>
[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 58 days ago.

Previous Next


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