From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: Pixel scrolling support Date: Thu, 25 Nov 2021 22:22:42 -0800 Message-ID: References: <87a6hrzrcv.fsf.ref@yahoo.com> <87a6hrzrcv.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9099"; mail-complaints-to="usenet@ciao.gmane.io" To: Po Lu , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 26 07:23:43 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 1mqUe7-0002AH-5G for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Nov 2021 07:23:43 +0100 Original-Received: from localhost ([::1]:35706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqUe5-0002Xf-04 for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Nov 2021 01:23:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqUdF-0001s4-GL for emacs-devel@gnu.org; Fri, 26 Nov 2021 01:22:50 -0500 Original-Received: from [2607:f8b0:4864:20::631] (port=41614 helo=mail-pl1-x631.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqUd9-0003dm-Vf for emacs-devel@gnu.org; Fri, 26 Nov 2021 01:22:49 -0500 Original-Received: by mail-pl1-x631.google.com with SMTP id k4so6016329plx.8 for ; Thu, 25 Nov 2021 22:22:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=JoYMbWF+itbgAfVdlqHldsejO0neV5ywWTwSIPJJaEw=; b=B8zItmmIq1Rd3t3xgYo2aEAXVkzmOjD5pv2L4G+i23Ygxwlr5u6aTF6XDc4QLCXL94 Zlo6MtnAH63wtKG5A1t78K/ItrvifFs83gN2BYaMv+SZhPzkwxoytbvzIzMDaOHQXXWE oNhTWMzJWSXDA6GxCKtC37YcASoEzsEN/aN5oEeV4rPC3H5a8shic/YHXW1VoSeHwiy0 1FWqUpt0qYrUA8ndNfaH4lxKCOKLAXPePGzpfih5npxTaVySaEnKp7zyVRQJDmpsC5MA mUijGCilpRCPhOhVgNsVe/PvydggreCr76S6CuFVgJrrhpO41f4zUHtS1tWepRntMFNd mkeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=JoYMbWF+itbgAfVdlqHldsejO0neV5ywWTwSIPJJaEw=; b=8GqXZmKR8bVDZygrplEeZ0YtmwzJk0TrEWTMnz0sDKnAEUHLk4AGlsnvuNb2AC2M2D 3aV3pJ/fWkmKaCok0z3sYE0Uu/LDuvL0x6fqirtZVrmr/UYfGdM5eWWbKBieEekVqJXU 6NWx9z8mVH1UaF2b3B26EJgQEKn7mHz15sP2GMNmfZ5JBsxUUdb40/4MQXd5hFapXbqb LBIfl8mZFILElIzfrJpWNF1kJ9OxWZgZy6I1CkeiRPd2CxvhMwwwaLui/tS9tbnN6lIC Q28z4WApkBsyp/rkqbHL+gYvXErvb/rubQjYkP3Ewvky4ghzsBg9UY5X7Evw3gT9kWRd 3KBQ== X-Gm-Message-State: AOAM532fLvvPFSM9mJfTlHIwWUVCT27rZziTqfEu+aT+NkQc90yYKLgZ tzPzLXdRQV+CquMZSrIGlV0qqFhiKg4= X-Google-Smtp-Source: ABdhPJxmZXSa8mWC5XUm5lpOXuYj27zkvJqIGz1BvuoPcqzTZG/EMl5BIvvbj73YRYBuCqd3iifJXQ== X-Received: by 2002:a17:90a:b382:: with SMTP id e2mr13169518pjr.181.1637907762561; Thu, 25 Nov 2021 22:22:42 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id s8sm3304741pgl.77.2021.11.25.22.22.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Nov 2021 22:22:42 -0800 (PST) In-Reply-To: <87a6hrzrcv.fsf@yahoo.com> Content-Language: en-US X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::631 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=jporterbugs@gmail.com; helo=mail-pl1-x631.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:280198 Archived-At: On 11/25/2021 4:35 PM, Po Lu wrote: > It defines a global minor mode that lets the user scroll the display > according to the pixel information reported by his mouse wheel. This looks quite interesting. Is the plan to incorporate this into pixel-scroll.el once you're confident everything works correctly? (I see in another part of the thread that you're still working through some issues with scrolling across tall images.) I think it would be nice to have a single `pixel-scroll-mode' that just uses the best method available to scroll pixel-wise. That is, use this better implementation on XInput2 or NS, but use the old `pixel-scroll-mode' implementation elsewhere. - Jim