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: Alexander Shukaev
Subject: Re: Minibuffer tray to display current time and date
Date: Tue, 28 Apr 2015 19:32:16 +0200

​Interesting, Eli, could you elaborate?​

On Tue, Apr 28, 2015 at 7:30 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Tue, 28 Apr 2015 19:27:05 +0200
> > From: Alexander Shukaev <haroogan@gmail.com>
> > Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
> >
> > One feature I thought about is justifying it to the right.  This function
> > should do the job:
> >
> > (defun minibuffer-line-right-justified
> >     (string)
> >   (format (format "%d %%s" (- (window-width (minibuffer-window)) (length
> > string))) string))
>
> Why not use :align-to instead?
>
>


reply via email to

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