unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: tumashu <tumashu@163.com>, "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: [External] : [Question] How to get current active window in minibuffer?
Date: Mon, 25 Oct 2021 01:35:42 +0000	[thread overview]
Message-ID: <SJ0PR10MB548810FE2383380944E08B64F3839@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <6ff56dd8.ed9.17cb514455d.Coremail.tumashu@163.com>

> I want to know how to get current active window
> in minibuffer? so I can get some window info
> with the help of with-selected-window

C-h f active-minibuffer-window:

 active-minibuffer-window is a built-in function in 'C source code'.

 (active-minibuffer-window)

 Return the currently active minibuffer window, or nil if none.




  reply	other threads:[~2021-10-25  1:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-25  1:32 [Question] How to get current active window in minibuffer? tumashu
2021-10-25  1:35 ` Drew Adams [this message]
2021-10-25  2:01   ` Re:RE: [External] : " tumashu
2021-10-25  2:37     ` Stefan Kangas

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=SJ0PR10MB548810FE2383380944E08B64F3839@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=tumashu@163.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).