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

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

Re: Day of week + time in mode-line


From: Karl Voit
Subject: Re: Day of week + time in mode-line
Date: Sat, 2 Jan 2016 13:58:40 +0100
User-agent: slrn/pre1.0.0-18 (Linux)

* Eric Abrahamsen <address@hidden> wrote:
> Karl Voit <address@hidden> writes:
>
>> I want to get date/time on my display even when my Emacs is in full
>> screen mode[1].
>>
>> [1] http://emacs-doctor.com/emacs-strip-tease.html
>
> All I've had to do is this:
> (display-time-mode t)
> (setq display-time-day-and-date t)
> See if that works as you like? My mode line is pretty much as you'd like it...

Thanks for the pointer!

My setup is similar:

(display-time-mode t)
(setq display-time-string-forms
      '((propertize (format-time-string "%A %F %R" now) 'face 'bold)))


-- 
All in all, one of the most disturbing things today is the definitive
fact that the NSA, GCHQ, and many more government organizations are
massively terrorizing the freedom of us and the next generations.
                                                  http://Karl-Voit.at




reply via email to

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