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: Eli Zaretskii
Subject: Re: Minibuffer tray to display current time and date
Date: Tue, 28 Apr 2015 20:30:36 +0300

> 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]