From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: move_it_vertically_backward question Date: Thu, 23 Dec 2021 12:39:06 +0200 Message-ID: <83sfujvc51.fsf@gnu.org> References: <87lf0pw78r.fsf.ref@yahoo.com> <83mtl0hnm5.fsf@gnu.org> <87czlwkfpk.fsf@yahoo.com> <8735mskal2.fsf@yahoo.com> <83ee6che8h.fsf@gnu.org> <87y24kisgf.fsf@yahoo.com> <838rwkhcqb.fsf@gnu.org> <87r1achulq.fsf@yahoo.com> <83pmpub41v.fsf@gnu.org> <87pmptbeii.fsf@yahoo.com> <8335mp9evn.fsf@gnu.org> <877dc19cpc.fsf@yahoo.com> <83zgox7xmf.fsf@gnu.org> <87ilvk99j0.fsf@yahoo.com> <83lf0g79je.fsf@gnu.org> <87mtkw5bn4.fsf@yahoo.com> <871r26w1v4.fsf@yahoo.com> <83czlpzy2n.fsf@gnu.org> <87wnjxv4ye.fsf@yahoo.com> <87h7b0m7k5.fsf@yahoo.com> <83wnjvveg8.fsf@gnu.org> <877dbvlim3.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19882"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 23 11:41:00 2021 Return-path: Envelope-to: ged-emacs-devel@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 1n0LWu-00051f-Br for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 11:41:00 +0100 Original-Received: from localhost ([::1]:58926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0LWs-0007k7-HX for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 05:40:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0LV0-00064L-Du for emacs-devel@gnu.org; Thu, 23 Dec 2021 05:39:03 -0500 Original-Received: from [2001:470:142:3::e] (port=51028 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0LUz-0004hP-Rr; Thu, 23 Dec 2021 05:39:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=V1dlmHCV8AJ4t+x36Wc+bpR7k2OMgCCa70W2LgCOahs=; b=S80feivcadDS ubgBil1IBTV3tRDz208/a30PDCquLO7iDEtGeYnaeNAK0A9fcXLXvf2aY3kIBwj1P26NvMPTC9ZVT lF1cTJrA4+sW5RwHsFafbtWrBMjEwAv30QF4TY/eX/NEfzViQuKTCvpXlD8zy9spUZGBwHHfsBFfi Y5BFRV7qZmSPBeXV/SaL0GgBvGxIcQpnODhmB3tX34mPLqcT6unC8cLol8GTvk/aIlbOa+fStlmb/ rVp5qDCwYwl8xVMcXsgPC0Zaj2bMAgHTPH2JA5nMd6AJ1ip6QvpBjNTWb8ZNVQZvmu6sd0YG565b6 q4EryWqnk8mVIvoO6EuoYw==; Original-Received: from [87.69.77.57] (port=3016 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0LUz-0007kd-IE; Thu, 23 Dec 2021 05:39:01 -0500 In-Reply-To: <877dbvlim3.fsf@yahoo.com> (message from Po Lu on Thu, 23 Dec 2021 18:29:24 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:282910 Archived-At: > From: Po Lu > 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.