unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Glenn Morris <rgm+news@stanford.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Images, display-time, modeline
Date: Mon, 23 Apr 2007 15:24:01 -0700	[thread overview]
Message-ID: <e21wiau3um.fsf@xoc2.stanford.EDU> (raw)
In-Reply-To: mailman.2416.1177354214.7795.help-gnu-emacs@gnu.org

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?

  parent reply	other threads:[~2007-04-23 22:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2338.1177106588.7795.help-gnu-emacs@gnu.org>
2007-04-21  1:31 ` Images, display-time, modeline Glenn Morris
2007-04-21  2:04   ` Amy Templeton
     [not found]   ` <mailman.2343.1177121073.7795.help-gnu-emacs@gnu.org>
2007-04-21 18:29     ` Glenn Morris
2007-04-23 18:49       ` Amy Templeton
     [not found]       ` <mailman.2416.1177354214.7795.help-gnu-emacs@gnu.org>
2007-04-23 22:24         ` Glenn Morris [this message]
2007-04-23 23:21           ` Amy Templeton
2007-04-20 22:02 Amy Templeton

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=e21wiau3um.fsf@xoc2.stanford.EDU \
    --to=rgm+news@stanford.edu \
    --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).