From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Shukaev Newsgroups: gmane.emacs.help Subject: Re: Minibuffer tray to display current time and date Date: Tue, 28 Apr 2015 19:32:16 +0200 Message-ID: References: <87h9s7hd7a.fsf@debian.uxu> <87383qvoi4.fsf@debian.uxu> <874mo6bgzx.fsf@debian.uxu> <20150424141319.GA19093@tuxteam.de> <831tj9zizy.fsf@gnu.org> <87ioclo9p5.fsf@yale.edu> <83wq11xyiu.fsf@gnu.org> <87h9s3havb.fsf@yale.edu> <83bnibx7wy.fsf@gnu.org> <83egn4upmr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1430242367 1380 80.91.229.3 (28 Apr 2015 17:32:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2015 17:32:47 +0000 (UTC) Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 28 19:32:44 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yn9ND-0004Xr-JD for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Apr 2015 19:32:43 +0200 Original-Received: from localhost ([::1]:35198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn9NC-0002xL-QT for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Apr 2015 13:32:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn9Ms-0002rQ-Pj for help-gnu-emacs@gnu.org; Tue, 28 Apr 2015 13:32:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yn9Mr-0007gU-UT for help-gnu-emacs@gnu.org; Tue, 28 Apr 2015 13:32:22 -0400 Original-Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]:36162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn9Mn-0007fc-97; Tue, 28 Apr 2015 13:32:17 -0400 Original-Received: by lbbqq2 with SMTP id qq2so1430567lbb.3; Tue, 28 Apr 2015 10:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gZExXBLj04aT5x7I3dXjQAYmjWAI8Ku4nT+F48U2LUg=; b=pExIA2dpIlD9UuuwYkhEw0I5/hdLOrDeUGlB2juxP6/KMiU5Kap9cH3focblRnkFou MQA/G94GJ8pZ1E6mCgSd1/Zd5S8bHHt6kKeaozCZKXUVjDUAeGcOhmfB64yETAy5ewhM H+t4Kegui06ZjUos0sikxSYPopQxEniN0mtxRmXpqUklEPQ2k/7dS0MM1phgPbLQEhmz dAwn3q2rd94MGbNKh01J5t4gYk/TLCQgILHJapr6W/ASZz9fENZheY67/aGn58zmH8W/ Fk5aQ0atBOP1gbEfacZrBZaSBWmitFLIMPuf2pEaUvPTjAwERTgZ78GT6eb8VaW9Fy4f zh9A== X-Received: by 10.112.171.101 with SMTP id at5mr4344949lbc.66.1430242336451; Tue, 28 Apr 2015 10:32:16 -0700 (PDT) Original-Received: by 10.112.36.103 with HTTP; Tue, 28 Apr 2015 10:32:16 -0700 (PDT) In-Reply-To: <83egn4upmr.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::229 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104041 Archived-At: =E2=80=8BInteresting, Eli, could you elaborate?=E2=80=8B On Tue, Apr 28, 2015 at 7:30 PM, Eli Zaretskii wrote: > > Date: Tue, 28 Apr 2015 19:27:05 +0200 > > From: Alexander Shukaev > > Cc: help-gnu-emacs > > > > One feature I thought about is justifying it to the right. This functi= on > > should do the job: > > > > (defun minibuffer-line-right-justified > > (string) > > (format (format "%d %%s" (- (window-width (minibuffer-window)) (lengt= h > > string))) string)) > > Why not use :align-to instead? > >