all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: display-time-* variables
Date: Thu, 05 Jan 2012 22:51:10 +0100	[thread overview]
Message-ID: <87aa61byy9.fsf@escher.fritz.box> (raw)
In-Reply-To: E1Rim1H-0002Bk-NW@fencepost.gnu.org

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	other threads:[~2012-01-05 21:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-05  7:27 display-time-* variables Silvio Levy
2012-01-05 12:02 ` Eli Zaretskii
2012-01-05 21:51   ` Stephen Berman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-05 18:17 Silvio Levy
2012-01-05  6:14 Silvio Levy
2012-01-05  7:01 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aa61byy9.fsf@escher.fritz.box \
    --to=stephen.berman@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.