From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.help Subject: Re: Images, display-time, modeline Date: Mon, 23 Apr 2007 15:24:01 -0700 Organization: None Message-ID: References: <8zzm51wpgh.fsf@xoc2.stanford.EDU> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177367763 29381 80.91.229.12 (23 Apr 2007 22:36:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 22:36:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 00:36:00 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 1Hg78Z-00034o-Vs for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Apr 2007 00:36:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg7E1-0005AW-9v for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Apr 2007 18:41:37 -0400 Original-Path: shelby.stanford.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: xoc2.stanford.edu Original-X-Trace: news.Stanford.EDU 1177367041 6779 171.64.109.31 (23 Apr 2007 22:24:01 GMT) Original-X-Complaints-To: news@news.stanford.edu X-Spook: motorcade MI6 embassy Avtomat Kalasnikov warrant X-Ran: uG;)q&M|~c9i=MQyo8Oi&H4s|L}FKE\D`X|Q3V?Z$S=>le#verqf?Lhz/lI5m`$T)Ml!Rj X-Hue: green X-Attribution: GM Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: nobody User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cancel-Lock: sha1:LkSxYgEgnjMezZaOiEgqR5kH5F8= Original-Xref: shelby.stanford.edu gnu.emacs.help:147429 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:43033 Archived-At: Amy Templeton wrote: >> What's the value of display-time-string-forms > > ((if > (and (not display-time-format) display-time-day-and-date) > (format-time-string "%a %b %e " now) "") > (format-time-string > (or display-time-format > (if display-time-24hr-format > "%H:%M" > "%-I:%M%p"))) > (if mail > (concat " " > (propertize > "Mail" ... ... ... "mouse-2: Read mail" ... ...)) > "")) As shown there, that seems to be missing a few pieces, but probably should not read too much into that. > Incidentally, what do all the ...'s mean? They don't seem to be > either a function or a variable. Just that the printing was truncated. Probably see eval-expression-print-level, eval-expression-print-length. >> (insert (propertize "foo" 'display display-time-mail-icon)) > > It inserts the icon! OK, so try: (put 'display-time-string 'risky-local-variable t) though you should not need to. Do you have this problem with: emacs -q --no-site-file \ --eval '(progn (setq display-time-use-mail-icon t) (display-time-mode 1))' when you have mail?