bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24804: 25.1; posn-at-point erroneously signals an error


From: Eli Zaretskii
Subject: bug#24804: 25.1; posn-at-point erroneously signals an error
Date: Sat, 29 Oct 2016 17:36:22 +0300

> From: Andreas Politz <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Sat, 29 Oct 2016 16:26:47 +0200
> 
> Eli Zaretskii <address@hidden> writes:
> 
> > Andreas, can you try the patch below?  Thanks.
> 
> I can confirm, that the error regarding above recpie goes away.

Great, I will push it to master soon.

> Though I'm pretty confused about what this function should actually
> return in this case.  E.g. in the scenario above, evaluating (posn-x-y
> (posn-at-point x)) with x=point-min, resp. x=point-max, returns (0 . 0),
> resp.  (747 . 0), where 747 is the width of the image.  Does that sound
> right ?

It sounds right to me: the first position is at the image, the second
is after the image, so its X coordinate should be the image width.
Does that make sense?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]