help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Minibuffer tray to display current time and date


From: Stefan Monnier
Subject: Re: Minibuffer tray to display current time and date
Date: Tue, 28 Apr 2015 20:53:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> (setq-default minibuffer-line-format
>              '((:eval (propertize (format-time-string "%R")
>                                    'font-lock-face
>                                    'minibuffer-line-time))
>                " "
>                 (:eval (format-time-string "%F"))))

You want to use `face' rather than `font-lock-face', because
font-lock-mode is not enabled in " *Minibuf-0*".

> (defgroup minibuffer-line ()
>   "Use the idle minibuffer window to display status information."
>   :group 'mode-line)

> what about a new separate group `minibuffer-line'?

I don't understand: the above quoted code defines a new separate group
`minibuffer-line', so what is it you're asking?


        Stefan




reply via email to

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