From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Why do idle timers trigger redisplay? Date: Sun, 14 Feb 2016 08:51:25 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455458124 28166 80.91.229.3 (14 Feb 2016 13:55:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Feb 2016 13:55:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 14 14:55:15 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aUx8t-0002Jz-1K for ged-emacs-devel@m.gmane.org; Sun, 14 Feb 2016 14:55:15 +0100 Original-Received: from localhost ([::1]:50823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUx8s-0007RR-Au for ged-emacs-devel@m.gmane.org; Sun, 14 Feb 2016 08:55:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUx8o-0007QB-7J for emacs-devel@gnu.org; Sun, 14 Feb 2016 08:55:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUx8j-0000Kt-8p for emacs-devel@gnu.org; Sun, 14 Feb 2016 08:55:10 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:32848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUx8j-0000KP-1S for emacs-devel@gnu.org; Sun, 14 Feb 2016 08:55:05 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUx8i-0002DS-3m for emacs-devel@gnu.org; Sun, 14 Feb 2016 14:55:04 +0100 Original-Received: from 23-91-130-126.cpe.pppoe.ca ([23.91.130.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 14:55:04 +0100 Original-Received: from monnier by 23-91-130-126.cpe.pppoe.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 14:55:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 11 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 23-91-130-126.cpe.pppoe.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:jM47FAOkgRgmYutLDwKTUkTVhpI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199921 Archived-At: > Thank you, Eli, for helping me to better understand why code run by timers > is considered input that triggers redisplay (which in turn figures out what > to do). Presumably idle timers have effects (their return value is ignored, so if they have no effect they're useless). So they may change buffers or elements that affect the mode-line. So a redisplay cycle needs to be triggered after running them. Stefan