From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Let mode-line packages distinguish the selected-window Date: Tue, 29 Oct 2019 10:27:52 +0100 Message-ID: <9630e62d-d2fe-6069-0b81-dc9ce956d6bf@gmx.at> References: <87blu3pqyc.fsf@bernoul.li> <83wocrtxl3.fsf@gnu.org> <9a34b0c1-149b-a850-db88-b9d7cb5c751e@gmx.at> <87tv7triwh.fsf@bernoul.li> <43be954b-fc69-166f-eb51-fcf2c93c6ee1@gmx.at> <87r22xw46f.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="95123"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Jonas Bernoulli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 29 10:32:45 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPNrm-000OUs-VQ for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2019 10:32:43 +0100 Original-Received: from localhost ([::1]:53314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPNrg-0007HM-2D for ged-emacs-devel@m.gmane.org; Tue, 29 Oct 2019 05:32:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49082) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPNnH-00074J-PU for emacs-devel@gnu.org; Tue, 29 Oct 2019 05:28:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPNnG-00067T-7o for emacs-devel@gnu.org; Tue, 29 Oct 2019 05:28:03 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:60101) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPNnF-00066h-Q7; Tue, 29 Oct 2019 05:28:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1572341275; bh=jhX8Vgc/fDkwNuULWS2RTEKCYNqdeVRmxK7A0iHwXUY=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=kV0AsMcnUXjO5WWKksbhLSzIVm9G7M8V2Qon8GjpCWacIell5dap6lDRoDC1PQsUV ZGknw/xiRWHW5bbOjzAP9AvLoEB64D/Jb2gBt0IOwNrM+3OmHzeJ2qbF8LtvItjel7 jpRin2AqBNCPYiQsOXMjqpLaMDSlXGG6igg+o9Us= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.157]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MTzb8-1iYpjt0lyU-00Qxvf; Tue, 29 Oct 2019 10:27:55 +0100 In-Reply-To: <87r22xw46f.fsf@bernoul.li> Content-Language: de-AT X-Provags-ID: V03:K1:EWorB/CmNTosa9a26DJWpFCyxUpjZd5OiQWIkrMugDWG8U/gxbf JDcBHEA0klt6482MOM9NbloPN/i0eD44wi199G7wlBKp31UTxX7x26Fuu2PsADju6UANwqx vryV8EllvakhBpN86haMe05e698GrtIN22n+QRJ5lXshtrYqSfdnyV0mcdETA4y4S1/QVtX tHx6e6mzhVcOFOljMjo6g== X-UI-Out-Filterresults: notjunk:1;V03:K0:bfG19Ss8yI8=:7EsCzx0kgQrLsNp09Hgyjb WlNbHS+5A6rBK4LWlQb8l7xsjMQ/qkyVn+Np//RU7g9H+Yqhdkj7Da/g2YtdT6wBXTG67ADZF yA6bVMNJZpQ6qJjNzsAQ/qOWD+oZw52xyaBgqGaqERFBnEf1NOzzSkIEaGLPrsv3IHOqBZidG hf0HJYu/I8UcYWXxoz1kpInWNp8pOt5CFtWewZ9gzNuThFDVZisLNP3q6gjHVpRuRj6o0deVc XhBikJ4qkCVIB0NA6cgpEWXUhEB7GeipuLdWPtbani//gVVjfFemmtC6vVMOwkmo1A2xbi1MW 08aUgMexA0+KVq5UdtQ1LoaVdECjuH5k+TF9YcuqfkPZRKumOw7QTt8jKhqhAcKvHZg9DHPTn BQxkj7fDox1gNVYo6YAZx8IYV5INqRQBGvY1M7ao/JsCl6IQXSScA/ujZGkNEcGPveu5ndcg3 jfW063fxJmN5CbRCIgDh3WcTjwpTHKTV/zbo1qjh9Vv6Q71AVHMc7MKvDj36szomHQIW14Hh4 pm0/sokq/JMTtN3Uh46sZO60G8XnhfArTxxiEUIFZePZf9fVzdmcrQOjgEJ2NSLB9q7K0RQWi qLjNlrPV3MxDFhykM+I9MhyhJjTLbIvesXalNh8DHhGEqk+nSIVGA+mkJtJJdS8eo1j/HH839 yuzb3t6pcXHSsTYZevWJU6CwoKH1h9tzgb8aMZHNsVd3k/HygJCQ8KNiKdoiC6pt0uKnbIrAW wIsHmcAc+chxoObHJMbVT/jJ7EGpe9DtDxjVNdRGYu/qrfd/me4NYSY5VMyXRN06sm7k5Mtx X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241579 Archived-At: > That's the behavior I see too and I am not sure which I prefer either. > It probably would make sense to officially support both variants, add > a control an option and make sure it is always respected (i.e. that > weird code like what I posted thoes not have an effect). Looks like some initialization problem. Here, with emacs -Q when I do C-x 5 2 followed by C-h f and then move the mouse to the first frame, both windows get the active face. Clicking now into the first frame's window, makes that window the only active window. Moving the mouse now into the second frame's window makes both windows inactive. Clicking now into the second frame's window makes that window active and from now on moving the mouse between the two frames activates the window on the frame that has the mouse cursor in it. Note that in all cases "window" stands for the "normal" and not the minibuffer window. Tested with a MinGW Windows 10 build of Emacs 26. martin