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

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

Re: display-time-string-forms


From: B. T. Raven
Subject: Re: display-time-string-forms
Date: Wed, 10 Oct 2007 11:04:44 -0500
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Warren Oates wrote:
In article <address@hidden>,
 Dieter Wilhelm <address@hidden> wrote:

I have
  (setq display-time-format "%R %Y-%m-%d")

which gives me

      08:47 2007-10-10

in the mode line.  Please have a look at the documentation to the
function:

What steps do you take to get the time to appear in your modeline? I've messed with this and _never_ been able to get the time to appear in mine.


From menu:
Options
Customize Emacs
Specific options
display TAB

Then setting 2 of these options should put

'(display-time-day-and-date t)
 '(display-time-mode t nil (time))

into your .emacs custom-set-variables section.
There is also the function

 display-time-string-forms

with which I haven't messed.

Btw, this is in version 21.3. Newer versions certainly have the same functionality.

Ed


reply via email to

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