From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.bugs Subject: bug#35389: 27.0.50; [PATCH] Emacs on macOS sets mouse-wheel variables directly Date: Sat, 18 May 2019 17:50:58 +0900 Message-ID: References: <87y341q8cb.fsf@gmail.com> <83y33edr2a.fsf@gnu.org> <20190510212531.GA82150@breton.holly.idiocy.org> <83sgtleczm.fsf@gnu.org> <83a7ftdzq8.fsf@gnu.org> <20190511225021.GA82537@breton.holly.idiocy.org> <83zhnsb75h.fsf@gnu.org> <20190512110504.GA82901@breton.holly.idiocy.org> <86pnonjlpj.fsf@misasa.okayama-u.ac.jp> <83a7fqbfcl.fsf@gnu.org> <86k1eqn592.fsf@misasa.okayama-u.ac.jp> <83o942cxm6.fsf@gnu.org> <834l5td4hl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="53076"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (darwin) Cc: alan@idiocy.org, rpluim@gmail.com, npostavs@gmail.com, 35389@debbugs.gnu.org, Tak Kunihiro , tkk@misasa.okayama-u.ac.jp To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 18 10:52:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRv4d-000Dfr-W2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 May 2019 10:52:12 +0200 Original-Received: from localhost ([127.0.0.1]:59524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRv4c-0001Se-Re for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 May 2019 04:52:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRv4W-0001QX-Gb for bug-gnu-emacs@gnu.org; Sat, 18 May 2019 04:52:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRv4U-00033F-IR for bug-gnu-emacs@gnu.org; Sat, 18 May 2019 04:52:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46077) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRv4U-00032x-9G for bug-gnu-emacs@gnu.org; Sat, 18 May 2019 04:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hRv4U-0003OQ-4r for bug-gnu-emacs@gnu.org; Sat, 18 May 2019 04:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 May 2019 08:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 35389-submit@debbugs.gnu.org id=B35389.155816947112985 (code B ref 35389); Sat, 18 May 2019 08:52:02 +0000 Original-Received: (at 35389) by debbugs.gnu.org; 18 May 2019 08:51:11 +0000 Original-Received: from localhost ([127.0.0.1]:59620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRv3e-0003NN-RQ for submit@debbugs.gnu.org; Sat, 18 May 2019 04:51:11 -0400 Original-Received: from mail-pf1-f172.google.com ([209.85.210.172]:34759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRv3c-0003N9-Sg for 35389@debbugs.gnu.org; Sat, 18 May 2019 04:51:09 -0400 Original-Received: by mail-pf1-f172.google.com with SMTP id n19so4851959pfa.1 for <35389@debbugs.gnu.org>; Sat, 18 May 2019 01:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ZOHVt583stCxPkWC68lifKmSbM/Z1bCM4Vv/7yBTWTA=; b=lHHfUPvzm2tkGT8kWWwz+5VJhfgazy3BkEU2rpDhDf8XThtbSl0YOzwFyXXKQxeALo ORh5tLpZ060gLf9FjceS2qc2pKsd857ep21+E52vRcWx9IdHWE/DY3O497G1XV+H8vw3 USsYexdu9gPLQFjyyE6VmPrDQlbV/PWoPrVAx7JQN9+KkxzO/rWixFoMLwj5sz1CITgp PHyQc8jvk2EvIwlD71EMRrsB7V3TpWtBO29xgyQHDku7cG2Ai5vSC7CRDoy/KkzxBplH MPHmdhxGOL89qskI0RVyVbAUc6J2pz62rCsmTCnx6ghSdWUSYGsQI2QsOnll0w1XtqaX 9WMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=ZOHVt583stCxPkWC68lifKmSbM/Z1bCM4Vv/7yBTWTA=; b=AB8tBNzRoysXmtumjJaJqU/RvJ1eVIjsfJOBuvKTElqSWYBeIFdmC5lX02itcPg3k3 b8uogcGRtLpvBN2d6t+jw9UIrkQ/bYfQ+sc3z1NsxALtKbh1NIIyEhN2Iv7TZ/TMPcPB Kc3ZhBrNeracBwS2ekaQwhHKk8MnbuNu+RaZWhjwe+4m1kQLFuDuiRot0gdGDYgmqChJ VVpezQA+fz78eMsZwK8oHcAc+CsQMQOPbMdUrutcWM/MdDqhcOAz7SylMVy1UwH/spPS /WNs8jDMSouLXr+nQfpSq2C/Pqr6w2ejTgdsVWjhWIMCK2JaXwUJOoEmp2ksgQlA4Ssz VsUg== X-Gm-Message-State: APjAAAVOsSSF23bY4FLiK7Ll1ckoA2ojFHMyfZhX7mKvMmRshPIN7isY IuKm2E5jM4jJvIQy/D+66Ts= X-Google-Smtp-Source: APXvYqznNlDBOiNPmuKz44mfWUiSeQo6AwfhY+oFnRo0HajCUVRudOs+wmzbcbeP5p4CpYApBPctsQ== X-Received: by 2002:a62:7793:: with SMTP id s141mr374345pfc.21.1558169462980; Sat, 18 May 2019 01:51:02 -0700 (PDT) Original-Received: from DreamBook2017.local (p295139-ipngn200212tottori.tottori.ocn.ne.jp. [114.151.222.139]) by smtp.gmail.com with ESMTPSA id s19sm10874262pfh.176.2019.05.18.01.51.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 18 May 2019 01:51:02 -0700 (PDT) X-Google-Original-From: Tak Kunihiro In-Reply-To: <834l5td4hl.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 17 May 2019 08:39:18 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159480 Archived-At: >>>> Value (1 ((shift) . 1) ((control))) isn't as useful as value (1 ((shift) >>>> . 5) ((control))), is it? >>> >>> The values can be floats, not just integers. >> >> True. However, scrolling with float value is relative to number of >> lines in a screen. > > Granted, I know that. However, since Emacs knows the size of the > screen, it could compute the equivalent of lines in screen units. And > even if not, the approximate size of today's windows is known in > advance, and what's important (to me) is to keep the slowing-down > effect of Shift, even if it slows down by a different ratio. To maintain relationship that is to scroll less on Shift, scroll with Shift should be 3 pixel when scroll without Shift is 1 line (15 pixel). I thought it is not possible to do even using float value.