all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Minibuffer tray to display current time and date
Date: Wed, 22 Apr 2015 13:05:30 -0400	[thread overview]
Message-ID: <jwv8udkgl99.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: CAKu-7WwvV6bGVyN_Svpmgs0M-2E1q9vy+ZeDPDqG92uSwb6L4A@mail.gmail.com

> I was wondering if there is a possibility to display current time and date
> on the right side (right-aligned) of the minibuffer (similarly to how trays
> do on desktops)?  I'm OK with the fact that it can disappear when one uses
> minibuffer (for `M-x' or whatever), but it should appear again as soon as
> minibuffer is idle.  I'm also aware of

I'd welcome a package that lets you display such info in the minibuffer.
This has been requested several times already.

Basically, the situation is that what you call the "minibuffer" is
actually a mini-window.  Those windows can display normal buffers.
Among the buffers they display, are the so-called minibuffers, which are
normal buffers, named like " *Minibuf-N*", used during minibuffer input.
There are also echo-area buffers (2 of them, named " *Echo Area 0/1*")
which are used to display "message"s.

IIUC, the "idle minibuffer" AFAIK is actually displaying the buffer
" *Minibuf-0*", so if you put the data you want into that buffer, it
should be displayed where/when you want it.
E.g. try:

   M-: (with-current-buffer " *Minibuf-0*" (insert "I'm Idle!")) RET

*BUT*, IIRC there is somewhere in the C code where we sometimes just
"clear" the mini-window (under the assumption that the buffer it
displays doesn't contain anything) instead of actually displaying its
content, so in order for such a package to work reliably, we may need to
patch the C code.  But it might work well enough to be usable without
such a patch.


        Stefan




  parent reply	other threads:[~2015-04-22 17:05 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-22 16:07 Minibuffer tray to display current time and date Alexander Shukaev
2015-04-22 16:11 ` Eli Zaretskii
2015-04-22 16:17   ` Alexander Shukaev
2015-04-22 16:57     ` Michael Heerdegen
2015-04-22 17:05 ` Stefan Monnier [this message]
     [not found] ` <mailman.1379.1429722347.904.help-gnu-emacs@gnu.org>
2015-04-23  0:59   ` Emanuel Berg
2015-04-23 15:15     ` Jorge A. Alfaro-Murillo
     [not found]     ` <mailman.1461.1429802140.904.help-gnu-emacs@gnu.org>
2015-04-23 15:43       ` Emanuel Berg
2015-04-23 18:11         ` Jorge A. Alfaro-Murillo
     [not found]         ` <mailman.1474.1429812715.904.help-gnu-emacs@gnu.org>
2015-04-23 22:46           ` Emanuel Berg
2015-04-24 14:13             ` tomas
2015-04-24 14:41               ` Eli Zaretskii
2015-04-24 14:57                 ` Jorge A. Alfaro-Murillo
2015-04-24 16:48                   ` Eli Zaretskii
2015-04-24 20:18                     ` Jorge A. Alfaro-Murillo
     [not found]                     ` <mailman.1562.1429906736.904.help-gnu-emacs@gnu.org>
2015-04-25  1:11                       ` Dan Espen
2015-04-26  2:38                         ` Jorge A. Alfaro-Murillo
2015-04-26 14:48                           ` Eli Zaretskii
2015-04-26 15:52                             ` tomas
2015-04-26 16:05                               ` Eli Zaretskii
2015-04-27  0:36                             ` Stefan Monnier
2015-04-28 17:27                               ` Alexander Shukaev
2015-04-28 17:30                                 ` Eli Zaretskii
2015-04-28 17:32                                   ` Alexander Shukaev
2015-04-28 17:55                                     ` Eli Zaretskii
2015-04-29  0:53                                 ` Stefan Monnier
     [not found]                               ` <mailman.1824.1430242034.904.help-gnu-emacs@gnu.org>
2015-04-28 17:58                                 ` Emanuel Berg
2015-04-29  0:55                                   ` Stefan Monnier
2015-05-01  4:49                                     ` Alexander Shukaev
2015-05-01  4:54                                       ` Alexander Shukaev
2015-05-06 10:31                                         ` Alexander Shukaev
2015-05-06 12:49                                       ` Stefan Monnier
2015-05-12 11:34                                         ` Alexander Shukaev
2015-05-14 19:44                                           ` Stefan Monnier
2015-06-25 19:18                                             ` Alexander Shukaev
     [not found]                                         ` <mailman.2858.1431430470.904.help-gnu-emacs@gnu.org>
2015-05-12 17:24                                           ` Emanuel Berg
     [not found]                 ` <mailman.1537.1429888188.904.help-gnu-emacs@gnu.org>
2015-04-25  1:16                   ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8udkgl99.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.