From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Question about minibuffer and child frames (Posframe) Date: Wed, 02 Oct 2024 21:43:51 +0300 Message-ID: <868qv61h20.fsf@gnu.org> References: <1d2d916e-82b9-4672-bbd6-4583b5edad14@gmx.at> <24c75fcd-cbd6-4f7f-94d2-636814fcf4c7@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16867"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 02 20:44:42 2024 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 1sw4L4-0004Fg-Dm for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Oct 2024 20:44:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sw4KK-0006I0-SJ; Wed, 02 Oct 2024 14:43:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sw4KJ-0006Hs-Lz for emacs-devel@gnu.org; Wed, 02 Oct 2024 14:43:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sw4KJ-0006lE-8v; Wed, 02 Oct 2024 14:43:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Ndmpo4OLBUH84xtn9b2N5MezBAPWWD8amubMR135LN0=; b=ZANpDF4iCzzF4H0BmcM5 S1mi9ISlfWMU5eD7xE7+21NLddubgCwhuYUUPzFXoax8ywVHQ6nK/gjMcvkMud6lBrMlvdcqFocpG cRFDANfQ5VHZdOdzOY9O29CRbqdHRkZ0rhXR6gl/t72WLx/8mhdaViwVQLKR5fjglkJPcoh8+3nJ/ BZz6zn7ouY3VgE/YwSpdtStp8Q8pRg3pr+AhFAuUldTEbmPGnzlBMfwFHNue9NMwAIRvHUz4BfJAR s/W2QXJgSIY2YKfjZjiuRE6anLGqACKTp0oJKlOiCtReFQn4yYFYDKs/TCZycMCY2BH2VhanAlkue FtXutbNQQSbBWA==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Wed, 02 Oct 2024 19:17:33 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324254 Archived-At: > From: Gerd Möllmann > Cc: Emacs Devel > Date: Wed, 02 Oct 2024 19:17:33 +0200 > > martin rudalics writes: > > > The modeline of the "Completions* window seems to have the same > > background as the modeline of the normal frame's *scratch* window. > > Doesn't that hint at redisplay believing that both windows are the > > selected one? > > Probably. They are the (frame-selected-window) of their respective > frames. I guess that has previously not been possible to see on a tty. > Cab't check at the moment--I've made me a todo to check if xdisp.c does > this differently on ttys. I think the starting point is the macro CURRENT_MODE_LINE_ACTIVE_FACE_ID_3, which is used to determine which face to use for the mode line of a window.