From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Amy Templeton Newsgroups: gmane.emacs.help Subject: Re: Images, display-time, modeline Date: Mon, 23 Apr 2007 14:49:34 -0400 Message-ID: <87slarc4e9.fsf@gmail.com> 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 1177353906 20919 80.91.229.12 (23 Apr 2007 18:45:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 18:45:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 23 20:44:59 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 1Hg3Wy-0006zX-8x for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Apr 2007 20:44:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg3cO-00008Y-H3 for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Apr 2007 14:50:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hg3c5-000058-IK for help-gnu-emacs@gnu.org; Mon, 23 Apr 2007 14:50:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hg3c3-0008Vn-OQ for help-gnu-emacs@gnu.org; Mon, 23 Apr 2007 14:50:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg3c3-0008Vf-Ki for help-gnu-emacs@gnu.org; Mon, 23 Apr 2007 14:50:11 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.242]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hg3Wc-00010f-RD for help-gnu-emacs@gnu.org; Mon, 23 Apr 2007 14:44:34 -0400 Original-Received: by an-out-0708.google.com with SMTP id b8so1859041ana for ; Mon, 23 Apr 2007 11:44:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:references:x-now-playing:x-emacs-acronym:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=t3TCCP2jl+iWJuXUEFGQ0NbBTskl6pe+TaAlea9y77a5nfogkoQjNc2XpsUBgrTXyCR6wp3G4OKMUszmvK6FCpGyRGG5gSjNJOSUS6wg5A1bVGW7kxmoJLwxddyOiLMgzDKpg9yurbiCTThT7dIsr/b9+rw8WpOwQquxZJ2U/wk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:references:x-now-playing:x-emacs-acronym:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=tPeY1MahGyMgHByVkVlIK0HVEfUXRmKqFadGlLgugKd4VFfX16OyRoYtwhRUaFl3wK0V2PadJE5OPaM9oi4eLj4y4YpGAFbQlonfHWzzjsALVyT2m8MrtrcL/ELWZ7p+gocqE77Rxxd/PTqya+csoMo556Qg8AEVBoeGtVH35sM= Original-Received: by 10.100.106.5 with SMTP id e5mr3959417anc.1177353873721; Mon, 23 Apr 2007 11:44:33 -0700 (PDT) Original-Received: from localhost ( [132.162.188.251]) by mx.google.com with ESMTP id c4sm8111806anc.2007.04.23.11.44.32; Mon, 23 Apr 2007 11:44:33 -0700 (PDT) X-Now-Playing: Espers - Meadow X-Emacs-Acronym: Experience the Mildest Ad Campaign ever Seen In-Reply-To: <8zzm51wpgh.fsf@xoc2.stanford.EDU> (Glenn Morris's message of "Sat, 21 Apr 2007 11:29:50 -0700") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) X-detected-kernel: Linux 2.6 (newer, 2) 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:43026 Archived-At: 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