[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XWEM]: Adding things to xwem-tray

From: Zajcev Evgeny
Subject: Re: [XWEM]: Adding things to xwem-tray
Date: Fri, 09 Apr 2004 08:52:47 +0400
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.5 (celery, berkeley-unix)

Steve Youngs <address@hidden> writes:

> I've been looking at my screen wondering "what's missing?"... The date!
> I need the date staring at me otherwise I have no idea what day of the
> week it is (yes, I'm serious).
> Anyway, I figure that a good place for it would be the xwem-tray.  My
> attempts, so far, have been unsuccessful. :-(
> (setq xwem-tray-config
>       '([XWEM-TRAY-DOCK (format-time-string "%a, %b%e")]))
> (xwem-tray-run-config)
> => Wrong type argument: char-or-string-p, (format-time-string "%a, %b%e")

Oh, in `xwem-tray-config' string is path to executable.  Some time
ago(and still in nongnu cvs repositary), here was some additional dock
applications written in C.  time shower(replaced by xwem-time), apm
status shower, launcher etc.  And `xwem-tray-config' was the place
where you specify path to them.

I think date support can be added to xwem-time, customizable variable
like `display-time-day-and-date'.

> Say what!  `format-time-string' returns a string, so why am I getting
> that error?

I've got such errors sometimes too, their roots at `default-directory'
function, which returns non-string sometimes.

> -- 
> |---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
> |              Ashes to ashes, dust to dust.               |
> |      The proof of the pudding, is under the crust.       |
> |------------------------------<address@hidden>---|
> _______________________________________________
> Xwem-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/xwem-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]