From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re:RE: [External] : [Question] How to get current active window in minibuffer? Date: Sun, 24 Oct 2021 19:37:25 -0700 Message-ID: References: <6ff56dd8.ed9.17cb514455d.Coremail.tumashu@163.com> <1b900a5b.1530.17cb52e037b.Coremail.tumashu@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4294"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: tumashu , Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 25 04:38:04 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mepsC-0000sg-BK for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Oct 2021 04:38:04 +0200 Original-Received: from localhost ([::1]:58306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mepsA-0000uf-NX for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Oct 2021 22:38:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meprc-0000Dh-Jh for emacs-devel@gnu.org; Sun, 24 Oct 2021 22:37:28 -0400 Original-Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:34535) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meprb-0003Kz-6B for emacs-devel@gnu.org; Sun, 24 Oct 2021 22:37:28 -0400 Original-Received: by mail-pg1-x534.google.com with SMTP id h193so9459625pgc.1 for ; Sun, 24 Oct 2021 19:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=J2V31tKI/lfF976rZeuD8Fzf9BnpUDMaT030xGOjRDo=; b=n77eUq/HPKo6Cs7VwkwKloCvugHWyFmXPkCyDuNNaEu4OCseuT5Lhqwfeq2NHL8h2J r3+7RdO4HTNphs2YRdtiCOHMWbnX6Bi9hPPTlDWB7cNG9ARYXAw28eVe3r1uI5QTBGMZ O5j5PigdJXohq6MqjwmG/HMKIk79vssNg4WdXlD6lLAINZis7tSPrOtxwCOzUX9AT+Lt LUzI64st6iNd/VEH4Hvz+hNqGW2XdKhs77YkkEKIqpbrHyEb7mD57p4Jo93CgNd+Rzge ZLu2oYjTwiT4Je422Gv+KSfyTPbNjQ1IZJoFKygu7D6KZDWu+arhABw7LB/5fMKOtahg SzYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=J2V31tKI/lfF976rZeuD8Fzf9BnpUDMaT030xGOjRDo=; b=LZou/95tKpeiQH/x9AUejLCCI4zlEMMa0fUblJudeMaSaDCXgQsNr5K5D5DnMgDojw hH0C8/YxaEmyYXoMnvJfAfv7iY8sDgC9jKCRV7m7Y4HLoEEFHi9zR84ALT7cYgIpwFDP 97fOxgl08byMxkXEs2X+4Zps5ciEll0pY/uxIncotsredKqSXHROADLBYJarJY3nSXAL t+eK7l5JSVGlSVogTDxZkCsIn/V49QnwggOCXvZ/Jmc8gA+o3xO0ASXxcfHQIsvmV1NI ir9sLCxAhtZt3HGSX4W5Z78F09Erd1bqhJZygNIkG3bnU1E3rAdhh1W2IF36mpd5YjR6 qj2Q== X-Gm-Message-State: AOAM5308XPjqSaDbSgbTUmnQyxTG9HEjruNbEeQ5DGpZ9L3BK7Klz7io E6TpNLDHGTo4HpYSOCWvz6Kswtm3Zgwd56UWWtA= X-Google-Smtp-Source: ABdhPJy8FeXcwFIAHKu+C9hLy8Aj3hM+RiDOJvL4i6b8uNg+iC69sqbf52Yu4F5BWZe7/IpadhNPAKfnCEzeedXLX4A= X-Received: by 2002:a63:330f:: with SMTP id z15mr8386796pgz.42.1635129445695; Sun, 24 Oct 2021 19:37:25 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Oct 2021 19:37:25 -0700 In-Reply-To: <1b900a5b.1530.17cb52e037b.Coremail.tumashu@163.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=stefankangas@gmail.com; helo=mail-pg1-x534.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:277700 Archived-At: tumashu 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'?