[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I put display-time to the right of the mode line?
From: |
Wes James |
Subject: |
Re: How can I put display-time to the right of the mode line? |
Date: |
Wed, 11 Dec 2013 15:17:01 -0700 |
On Wed, Dec 11, 2013 at 2:22 PM, Johan Bockgård <bojohan+news@gnu.org>wrote:
> Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>
> > Hello,
> >
> > Is there a way to have some information in the mode line, in my case the
> > time showed by display-time, to be at all the way to the right of the
> > mode line?
>
> Try something like
>
> (display-time)
> (setq global-mode-string (remove 'display-time-string
> global-mode-string))
> (setq mode-line-end-spaces
> (list (propertize " " 'display '(space :align-to (- right 12)))
> 'display-time-string))
>
I put this in to scratch buffer and then did M-x eval-buffer, but I don't
see any change. What am I missing?
Thanks,
-wes
- How can I put display-time to the right of the mode line?, Alan Schmitt, 2013/12/11
- Re: How can I put display-time to the right of the mode line?, Emanuel Berg, 2013/12/11
- Re: How can I put display-time to the right of the mode line?, Johan Bockgård, 2013/12/11
- Re: How can I put display-time to the right of the mode line?,
Wes James <=
- Re: How can I put display-time to the right of the mode line?, Emanuel Berg, 2013/12/11
- Re: How can I put display-time to the right of the mode line?, Johan Bockgård, 2013/12/11
- Re: How can I put display-time to the right of the mode line?, Wes James, 2013/12/11
- Re: How can I put display-time to the right of the mode line?, Emanuel Berg, 2013/12/11
- Re: How can I put display-time to the right of the mode line?, Emanuel Berg, 2013/12/13
- Re: How can I put display-time to the right of the mode line?, Rusi, 2013/12/14
- Re: How can I put display-time to the right of the mode line?, Emanuel Berg, 2013/12/14
- Re: How can I put display-time to the right of the mode line?, Rusi, 2013/12/15
Re: How can I put display-time to the right of the mode line?, Alan Schmitt, 2013/12/12