help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display-time-* variables


From: Stephen Berman
Subject: Re: display-time-* variables
Date: Thu, 05 Jan 2012 22:51:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

On Thu, 05 Jan 2012 07:02:07 -0500 Eli Zaretskii <eliz@gnu.org> wrote:

>> cc: levy@msri.org, help-gnu-emacs@gnu.org
>> From: Silvio Levy <levy@msri.org>
>> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]