emacs-devel
[Top][All Lists]
Advanced

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

Re: move_it_vertically_backward question


From: Eli Zaretskii
Subject: Re: move_it_vertically_backward question
Date: Thu, 23 Dec 2021 12:39:06 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Thu, 23 Dec 2021 18:29:24 +0800
> 
> > In principle, the offset could be a bignum or even a float, so the
> > restriction here seems to be too stringent, no?  A float in particular
> > could be useful, I think, in case the caller calculated the pixels as
> > a float.
> 
> I don't think that's consistent with everywhere else we accept a pixel
> value (for example, posn-at-x-y).

So you'd rather have the caller convert the value?  I won't insist,
but the price of supporting float values is very low.



reply via email to

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