[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Images, display-time, modeline
From: |
Amy Templeton |
Subject: |
Re: Images, display-time, modeline |
Date: |
Mon, 23 Apr 2007 14:49:34 -0400 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) |
Glenn Morris 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" ... ...))
""))
> and of display-time-string when you have mail?
#("2:38PM Mail" 0 7 nil 7 11 (display
(when (and display-time-use-mail-icon ...)
image :type pbm
:file
"~/vc/cvs/emacs/2007-04-15/share/emacs/22.0.97/etc/letter.pbm"
:ascent center
:background unspecified)
help-echo "mouse-2: Read mail"
local-map (keymap (mode-line
keymap ...))))
Incidentally, what do all the ...'s mean? They don't seem to
be either a function or a variable.
> You don't have gif support, which explains why Google
> logos don't appear.
Oh, duh, I guess I just forgot to ask the configure script
for that. Next update, I guess.
> What happens if you evaluate the following in the scratch
> buffer:
> (insert (propertize "foo" 'display display-time-mail-icon))
It inserts the icon!
> Does it change if you switch to letter.xbm?
I've tried pointing display-time-mail-icon to that and it
didn't show up in the modeline.
> Does it change if you switch to letter.xbm?
Instead, it prints "foo."
Any ideas on what this all means?
Thanks,
Amy
- 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 <=
- Message not available
- Re: Images, display-time, modeline, Glenn Morris, 2007/04/23
- Re: Images, display-time, modeline, Amy Templeton, 2007/04/23