[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41513: `compute-motion' can miscount buffer positions in the presenc
From: |
Eli Zaretskii |
Subject: |
bug#41513: `compute-motion' can miscount buffer positions in the presence of 'before-string/'after-string overlays |
Date: |
Tue, 26 May 2020 19:21:05 +0300 |
> From: Stephen Bach <sjbach@sjbach.com>
> Date: Mon, 25 May 2020 16:16:08 -0400
> Cc: 41513@debbugs.gnu.org
>
> Is `vertical-motion' a more reliable analogue to `compute-motion'? I see
> it can take a (COLS . LINES) argument, so it appears similar.
Depending on what exactly do you need to do, I can suggest the
following APIs:
vertical-motion
posn-at-point
pos-visible-in-window-p
window-text-pixel-size
Let me know if these don't cover the functionalities that you need.