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:53:36 +0100 Message-ID: <20190511225336.GB82537@breton.holly.idiocy.org> References: <87y341q8cb.fsf@gmail.com> <83y33edr2a.fsf@gnu.org> <20190510212531.GA82150@breton.holly.idiocy.org> <83sgtleczm.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="90514"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.11.3 (2019-02-01) Cc: 35389@debbugs.gnu.org, npostavs@gmail.com To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 12 00:54:10 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 1hPasb-000NP1-Jv for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 May 2019 00:54:09 +0200 Original-Received: from localhost ([127.0.0.1]:36174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPasa-0007T3-MX for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 May 2019 18:54:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPasV-0007Sx-2a for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 18:54:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPasU-0003GZ-1h for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 18:54:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56111) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hPasT-0003GO-Tp for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 18:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hPasT-000210-Ll for bug-gnu-emacs@gnu.org; Sat, 11 May 2019 18:54:01 -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:54:01 +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.15576152277726 (code B ref 35389); Sat, 11 May 2019 22:54:01 +0000 Original-Received: (at 35389) by debbugs.gnu.org; 11 May 2019 22:53:47 +0000 Original-Received: from localhost ([127.0.0.1]:41422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPasE-00020Y-VP for submit@debbugs.gnu.org; Sat, 11 May 2019 18:53:47 -0400 Original-Received: from mail-wr1-f50.google.com ([209.85.221.50]:39734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPasD-00020K-31 for 35389@debbugs.gnu.org; Sat, 11 May 2019 18:53:45 -0400 Original-Received: by mail-wr1-f50.google.com with SMTP id w8so8906936wrl.6 for <35389@debbugs.gnu.org>; Sat, 11 May 2019 15:53:44 -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=P1pA97NGW46Wwc8ta8lO+lPHK0aWXkXRCQuRHvfEQIk=; b=BDwb2AaQBj2RqoPko8ujlgFq0k+5xxpf/srFAza6QMo8Wov+nBdDgnd7xM3WyHHVvV 9Wbi6NFX2Ixsst2n4utnWpgqImGJIT5F4DqSl+jWvd6HGuHAbCeHsZjnuKsoQKSxY31l 4neHNzuwcye7kqOlzRtfanscueepCo5ibLYFuhqbJx1BJtCdzWZ1jQj0md5t7Jkny0pl X8/i/HyWOLNaV6akA6XF0QiAaIp0Di6fDJp9HOQ8eeR3I0M06lPsljpAza26H0ThG3LA 0GuEcBwjol5C9rywpfX2ke5+5I5grM19NyxzH1BkHa7Os7vBDEhSyoHWYL14OeNWWVl0 xFaw== 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=P1pA97NGW46Wwc8ta8lO+lPHK0aWXkXRCQuRHvfEQIk=; b=MBTRTiVbZe5Wd/f2a5m9JyGEoep1+OSH5cp8EjlEW9CPa70wmdkfxQfySbzSUEjGFB m5/eLFRNfMZjtJVXzAbVWcWYl9/8wuwQinhKI9+uqThv8KhoLGr7rI+P72Xrt7AIn54d mvKhfJakllx3C3+Qr9FHf1rjVjBncDJqyJemAJpiMCCqH7YO0ydp2z6LU8aQleX0RYLA H4rsA3pgaFgUbRt9rInFKCR0Ew/26E10s8XfRJpacpPdkNL+mujpmOOYf5rsfeYwpenK a8+ayp+384e7iWlD5VyK07OkKaqFrIC2hkv/AAfCcWsaiA53BG4O2bptPX4dv8ENDuZv djSA== X-Gm-Message-State: APjAAAUN/bx831qHwu4v4Qi1HoGH7VAHtXTyM7HwLKBPKRyBDDzHvKTk iIlGh9PPZBmAsL5lJyouWLs= X-Google-Smtp-Source: APXvYqxIfbTd09iiUMgi6vZALdnQmwZPPsozb54Gtllr4G22R0Yjb2CZW0cN+57JIr06RpXp3yJXPw== X-Received: by 2002:adf:f80f:: with SMTP id s15mr2676735wrp.322.1557615219152; Sat, 11 May 2019 15:53:39 -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 v25sm583115wml.25.2019.05.11.15.53.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 May 2019 15:53:38 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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:159106 Archived-At: On Sat, May 11, 2019 at 11:54:13AM +0200, Robert Pluim wrote: > >>>>> On Sat, 11 May 2019 09:12:13 +0300, Eli Zaretskii said: > > >> Date: Fri, 10 May 2019 22:25:31 +0100 From: Alan Third > >> Cc: Robert Pluim , > >> 35389@debbugs.gnu.org, npostavs@gmail.com > >> > >> > Why does that system configuration need a different default > >> to begin > with? In general, having different defaults on > >> different systems is > not a good idea. > >> > >> macOS 10.7+ handles wheel scrolling differently from how other > >> systems handle it. If we stick with the defaults then it > >> becomes uncontrollably fast, the current defaults make it feel > >> similar to X, Windows, etc. > >> > >> IIRC, fixing it in C is probably possible, but not as straight > >> forward as just changing the defaults. There was discussion of > >> it in Emacs devel at the time and only one person objected, but > >> later changed their mind. > > Could you give a time range for when that was discussed? September 2017, apparently. I’ve provided a link in my reply to Eli. > Eli> Are you saying that testing the OS version and testing the > Eli> appkit version yield the same result in this case? Or are > Eli> you saying that testing the appkit version is simply > Eli> incorrect? Because that was my concern. > > I think testing the appkit version is correct (but Iʼm not the expert > here, Alan is). It’s really six of one and half a dozen of the other. As far as I’m aware each Appkit version always matches to a macOS version, although the documentation says that’s not guaranteed. As I recall we went with Appkit version because that was more readily available. -- Alan Third