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: master e37eb7f: Add support for pixel wheel deltas on NS Date: Sat, 27 Nov 2021 13:40:45 +0200 Message-ID: <83ilwdzv0i.fsf@gnu.org> References: <20211125030922.2353.1129@vcs0.savannah.gnu.org> <83tug05whz.fsf@gnu.org> <87tufzycli.fsf@yahoo.com> <837dcv4e79.fsf@gnu.org> <87wnkvflk7.fsf@yahoo.com> <83zgpr2uvr.fsf@gnu.org> <87fsrjfeb1.fsf@yahoo.com> <83r1b32lvr.fsf@gnu.org> <877dcvf8ec.fsf@yahoo.com> <831r323lgs.fsf@gnu.org> <87v90ecvoa.fsf@yahoo.com> <83lf1a1651.fsf@gnu.org> <875ysecd75.fsf@yahoo.com> <83fsri13k0.fsf@gnu.org> <87wnkuax4q.fsf@yahoo.com> <83y259zxgz.fsf@gnu.org> <87sfvhc1hp.fsf@yahoo.com> <83tufxzwq9.fsf@gnu.org> <87k0gtc0z5.fsf@yahoo.com> <87fsrhc0lz.fsf@yahoo.com> <83pmqlzvel.fsf@gnu.org> <877dctbzno.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16090"; 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 Sat Nov 27 12:41:40 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 1mqw5M-00041Y-0x for ged-emacs-devel@m.gmane-mx.org; Sat, 27 Nov 2021 12:41:40 +0100 Original-Received: from localhost ([::1]:38094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqw5K-0000yl-Tg for ged-emacs-devel@m.gmane-mx.org; Sat, 27 Nov 2021 06:41:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqw4M-0000CB-A6 for emacs-devel@gnu.org; Sat, 27 Nov 2021 06:40:38 -0500 Original-Received: from [2001:470:142:3::e] (port=56180 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 1mqw4M-0007d4-15; Sat, 27 Nov 2021 06:40:38 -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=o1T22uLrlSLitwF1Z5foRVCc5THcHmT6Hg0rgjl/cx4=; b=DXyg4ZEUWbzo HcLPeULHxWxOZMLRJ85L0UtHZKtFwM8l3VxelOsladJbC5syWhjnISLXTNc6b5rJsd+bxQci5K7mA cDmZkXWm5qnO5fJ7PNrbRhKhXg333x1wOhbFq4xhYxnC7Pc+CW2YLvFm8KetXDklhV9IeujjPpxB2 14sW5TFiwbeB1ke6HqPAAF6cCXqedOy1SVOk1pw9q+wnRo+09xfgnpR2CNrOqwGHSBvkMX8haJg6a 9/5jDuR4iK0rkc6mFJfqZQdbx/9UkbK2Xegzp7C8hThT5XeUBp8q54Oz7gND1mClYXjNC99jZJqoa /UoLmoXAM+/AH925/tEjCQ==; Original-Received: from [87.69.77.57] (port=4171 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 1mqw4L-0002cR-NR; Sat, 27 Nov 2021 06:40:38 -0500 In-Reply-To: <877dctbzno.fsf@yahoo.com> (message from Po Lu on Sat, 27 Nov 2021 19:34:19 +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:280330 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Sat, 27 Nov 2021 19:34:19 +0800 > > >> @var{clicks}, if present, is the number of times in quick succession > >> the wheel has been moved. > > > By "if present", do you mean it can be absent, or do you mean it can > > be nil? If the latter, then "present" is not the right word. > > It can be absent, not nil. Thanks. Hmm... now I'm confused. Isn't this produced by this code in keyboard.c: if (CONSP (event->arg)) return list5 (head, position, make_fixnum (double_click_count), XCAR (event->arg), Fcons (XCAR (XCDR (event->arg)), XCAR (XCDR (XCDR (event->arg))))); ? If so, this always produces a 5-element list, and CLICKS is always included. Right?