unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: display-time-* variables
@ 2012-01-05  7:27 Silvio Levy
  2012-01-05 12:02 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Silvio Levy @ 2012-01-05  7:27 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs


Thanks, Eli.  Indeed I had the wrong name for the 24h variable.

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, and also, querying the value
of the variable with C-h v gives this: (with 0 either way)

   display-time-load-average is a variable defined in `time.el'.
   Its value is 0
   
   Documentation:
   Load average currently being shown in mode line. 

(I suppose I could instead set display-time-load-average-threshold to
a high value, which does work. Or I could try
display-time-string-forms. But somehow I'd like to understand how
display-time-load-average is mean to be used...)

Silvio





^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: display-time-* variables
@ 2012-01-05 18:17 Silvio Levy
  0 siblings, 0 replies; 6+ messages in thread
From: Silvio Levy @ 2012-01-05 18:17 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs


> 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.

Thank you for clarifying that. I would suggest in that case that 
"Its value is 0" as a result of C-h v  is misleading, as it negates
the description "Load average currently being shown in mode line",
which would otherwise be clear.

Best wishes,

Silvio





^ permalink raw reply	[flat|nested] 6+ messages in thread
* display-time-* variables
@ 2012-01-05  6:14 Silvio Levy
  2012-01-05  7:01 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Silvio Levy @ 2012-01-05  6:14 UTC (permalink / raw)
  To: help-gnu-emacs

Dear Emacsers,

I don't seem to be able to control my time display.

GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-03-04 on palmer, modified by Debian

emacs -Q -l foo 

where foo contains

(setq display-time-24h-format t)
(setq display-time-load-average t)
(display-time)

I still get the same display as if I had not set the variables.
I would like 24h format (currently I get AM/PM format)
I would like no load average or email flag.   (currently I get them).

I'm trying t for both these variables since
the default, nil, shows these unwanted things.

Thanks,

Silvio



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-01-05 21:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-05  7:27 display-time-* variables Silvio Levy
2012-01-05 12:02 ` Eli Zaretskii
2012-01-05 21:51   ` Stephen Berman
  -- 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).