* [Question] How to get current active window in minibuffer?
@ 2021-10-25 1:32 tumashu
2021-10-25 1:35 ` [External] : " Drew Adams
0 siblings, 1 reply; 4+ messages in thread
From: tumashu @ 2021-10-25 1:32 UTC (permalink / raw)
To: emacs-devel@gnu.org
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
Hello everyone:
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
Thanks!
[-- Attachment #2: Type: text/html, Size: 467 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [External] : [Question] How to get current active window in minibuffer?
2021-10-25 1:32 [Question] How to get current active window in minibuffer? tumashu
@ 2021-10-25 1:35 ` Drew Adams
2021-10-25 2:01 ` tumashu
0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2021-10-25 1:35 UTC (permalink / raw)
To: tumashu, emacs-devel@gnu.org
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re:RE: [External] : [Question] How to get current active window in minibuffer?
2021-10-25 1:35 ` [External] : " Drew Adams
@ 2021-10-25 2:01 ` tumashu
2021-10-25 2:37 ` Stefan Kangas
0 siblings, 1 reply; 4+ messages in thread
From: tumashu @ 2021-10-25 2:01 UTC (permalink / raw)
To: Drew Adams; +Cc: emacs-devel@gnu.org
At 2021-10-25 09:35:42, "Drew Adams" <drew.adams@oracle.com> wrote:
>> 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.
Sorry, minibuffer-window is not my need, I want to get the window before minibuffer-window active, from minibuffer.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re:RE: [External] : [Question] How to get current active window in minibuffer?
2021-10-25 2:01 ` tumashu
@ 2021-10-25 2:37 ` Stefan Kangas
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2021-10-25 2:37 UTC (permalink / raw)
To: tumashu, Drew Adams; +Cc: emacs-devel@gnu.org
tumashu <tumashu@163.com> writes:
> Sorry, minibuffer-window is not my need, I want to get the window
> before minibuffer-window active, from minibuffer.
Are you perhaps looking for `minibuffer-selected-window'?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-25 2:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-25 1:32 [Question] How to get current active window in minibuffer? tumashu
2021-10-25 1:35 ` [External] : " Drew Adams
2021-10-25 2:01 ` tumashu
2021-10-25 2:37 ` Stefan Kangas
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).