unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: display-time-string-forms
Date: Wed, 10 Oct 2007 11:04:44 -0500	[thread overview]
Message-ID: <d-WdnUsSp4TdZZHanZ2dnUVZ_q6hnZ2d@sysmatrix.net> (raw)
In-Reply-To: <024d5af2$0$23385$c3e8da3@news.astraweb.com>

Warren Oates wrote:
> In article <mailman.1909.1191999022.18990.help-gnu-emacs@gnu.org>,
>  Dieter Wilhelm <dieter@duenenhof-wilhelm.de> 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	other threads:[~2007-10-10 16:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-09 23:11 display-time-string-forms Sean Sieger
2007-10-10  6:53 ` display-time-string-forms Dieter Wilhelm
2007-10-10  8:28 ` display-time-string-forms Peter Dyballa
     [not found] ` <mailman.1909.1191999022.18990.help-gnu-emacs@gnu.org>
2007-10-10 12:05   ` display-time-string-forms Warren Oates
2007-10-10 16:04     ` B. T. Raven [this message]
2007-10-10 18:56       ` display-time-string-forms Drew Adams
2007-10-10 19:50       ` display-time-string-forms Peter Dyballa
2007-10-11  0:25         ` display-time-string-forms Dieter Wilhelm
2007-10-10 18:00     ` display-time-string-forms Sean Sieger

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=d-WdnUsSp4TdZZHanZ2dnUVZ_q6hnZ2d@sysmatrix.net \
    --to=nihil@nihilo.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.
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).