From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Zoom: a window management minor mode -- best practices and questions Date: Thu, 10 May 2018 12:27:22 +0200 Message-ID: <5AF41E8A.4070908@gmx.at> References: <83muxioten.fsf@gnu.org> <5AEAB616.4040900@gmx.at> <5AF29C9D.4090902@gmx.at> <5AF3E64A.7080508@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1525947946 15084 195.159.176.226 (10 May 2018 10:25:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 May 2018 10:25:46 +0000 (UTC) Cc: Eli Zaretskii , Emacs developers To: Andrea Cardaci Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 10 12:25:42 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGilZ-0003nd-31 for ged-emacs-devel@m.gmane.org; Thu, 10 May 2018 12:25:41 +0200 Original-Received: from localhost ([::1]:32941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGine-0004wv-G2 for ged-emacs-devel@m.gmane.org; Thu, 10 May 2018 06:27:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGinU-0004wW-VC for emacs-devel@gnu.org; Thu, 10 May 2018 06:27:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGinQ-0000EP-1d for emacs-devel@gnu.org; Thu, 10 May 2018 06:27:40 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:44657) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGinP-0000E3-O3; Thu, 10 May 2018 06:27:35 -0400 Original-Received: from [192.168.1.101] ([212.95.5.90]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M5tzh-1eOBIb2bHt-00xwDx; Thu, 10 May 2018 12:27:32 +0200 In-Reply-To: X-Provags-ID: V03:K1:rFnNq+A0NYMdQmFFVU9ZxP/seR37sBlzt0k7XmiN1kUEagBOlDk QrhXkHPvmoLqO7NdJzsizlm0AOCHmgUEW9BhMlLmXCOgV9+0JiO+eGwL4XPFjqsSsvADt/U A0HO494WjrvJ6KEG6gRAmwkI9EXeVzDpdGa8ArkAanzQUq95VIrDpqmIdla4706KLAB2meC w76//JMcJK3+6b1P6fR0A== X-UI-Out-Filterresults: notjunk:1;V01:K0:SxhBJClKrcg=:3egVZgnz2H0GIOK0Zgb0Gp +51QJqFoaDi4HGxSQYEIw4mAobN2fWRIyonNGG2M0UdSn2SwSwqvYTC5/wWG3kdj6NYbncTNo DDhb6fL2bf9an89UrOYZbczj/JKxtbxjH9AmxTApG3lFrau0mANe2xTxpSn8+svVqowkFBqxn kqFNiPL9GxSOsRnosHSd6Jdios2qASA96tmJlsQSvTO4nlKBPoyQG88BSUVtjgvW/UU/yIdFF CIf/Cf2AC0gkY5U3grxkJ4t8vqNaafwlJMyPdYD0QldjPzisbtLFrPZ+5B0YUQWv63czgD5Jg VQdlLqeY1BF7fEmnJdrI+GPRzJJ4VMzlWPJPl9zIX/57Xl/SseeTK2dI/4lk2kozLua6rr6GT fOhRrgtUPECks2t55v1GI9JNUTVynV/5/u1z7TdXiKfXMGRXbwpuS2CK/uIIi3z7sV5y+CLsU ADNaPzOw5TWve8qlOAUPfNfSAGzziZSn3q6O0qrLGcIpo3vzRS0BkCYMWDZT3tYs9nSjaMslg z73w6XtgCKVjbrqpATiWA6DlboQOk2iFUMC5H8uT8V1hALPKqbP7quqy5E88Y9ivQOE2tXnxO GuctcajNNzARndawJQb5aEm3NwojDwlasDEOovUrHk10i0GkxiFsflD6J2nt49bfBh0xTXHpm IMybzgIcik0F6yMXXOHGZtKogWPZ0K393WdccSFlInRwzskpx1b1+V3eyD74yCLCa4Z10AT0z 9zCtpEdgF6LWH2IEt84DyIh0fzgd6ZodyfscnXwZ3dLVqSffmXK3mBXcosIDTgNjahjTqmvr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:225192 Archived-At: > I hook `pre-redisplay-function` only and perform the update only when the > following expression changes: > > (format "%s%s" (window-list) track-mouse) > > So any event that causes `pre-redisplay-function` to be called but doesn't > change the expression won't trigger the update. This should work although I suppose (cons track-mouse (window-list)) would do as well. martin