From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Add a function that returns pixel distance between points? Date: Fri, 05 Feb 2021 14:25:10 +0200 Message-ID: <83im76puqh.fsf@gnu.org> References: <960DAE7C-A1AF-416A-ACA5-F6674C87A2C9@gmail.com> <837dnt9400.fsf@gnu.org> <1EDD0FA5-025C-4A87-BBA1-7B8944E91A12@gmail.com> <83tuqx6sdz.fsf@gnu.org> <83ft2g7tlr.fsf@gnu.org> <51016978-4D2F-45A8-8589-F4562B6DC4A8@gmail.com> <83v9bb6429.fsf@gnu.org> <83bld25t7o.fsf@gnu.org> <83r1lx42g9.fsf@gnu.org> <9D8765CF-5C32-4407-BF28-AF2857C943FC@gmail.com> <83k0rnrfcr.fsf@gnu.org> <64d1e572-fe2a-d69a-38b2-39701465681e@gmx.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7141"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 05 13:26:42 2021 Return-path: Envelope-to: ged-emacs-devel@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 1l80CA-0001mD-QI for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Feb 2021 13:26:42 +0100 Original-Received: from localhost ([::1]:44346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l80C9-00006f-TH for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Feb 2021 07:26:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l80Aq-0007u8-AO for emacs-devel@gnu.org; Fri, 05 Feb 2021 07:25:20 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39425) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l80Ap-0007eC-PW; Fri, 05 Feb 2021 07:25:19 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1848 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l80Ae-0002ns-9x; Fri, 05 Feb 2021 07:25:18 -0500 In-Reply-To: <64d1e572-fe2a-d69a-38b2-39701465681e@gmx.at> (message from martin rudalics on Fri, 5 Feb 2021 11:15:29 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263978 Archived-At: > Cc: emacs-devel@gnu.org > From: martin rudalics > Date: Fri, 5 Feb 2021 11:15:29 +0100 > > > Thanks, I installed that on the master branch. > > I haven't been able to investigate this any further but AFAICT it breaks > 'window-text-pixel-size' when a header line is present. To check for an > arbitrary buffer with some text in it do: > > (window-text-pixel-size) > > (ruler-mode) > > (window-text-pixel-size) > > Here the values returned by the invocations of 'window-text-pixel-size' > differ although they shouldn't. Thanks, should be fixed now.