From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Increasing the rate of modeline display Date: Thu, 5 Mar 2015 17:24:56 -0300 Message-ID: References: Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11345c8c8255130510905cf2 X-Trace: ger.gmane.org 1425587114 27383 80.91.229.3 (5 Mar 2015 20:25:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2015 20:25:14 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 05 21:25:13 2015 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 1YTcKX-0001BK-Is for ged-emacs-devel@m.gmane.org; Thu, 05 Mar 2015 21:25:13 +0100 Original-Received: from localhost ([::1]:54710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcKW-0006Pt-Pp for ged-emacs-devel@m.gmane.org; Thu, 05 Mar 2015 15:25:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcKJ-0006PB-TK for emacs-devel@gnu.org; Thu, 05 Mar 2015 15:25:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTcKJ-0005Kz-4H for emacs-devel@gnu.org; Thu, 05 Mar 2015 15:24:59 -0500 Original-Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:40358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcKI-0005KV-Sr for emacs-devel@gnu.org; Thu, 05 Mar 2015 15:24:59 -0500 Original-Received: by lbiw7 with SMTP id w7so14357200lbi.7 for ; Thu, 05 Mar 2015 12:24:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=+JWPJ3x59veaph9ViCsUN52o3Rt99MBDkfff4kGLnnU=; b=bqaG17Ms5s3uafGZZ8cMKLt1qHUV2k9KbgXPYATGhRYpkHdyYRY7cEKJHvv5uPY+Y4 rvt2fxDgMyh56/BZhFdva178QiVl01RpLQsDGxvpGy4Ets3L1mpMLH1MRM8bAp2IoMgX ZrUMhj89vSHDrJLOFjtYed5t2F38doxRW2fwl6P+rY0TGxUyKh8n/uduGX/ak+iwBRYN 1l+DhbYHS/k99s3PNGIiHJNK+21gwhE5n9SXmQMkQxcfOnGBjtZU5ry17crjhlP/RKka jN3TvI5k7z4htbVm59m151nzNjd36ziUf3LnBsDpr9lIcXVn/opu8BpE3yYlxG7C4V87 h4ZQ== X-Received: by 10.112.98.201 with SMTP id ek9mr9810739lbb.68.1425587096932; Thu, 05 Mar 2015 12:24:56 -0800 (PST) Original-Received: by 10.112.207.225 with HTTP; Thu, 5 Mar 2015 12:24:56 -0800 (PST) Original-Received: by 10.112.207.225 with HTTP; Thu, 5 Mar 2015 12:24:56 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: WWsK6YiVGAkb_zVWzcXcI0jZdl0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22d 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:183681 Archived-At: --001a11345c8c8255130510905cf2 Content-Type: text/plain; charset=UTF-8 Is there a way to (temporarily) increase the rate at which the mode line is redisplayed? I was trying to write a package that adds a spinner to the mode line (to indicate ongoing operations), but I hit a wall because the mode line sometimes takes many seconds to redisplay. I started writing a solution with timers, but that seems like a lot of work for something so simple. Cheers --001a11345c8c8255130510905cf2 Content-Type: text/html; charset=UTF-8

Is there a way to (temporarily) increase the rate at which the mode line is redisplayed?

I was trying to write a package that adds a spinner to the mode line (to indicate ongoing operations), but I hit a wall because the mode line sometimes takes many seconds to redisplay.
I started writing a solution with timers, but that seems like a lot of work for something so simple.

Cheers

--001a11345c8c8255130510905cf2--