[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Images, display-time, modeline
From: |
Glenn Morris |
Subject: |
Re: Images, display-time, modeline |
Date: |
Mon, 23 Apr 2007 15:24:01 -0700 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
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?
- Images, display-time, modeline, Amy Templeton, 2007/04/20
- Re: Images, display-time, modeline, Glenn Morris, 2007/04/20
- Re: Images, display-time, modeline, Amy Templeton, 2007/04/20
- Message not available
- Re: Images, display-time, modeline, Glenn Morris, 2007/04/21
- Re: Images, display-time, modeline, Amy Templeton, 2007/04/23
- Message not available
- Re: Images, display-time, modeline,
Glenn Morris <=
- Re: Images, display-time, modeline, Amy Templeton, 2007/04/23