From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Edward O'Connor" Newsgroups: gmane.emacs.devel Subject: Re: is there a hook run when display geometry changes? Date: Fri, 12 Aug 2011 12:37:03 -0700 Message-ID: References: <83obzuwlra.fsf@gnu.org> <83liuywkkf.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1313177855 29630 80.91.229.12 (12 Aug 2011 19:37:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2011 19:37:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 12 21:37:31 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QrxXt-0007uF-GN for ged-emacs-devel@m.gmane.org; Fri, 12 Aug 2011 21:37:29 +0200 Original-Received: from localhost ([::1]:35480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrxXt-0008QB-1E for ged-emacs-devel@m.gmane.org; Fri, 12 Aug 2011 15:37:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrxXq-0008Q5-Df for emacs-devel@gnu.org; Fri, 12 Aug 2011 15:37:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrxXp-0003Zw-KD for emacs-devel@gnu.org; Fri, 12 Aug 2011 15:37:26 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:47735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrxXo-0003Zg-D1; Fri, 12 Aug 2011 15:37:24 -0400 Original-Received: by wwf10 with SMTP id 10so2643382wwf.30 for ; Fri, 12 Aug 2011 12:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=VK9h3WuBGX9FMuWcRMF2yr66gHNA7EEE6cFrXV9FZzA=; b=YNi6MsrdcTLvxG1bUXzmZM+eZBnqywXfy/VvKBxeB0c2yLCu4spSdhBq3oFUt01b9o 0kjjVLJe37JEYU0IODQ/Ld7x2ihqUiqjzQdKGp8mGLwLTM6kecUWh//6l3O7ou1awMUp 7rzy0/gQY6RfeaML8IcLtUbTfWGlRtPpwGp9o= Original-Received: by 10.216.63.146 with SMTP id a18mr1103520wed.86.1313177843123; Fri, 12 Aug 2011 12:37:23 -0700 (PDT) Original-Received: by 10.216.48.202 with HTTP; Fri, 12 Aug 2011 12:37:03 -0700 (PDT) In-Reply-To: <83liuywkkf.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143177 Archived-At: >> Eli wrote: >> > Is window-configuration-change-hook what you want? >> >> No, I don't think so. `window-configuration-change-hook' is run when >> there's a change to the windows being displayed in an Emacs frame. > > It is also run when the frame geometry changes, if my reading of the > code is correct. But the frame geometry hasn't changed either. Actually, the situation is quite the opposite: I want to cause the frame geometry to change when the display geometry changes. Ted