From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: display-time-* variables Date: Thu, 05 Jan 2012 22:51:10 +0100 Message-ID: <87aa61byy9.fsf@escher.fritz.box> References: <20120105072702.51F811814BB@neo.msri.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325800303 29365 80.91.229.12 (5 Jan 2012 21:51:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Jan 2012 21:51:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 05 22:51:39 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RivDn-0003gN-0J for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jan 2012 22:51:39 +0100 Original-Received: from localhost ([::1]:43218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RivDm-0006LB-K5 for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jan 2012 16:51:38 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RivDh-0006L6-SR for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 16:51:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RivDg-0003IW-Nh for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 16:51:33 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:54751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RivDg-0003IP-6N for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 16:51:32 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RivDc-0003XF-G7 for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 22:51:28 +0100 Original-Received: from i59f55af3.versanet.de ([89.245.90.243]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 22:51:28 +0100 Original-Received: from stephen.berman by i59f55af3.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 22:51:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 51 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: i59f55af3.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83362 Archived-At: On Thu, 05 Jan 2012 07:02:07 -0500 Eli Zaretskii wrote: >> cc: levy@msri.org, help-gnu-emacs@gnu.org >> From: Silvio Levy >> Date: Wed, 04 Jan 2012 23:27:02 -0800 >> >> Do you have any light to shed on display-time-load-average? >> >> Whether the file "foo" contains this text >> >> (setq display-time-load-average t) >> (display-time) >> >> or the same text with "nil" instead of "t", the result of >> >> /usr/bin/emacs -Q -l foo >> >> is the same: the load average is shown > > That's expected: display-time-load-average is not a user option. It > is the value of the load average shown in the mode line. > >> (I suppose I could instead set display-time-load-average-threshold to >> a high value, which does work. > > That is the right way of disabling the load average display. There's also this: ,---- | display-time-default-load-average is a variable defined in `time.el'. | Its value is nil | Original value was 0 | | Documentation: | Which load average value will be shown in the mode line. | Almost every system can provide values of load for past 1 minute, past 5 or | past 15 minutes. The default is to display 1 minute load average. | The value can be one of: | | 0 => 1 minute load | 1 => 5 minutes load | 2 => 15 minutes load | | You can customize this variable. `---- Setting it to `none' (i.e. nil) disables the load average display in the mode line. Steve Berman