From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.help Subject: Re: Frame shifted upwards upon changing font size Date: Thu, 15 Sep 2022 21:38:35 +0800 Message-ID: <87h718ycys.fsf@yahoo.com> References: <87leqml110.fsf@gmail.com> <87bkrhksxf.fsf@gmail.com> <87sfkskenm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30864"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: uzibalqa , Gregory Heytings , Eli Zaretskii , help-gnu-emacs@gnu.org To: Robert Pluim Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 15 15:46:49 2022 Return-path: Envelope-to: geh-help-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 1oYpCb-0007r6-E1 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 15:46:49 +0200 Original-Received: from localhost ([::1]:43562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYpCa-0004FA-Co for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 09:46:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYp4s-0005uR-2O for help-gnu-emacs@gnu.org; Thu, 15 Sep 2022 09:38:50 -0400 Original-Received: from sonic304-21.consmr.mail.ne1.yahoo.com ([66.163.191.147]:41743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYp4q-0004dq-7J for help-gnu-emacs@gnu.org; Thu, 15 Sep 2022 09:38:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663249125; bh=tfgIFG3zUEdfsWmVfmD12mELF/7JNcCJdbX52BsSbCc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=E86hIsB9lncavX6rvf4gEFhJrLs9a88ZW0uwkIOTCnHMcR59YmsGoJLrVOKhGx7pHNljhxa84QxILfupmsTdEa5SVeifRTvrTvuzwtenn/BRooRDt9NHmTzp853bJdJUfwb6QH9DGEWBvf1nu1MevBJCu3LB6FgBDaKWYoa8i5IkzRKgaQ8dHD7yKxtLhELO6H8isq3yTpLPeBtrqkdcqGYO4UX1I+ko95Wi5bAT2x9qyctfuGsA5wFRMVrodU4W8LSyoZnepQlypNmkypRUSL7HVslgKr2MlfkE4by9HlPmdf6rPNCMWJgDJsoyTkVUxIVJ5qIa2tzMYTcyfBj9kw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663249125; bh=Llk5561PAflsRzKgp57duL9nZ6CAr1dtdLgpAf/FcFu=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=NeSBPT5QZySgtMQc3QrTHyk7WYqV1NEgMH+MExsyb16MmHQpCqHjTNYsDzJfbvRqWlv545fEKy0Z4FQ7j00Qj9MZ2UqTr7CGDTADHPnDGE5T94WI/9DwFICSpcG/dTm5BDcyjhKGfTlDzdLjWqFpsNfIPFMtzCYpj+0HpTTLyVaEZby3I5TCZQMFcYKLRXlI2Yyx4P92wSGwqxdibqdkLq+VBV5ZloEsPzHnBBbt/BCYeI9BmfigY1vGsldGZ1xlpMwaz+RsXVn9UWESiFF0CZHLZY0w0kNRv6j1mv3HQNzrOyHv/UIt+kcipQirxdxE+1o5gnm5IToF6vLo0WFblA== X-YMail-OSG: Z4kWGuUVM1leVCpSrfpaw6yZe.pmJchwvdiWSzo8wM5rrnLEk07AfqLPcHKGP75 MRKRN9t8FGYcX.odBpGjNL0G6CQlECpGkW7ObNMP52ayZfcjZSqy5Gggx2.emixYLuGNaYn6P6Gv qLGlPf8AZLJ3yXNHlJaQgvQhr8Gi7xdUAPgsJ8tam0A7VpZUL09p1xQwIDaZarG2hHnb_KHumOce W1.8NLzTj4EM1wRAYtgyua6.6IeU.SKcXP4zDxREJogWRhaHVUDRbzFb5VNg7byRqtmvOgq1YdQY bH0GS05YXra92qbtzrLX8yTAjOdh3EA2arEC_ReMl8c4xwFdWLA8bhd4d56pljMisaPlk5Vrgbjx _p2Fbm83hrfbd11x8fSDDlrBLFZlmX9R40GpfBXECWtNapSd7wKJdy3bZ8VHUf_ZG2.ZjuvImX07 hNP8WkxqcuETm7woCaVTJb6RkFgOa8DPDOX26zHWet5G94CV434F.9xCLemc3R6HI8VJ7pNUO11s b_1C4jYN1HSjckhgoVmIrBeACCVcF40vyvBw.VVM.MOpKprWz6J_5Hr4en48OHZ1g1YxrkcMfreJ TFZzx0QdgUjrsM5mAo4n8wtuvpS1UowL91e4oTfuEZ2n6lSZ99dNnwh233D0qrjMb_gItW1znMiK 6rZKT4wZhQ8g8PqJ4hIXWXtTUKjrheOFPdEts5SfcdGvzYXhc_A28jcFrCzqG33lQuMRjSJthrLz HAxM12zajQ9ZATzaCZkMRAOxYCBFBD319FM7bLywCYFncri6YaRV8oGq.UR7yAInw2X1ScM.u.Fu DHgkTaVvS4O17nx.JeQ9nuESAiptymxmOMzOXLJOA9 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Thu, 15 Sep 2022 13:38:45 +0000 Original-Received: by hermes--canary-production-sg3-6bb8946c47-nbhdn (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4fe5f31aa71d3edc27eebc3e8dea0c9f; Thu, 15 Sep 2022 13:38:41 +0000 (UTC) In-Reply-To: <87sfkskenm.fsf@gmail.com> (Robert Pluim's message of "Thu, 15 Sep 2022 14:25:49 +0200") X-Mailer: WebService/1.1.20612 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.147; envelope-from=luangruo@yahoo.com; helo=sonic304-21.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139483 Archived-At: Robert Pluim writes: >>>>>> On Thu, 15 Sep 2022 11:43:03 +0000, uzibalqa said: > > uzibalqa> Would (frame-position) and the first two elements in (alist-get 'geometry (frame-monitor-attributes)) > uzibalqa> give me the same information? > > No. `frame-position' gives you the coordinates of the frame, the other > gets you the info for the monitor itself. If that isn't clear, what Robert is saying is that if frame-position were to return the coordinates of the monitor, then it would appear to originate from the top left corner of the monitor.