From: Amy Templeton <amy.g.templeton@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Images, display-time, modeline
Date: Mon, 23 Apr 2007 14:49:34 -0400 [thread overview]
Message-ID: <87slarc4e9.fsf@gmail.com> (raw)
In-Reply-To: <8zzm51wpgh.fsf@xoc2.stanford.EDU> (Glenn Morris's message of "Sat, 21 Apr 2007 11:29:50 -0700")
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
next prev parent reply other threads:[~2007-04-23 18:49 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 [this message]
[not found] ` <mailman.2416.1177354214.7795.help-gnu-emacs@gnu.org>
2007-04-23 22:24 ` Glenn Morris
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=87slarc4e9.fsf@gmail.com \
--to=amy.g.templeton@gmail.com \
--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).