From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#35389: 27.0.50; [PATCH] Emacs on macOS sets mouse-wheel variables directly Date: Sat, 11 May 2019 23:50:21 +0100 Message-ID: <20190511225021.GA82537@breton.holly.idiocy.org> References: <87y341q8cb.fsf@gmail.com> <83y33edr2a.fsf@gnu.org> <20190510212531.GA82150@breton.holly.idiocy.org> <83sgtleczm.fsf@gnu.org> <83a7ftdzq8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="79100"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.11.3 (2019-02-01) Cc: 35389@debbugs.gnu.org, Robert Pluim , npostavs@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 12 00:51:36 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 1hPaq8-000KQw-6A for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 May 2019 00:51:36 +0200 Original-Received: from localhost ([127.0.0.1]:36150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPaq4-0005xX-1S for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 May 2019 18:51:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPapr-0005xM-R3 for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 18:51:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPapa-0001wA-SP for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 18:51:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56107) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hPapa-0001vr-Dw for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 18:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hPapa-0001wv-65 for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 18:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 May 2019 22:51: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.15576150337457 (code B ref 35389); Sat, 11 May 2019 22:51:02 +0000 Original-Received: (at 35389) by debbugs.gnu.org; 11 May 2019 22:50:33 +0000 Original-Received: from localhost ([127.0.0.1]:41418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPap7-0001wD-A4 for submit@debbugs.gnu.org; Sat, 11 May 2019 18:50:33 -0400 Original-Received: from mail-wr1-f42.google.com ([209.85.221.42]:47015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPap5-0001w0-Jo for 35389@debbugs.gnu.org; Sat, 11 May 2019 18:50:32 -0400 Original-Received: by mail-wr1-f42.google.com with SMTP id r7so10703055wrr.13 for <35389@debbugs.gnu.org>; Sat, 11 May 2019 15:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=kipv/xdIbNgvTpO50CREMZURQeslsSoQmPKMbfNA5KI=; b=m++pt1Hpe53MLRvmbi+MkU91TaRycr/mUFnQUiGcf8xZ4yQSm20q8OD8+Xc5SgEgy7 sA+Po4u8jQBUfm0klh1wPV8tPKn9XagSo8QV4mkqw6B4u/qnt00YQnDPX/tKJszY4SQ9 OSLugWHwOa4c+tvkKXr8LzIrpaCcBdQz/bwZYNb/Gc4diALHLE7/QAuhlkDyXgOHzkvK ugOY51z/5lS1Dud0wjElVTFKSrlryIP0YGys4f+8H9EIu0BzYkoHdHtb5N0qIQTczSAw 6CvLvoXVKaBAv5wNEmbeBerSLna+O2+LgcuFlvTTBBZBHnfyfSOFwPWDLCK2uc4B9ACu GXxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=kipv/xdIbNgvTpO50CREMZURQeslsSoQmPKMbfNA5KI=; b=Mt2Hx4ksXyLNYVdemLcW/q/FagtBdVFHuW7mZ/qAZ0LiTChP+W91HrgoXQTdxqGY5I s9m4LS77bMnDqy7//hH5V45qlLJG3Ea3+EPHG+F2bbx5be+Wyv25iu9XJPHm8UfcKo8v hDRZAOvRTVO1M50UPzrA3JOFXyb1Nf1ftXT8MDo2ZDZqNrrxylfmyo+Sf5qz+hyeWTdk Fx8TmuEipQDDN7nr9kpDCUZ60fyw6IpmlTgO3OAZf5Qfxk6fhtI6+2uSlUUonPW6qFN/ q+BbG7YVv181to864ZR6Nspk8b7pOBhCMIEqVI6OT0PRtlTxbLPCjBus4mfs00dgGH5m Lhyg== X-Gm-Message-State: APjAAAVVWwM9FwsqOyWrSAqYAk3ToAH2u9KBNFCqxPKypJfR5nyfZ9+r nSLq+CKN+Uo5d/MtisQSN24= X-Google-Smtp-Source: APXvYqxyPqFcvSTx2JLdWg3wXacauOD4NSlvh3utFuRIqc0lOZpgQsAQJADSuB9BWG0yUEmIg0vkSw== X-Received: by 2002:adf:dcc4:: with SMTP id x4mr12642187wrm.107.1557615025588; Sat, 11 May 2019 15:50:25 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-85f9-9fdd-bdd0-2fbb.holly.idiocy.org. [2001:8b0:3f8:8129:85f9:9fdd:bdd0:2fbb]) by smtp.gmail.com with ESMTPSA id n63sm9026390wmn.38.2019.05.11.15.50.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 May 2019 15:50:24 -0700 (PDT) Content-Disposition: inline In-Reply-To: <83a7ftdzq8.fsf@gnu.org> 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:159105 Archived-At: On Sat, May 11, 2019 at 01:58:39PM +0300, Eli Zaretskii wrote: > > From: Robert Pluim > > Cc: Alan Third , 35389@debbugs.gnu.org, npostavs@gmail.com > > Date: Sat, 11 May 2019 11:54:13 +0200 > > > > Eli> Could there be some internal variable, either in Lisp or in > > Eli> C, which we then would use in the default value, as some > > Eli> unit, instead of just number of wheel turns and number of > > Eli> lines? Then we could set that internal variable to different > > Eli> values, but keep the customization the same in those > > Eli> internally-defined units. I think that would be somewhat > > Eli> cleaner, if possible and reasonable, because we'd be able to > > Eli> document the customization in these units in a > > Eli> platform-independent way. > > > > I canʼt think of a single variable you could use to transform > > > > (5 ((shift) . 1) ((control) . nil))) > > > > to > > > > (1 ((shift) . 5) ((control))) > > What is the logic behind the value proposed for macOS 10.7, though? > It sounds like Shift will _increase_ the scrolling amount instead of > decreasing it in the default value? What is the reason for such > reversal? I can’t recall... I think it was just something somebody provided as an option and nobody disagreed. Some of the previous discussion is available here: http://emacs.1067599.n8.nabble.com/Smoother-macOS-touchpad-scrolling-td435666.html -- Alan Third