From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: raman@google.com (T.V Raman) Newsgroups: gmane.emacs.devel Subject: Re: HowTo: Detect when a frame's size changes Date: Wed, 5 Apr 2017 11:12:09 -0700 Message-ID: <22757.13177.196234.790159@retriever.mtv.corp.google.com> References: <58E49596.70202@gmx.at> <58E4A29F.6080603@gmx.at> <58E528DF.9000808@gmx.at> <22757.10822.198203.59700@retriever.mtv.corp.google.com> <58E531CC.1010900@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1491415953 20758 195.159.176.226 (5 Apr 2017 18:12:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Apr 2017 18:12:33 +0000 (UTC) Cc: emacs-devel@gnu.org, raman@google.com To: rudalics@gmx.at Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 05 20:12:29 2017 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 1cvpPm-0003pw-Sj for ged-emacs-devel@m.gmane.org; Wed, 05 Apr 2017 20:12:19 +0200 Original-Received: from localhost ([::1]:41750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvpPr-0002Ue-7D for ged-emacs-devel@m.gmane.org; Wed, 05 Apr 2017 14:12:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvpPl-0002UY-HQ for emacs-devel@gnu.org; Wed, 05 Apr 2017 14:12:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvpPi-00034n-DS for emacs-devel@gnu.org; Wed, 05 Apr 2017 14:12:17 -0400 Original-Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]:34530) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cvpPi-00034b-6a for emacs-devel@gnu.org; Wed, 05 Apr 2017 14:12:14 -0400 Original-Received: by mail-pf0-x230.google.com with SMTP id 197so10991584pfv.1 for ; Wed, 05 Apr 2017 11:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=ccM1dYbZRVcWWCxF7gvI6mlF6gNJVfKyJ32c3E4/StY=; b=LA2q13TbI0Y+vcYCsYdI5uC6EYwkUi3IHSGpVQt1Bdm8iUEdsNLRP4vDjCEXMyp+Er v1vROVmV2mmyt0DSFUS8qmG5Ki1uiIreM7IQ5+St68VVwDztaXOcBi1vA25VgdnHBizm c3qY99+wr+EWO+dkxa/aMFj36o0jUqxFUxl3UMsT359qIkrTAuFWdeV+H1jVPYO9ygRQ sMZdUrqW1JoT0WcZcpybEXtpDvQSq1+uGZUVn5eKwy1wOb4b5nyps4G7N7oZbbRSNUtX yj6Xe0nTisQlz5qzsoeFjv7qePfClVo7gOPS+vbLPoG7XpyROjNwLQi8zc9Y2BzfP81D Z0Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=ccM1dYbZRVcWWCxF7gvI6mlF6gNJVfKyJ32c3E4/StY=; b=jEiTYHDBS5Y9InJgQktOY95Fo4PFSNDLJknvWq16VRM/eKk86vliuBCj4hC08Clq4i +GRjmonLXIJB7WdL2/xRna2/oCN87ppuBG0LrqhXAI0LrhgBDaRKPf8XxyQerJnMveS1 Xu7ixfyUH2PIH+7eQOap51xoJlqyp3Meb7RTxZiCOLLZ6Zj0a0s7NAr85VNZ23aCWUyH Ld6K1pc8WLHdD8YhcImM5ejQtA6lsRs9xmDoGrPLN3R5onIoHjsW7xUe/hWijTngDos6 4LzMIrnX84peGFSDAGjOZgStlLSkfKk2sLC6dhAMphIk1I4qJtQeVqL4iMYNI+gPk3sy CGhg== X-Gm-Message-State: AFeK/H2jUHAWVp/CtFONT3hxGxShvbEtG7ak3E5cPanax+yrxqTCpVlpiFFSPFmjwkXCmRxS X-Received: by 10.84.238.139 with SMTP id v11mr37524159plk.189.1491415933029; Wed, 05 Apr 2017 11:12:13 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([100.98.8.138]) by smtp.gmail.com with ESMTPSA id o7sm38823672pga.36.2017.04.05.11.12.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Apr 2017 11:12:12 -0700 (PDT) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id 7ABB31A1E65; Wed, 5 Apr 2017 11:12:09 -0700 (PDT) In-Reply-To: <58E531CC.1010900@gmx.at> X-Mailer: VM 8.1.1 under 26.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::230 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:213682 Archived-At: I meant window in terms of Emacs. I use stumpwm as my window manager and the only things I run are Emacs (with emacspeak talking) and Chrome with ChromeVox making Chrome talk. For the most part, I work with Stumpwm just showing the Emacs window -- -- and the emacs Frame showing either one or two emacs windows.=20 martin rudalics writes: > > frame-size-changed-p would be nice --- Basically I was writing my= self > > some code in Emacspeak so it would cue me via sounds to the posit= ion > > of the current window relative to the overall layout. >=20 > With "current window" do you mean the "selected window" or the "sele= cted > frame" in Emacs parlance=3F Note that Emacs currently does not tell= you > when the position of a frame changes. For Emacs 26 I plan to add a = hook > =E2=80=98move-frame-functions=E2=80=99 that will be called on that o= ccasion. >=20 > martin --=20 --