From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#9366: Display geometry change hook Date: Sun, 20 Sep 2020 10:14:34 +0200 Message-ID: <0984dc8a-220f-c461-3888-435c4046f803@gmx.at> References: <4E55DACA.6080401@harpegolden.net> <87363dpyz3.fsf@gnus.org> <838sd53h9c.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1941"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 9366@debbugs.gnu.org To: Eli Zaretskii , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 20 10:15:50 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kJuVi-0000OG-9G for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 10:15:50 +0200 Original-Received: from localhost ([::1]:52042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJuVg-0001i3-Um for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 04:15:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJuUw-0001hQ-PL for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 04:15:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJuUw-0003EV-G2 for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 04:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJuUw-0000YU-CO for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 04:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 08:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9366 X-GNU-PR-Package: emacs Original-Received: via spool by 9366-submit@debbugs.gnu.org id=B9366.16005896882098 (code B ref 9366); Sun, 20 Sep 2020 08:15:02 +0000 Original-Received: (at 9366) by debbugs.gnu.org; 20 Sep 2020 08:14:48 +0000 Original-Received: from localhost ([127.0.0.1]:48625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJuUh-0000Xl-QK for submit@debbugs.gnu.org; Sun, 20 Sep 2020 04:14:48 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:35839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJuUf-0000XX-EI for 9366@debbugs.gnu.org; Sun, 20 Sep 2020 04:14:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600589677; bh=bDdZKa8eacvK4Aj0tLpn8A7UlVaDprIhkMgRBYSnYhc=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=bcsqzsDTPnWWNdSfjJor2kiDG5X8I4Jhsz/tKK2Kym5bKvWRSKZv0ZmeJyXNyfIYs Kpl76cej3l0GcZWQvw+Y36tnPDb6XXm/Hbs07o9/7pFFsph7UbGepH9dLrRokdnPdd cuactYSjYzogfozdP8nsE8ija5f7mitkzadDsybY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([46.125.249.82]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mdvqg-1kracF0NTa-00azXt; Sun, 20 Sep 2020 10:14:37 +0200 In-Reply-To: <838sd53h9c.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:LosqA6+4a+XhxlBQTJJMDTZVWPyauzvmf4BmMt+GmaIlayT86IU TkDmZZ1ka1Ic4GhIoXxBbMWkBgxkjLgDewgu1XHc6wNEf0g6hcmLgPbIR7boXDcwaUA7VZA F82DJOdc0rxOFkdzKZpdlgFzskLvU9ZL1jk1w7s1hMvlUh7sFj9paEDFzZlFWGJHWfjJJxl 4J3+PrfzU3PNgAN5qh20w== X-UI-Out-Filterresults: notjunk:1;V03:K0:84WzFt3tjHY=:8brgrcTKm+EtfzGnC6waEo GEFdT7fVsKFQqigoL2w3bcSO513RPygDFJp+rccxC4feUg22lHPW7Zqvl4xkKwoxm4xa4rzu+ aurP+zD/o/Rw93RVbAxqRvunVnRk1SvY+57827j5msczGzeBkQC45Z9D5AjAE2OW2AOi2y1UX NY3wabD2rJjQOxcfDtq/OuSaBJ/NZ0tOP3FGXthA2ym5rIrzYr63uxzox1l4S2ZzhL/kIAGZd YKdfBzY7Zqd3PODxA4Natb+zQ0o+He17DCAnoTM5Gsvm6Ml4aYS4Jf0wgwIAvtlo0xFv7rGFv uz4UU7TO9aDQzQRSunDhl7w5x60Bt5BzFY81RSJM4Nh+tzn2qaB9UYy8zg8pItqoQ1l0Fmwzo Qi/exRrBqdUb5XzDYlGvdnmgGoEAXa0fzW3GnDQ/KIKd/fM4j1km5wHlwXLZAqO6bzdukAp82 vzHn+gLjEcOFkmco8IgLXZ+MFbvOdR25fxmEMXm+Pz22eynp8Nquz/BTejKJ9qN79kg7HHmls +SHcL8LVP19N4TPw6MwNjA46PF7NdTHc0FAQDomWaeyFEsxtK6N5ivLFWkVqG+iefb8m2YvA4 9rKp1XM+gwztY4CnGVSSGcQcNmqWy7Sal7X2LXThJdSKPB8mXKNHbe0/4MpMGlUk38JRG4W6g J8wot/vsjwGVhDHJF51/BnIMWkytwo4TNeXqtg7n6g/AOik5j+ngiPltlEfx60juKDIjTlJ/L 0iA1Du+PBLnatYhvcklcHQJSqI8jP5rbYspABxFE+01lZUHXk6rMCIDntsHbiiPZr/vL4m68 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188460 Archived-At: > Do we really have to do this on such a low level? Why cannot we call > such a hook from change_frame_size, which would allow us to do that in > platform-independent manner? > > Martin, am I missing something here? Would change_frame_size be aware of such a geometry change? IIUC the original request https://lists.gnu.org/archive/html/emacs-devel/2011-08/msg00544.html Edward would really just want a completely separate hook that reports to Emacs the identity of the changed display and maybe its new geometry and is only called in those, IMO very rare, occasions. Or what am I missing here? martin