From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rahguzar Newsgroups: gmane.emacs.help Subject: `window-absolute-pixel-position' with vscroll Date: Tue, 20 Jun 2023 21:23:25 +0200 Message-ID: <87pm5pvrv9.fsf@zohomail.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34549"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.3; emacs 29.0.91 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 21 14:13:34 2023 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 1qBwiM-0008oc-NP for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 21 Jun 2023 14:13:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBwhq-0004D7-Vz; Wed, 21 Jun 2023 08:13:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBhJg-0002RT-Dt for help-gnu-emacs@gnu.org; Tue, 20 Jun 2023 15:47:04 -0400 Original-Received: from sender11-pp-o91.zoho.eu ([31.186.226.249]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBhJd-0001Uk-Am for help-gnu-emacs@gnu.org; Tue, 20 Jun 2023 15:47:04 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1687290413; cv=none; d=zohomail.eu; s=zohoarc; b=K4kX6UiYNz27e/t4o4ZDTx1ysn7UPm0FU/KW6dYwHHc2aq9XtQmd64w3/XAEJKCc1IxcBChMYE2iGWxjXI2+aBhk5vimMLL+4zrXHVWmVSHOH9uSygnRz1aakqo8dj4CvnoWp+wdED3JzAAyRrFugtNUg9Bud5LqoQId8E7Px74= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1687290413; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=l6UnEO1UonK6JjMjy3GYckA8dcRhqKuMg4dF2/DWweg=; b=kCmI0UyAJTgfkc7G8OfWS9g+i9/viS1V6gJcCLF3eTbBeSRn/a4UjyvWEwc0/lD80pmvPJzOr/i+ICk/04Qg1NsWNorF3W28snUSubr+zc4UbnaTGVk1yaYaH22/kM5Tn1twKEQXv9JUAsobHhOws4cMFbuZ3M0HO2pWs8F9QWo= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=zohomail.eu; spf=pass smtp.mailfrom=rahguzar@zohomail.eu; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1687290413; s=zoho; d=zohomail.eu; i=rahguzar@zohomail.eu; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=l6UnEO1UonK6JjMjy3GYckA8dcRhqKuMg4dF2/DWweg=; b=pSjLk9Ne6QypzzosjG5SW1jxuzwdbXbt9fYBdjI4WiJqLOJBpylTgmoomIyRdKIR 4OaC+JDd/3gML4Ky+7D+q6pJ4U+usKNRyxwKuyA/CF7MD74S5o97ROM/OFvLNTjqm9o KHCi9LXykPmEk/5+4xnRFs+FOdPg9xLltyhDKKuI= Original-Received: from localhost (81-231-79-170-no600.tbcn.telia.com [81.231.79.170]) by mx.zoho.eu with SMTPS id 1687290411851747.291212092365; Tue, 20 Jun 2023 21:46:51 +0200 (CEST) X-ZohoMailClient: External Received-SPF: pass client-ip=31.186.226.249; envelope-from=rahguzar@zohomail.eu; helo=sender11-pp-o91.zoho.eu 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 21 Jun 2023 08:12:59 -0400 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144014 Archived-At: Hi all, Reading the manual and documentation I understand the `window-absolute-pixel-position' if there is no vscroll. If however the value of `(window-vscroll)` is non-nil calling (window-absolute-pixel-position (window-start)) produces results which I don't know how to interpret since the upper left corner of the line is not visible. I wanted to know the pixel position of the start of some subsequent visible line but results of `(window-absolute-pixel-position pos)' didn't make sense to me. I eventually managed to do it by using a combination of `pos-visible-in-window-p' and `line-pixel-height' but maybe there is a simpler way using `window-absolute-pixel-position'. Thanks in advance, Rahguzar