unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: `window-absolute-pixel-position' with vscroll
Date: Wed, 21 Jun 2023 15:50:23 +0300	[thread overview]
Message-ID: <831qi5569c.fsf@gnu.org> (raw)
In-Reply-To: <87pm5pvrv9.fsf@zohomail.eu> (message from Rahguzar on Tue, 20 Jun 2023 21:23:25 +0200)

> From: Rahguzar <rahguzar@zohomail.eu>
> Date: Tue, 20 Jun 2023 21:23:25 +0200
> 
> 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.

Please show some Lisp in which you tried to use
window-absolute-pixel-position and whose results didn't make sense to
you.  Perhaps also explain why the results didn't make sense.
Otherwise it is very hard to help you make sense out of the results
(or perhaps conclude that we have a bug that needs fixing).

Thanks.



  reply	other threads:[~2023-06-21 12:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-20 19:23 `window-absolute-pixel-position' with vscroll Rahguzar
2023-06-21 12:50 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-21 20:42 Rahguzar
2023-06-22 16:59 ` Eli Zaretskii
     [not found] <87r0q2dxvz.fsf@zohomail.eu>
     [not found] ` <83fs6i1a64.fsf@gnu.org>
2023-06-23 15:22   ` Rahguzar
2023-06-23 15:47     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831qi5569c.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).