From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: mouse-wheel-scroll Date: Sun, 02 Apr 2017 19:37:55 +0300 Message-ID: <83y3vipxy4.fsf@gnu.org> References: <83tw6b5vm4.fsf@gnu.org> <20170330.140716.518256554.tkk@misasa.okayama-u.ac.jp> <83o9wi637e.fsf@gnu.org> <82863D66-6F78-472B-8B19-74CF469EE5B1@misasa.okayama-u.ac.jp> <83k27654sa.fsf@gnu.org> <83d1cx6fiv.fsf@gnu.org> <83a8816cl8.fsf@gnu.org> <838tnl63fg.fsf@gnu.org> <83shls42wj.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1491151099 18476 195.159.176.226 (2 Apr 2017 16:38:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Apr 2017 16:38:19 +0000 (UTC) Cc: emacs-devel@gnu.org, dmoncayo@gmail.com To: Richard Copley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 02 18:38:13 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuiVu-00038Z-PO for ged-emacs-devel@m.gmane.org; Sun, 02 Apr 2017 18:38:02 +0200 Original-Received: from localhost ([::1]:55686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuiW0-00024J-H6 for ged-emacs-devel@m.gmane.org; Sun, 02 Apr 2017 12:38:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuiVu-000242-JF for emacs-devel@gnu.org; Sun, 02 Apr 2017 12:38:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuiVr-0002qZ-GL for emacs-devel@gnu.org; Sun, 02 Apr 2017 12:38:02 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuiVr-0002qV-Cw; Sun, 02 Apr 2017 12:37:59 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1597 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cuiVp-0004TJ-Ut; Sun, 02 Apr 2017 12:37:59 -0400 In-reply-to: (message from Richard Copley on Sun, 2 Apr 2017 11:41:39 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213596 Archived-At: > From: Richard Copley > Date: Sun, 2 Apr 2017 11:41:39 +0100 > Cc: Dani Moncayo , Emacs Development > > >> if what Raymond Chen calls a > >> "sub-detent mouse" was involved. (See "Scrollbars bart [sic] 6 – The wheel", > >> "https://blogs.msdn.microsoft.com/oldnewthing/20030807-00/?p=42963".) > > > > What that blog suggests, AFAIU, means that the amount of scrolling > > could not be controlled via the system customization interfaces, only > > via Emacs's user options. > > I'm confused. The blog says "the amount of scrolling is a user setting > which must be respected", and the sample code "requeries the user's > desired scroll delta at each mouse wheel message". But I don't see > anything there that applies to Emacs's user options. They are outside > its scope. They mean system-wide user settings, not settings specific to applications. > > Is that what we want? It would mean that > > Emacs behaves differently from other applications on the same system. > > Confused again. The blog is only about the interpretation of wheel messages. > How we respond to the messages is under our control. What they mean is not. My reading of the code presented there is that, if we go the way they suggest, scrolling in Emacs will be unaffected by the system-wide customizations. Maybe I misunderstood.