From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: display-time-string-forms Date: Wed, 10 Oct 2007 11:04:44 -0500 Message-ID: References: <87ir5fublw.fsf@gmail.com> <024d5af2$0$23385$c3e8da3@news.astraweb.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1192034510 29023 80.91.229.12 (10 Oct 2007 16:41:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2007 16:41:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 10 18:41:48 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ifecw-0004j3-IX for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Oct 2007 18:41:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ifecq-0005OJ-Oq for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Oct 2007 12:41:36 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Wed, 10 Oct 2007 11:05:20 -0500 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) Original-Newsgroups: gnu.emacs.help In-Reply-To: <024d5af2$0$23385$c3e8da3@news.astraweb.com> Original-Lines: 41 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 65.45.140.48 Original-X-Trace: sv3-vswcUSweCde3gehNJgqdnOsKtS/2QrumcupJVbyaTtvQQFfzOnyMomhXnu42G5XQsrLC1DJ7ImbA7Ey!+3L1uTuXTLi3BTmqhNURjOhSdsllZLKcwk8D+pVa+bf1fHOCNAHng5sCTschX18hZkABPIh7HNCj!EKTu7/hegnPsTNScCKxXI3drL5VJnQ== Original-X-Complaints-To: abuse@sysmatrix.net X-DMCA-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.36 Original-Xref: shelby.stanford.edu gnu.emacs.help:152804 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48309 Archived-At: Warren Oates wrote: > In article , > Dieter Wilhelm 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