From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Nordin Newsgroups: gmane.emacs.bugs Subject: bug#45322: Documentation of mouse-wheel-progressive-speed clarification Date: Sat, 19 Dec 2020 14:28:22 +0100 Message-ID: <87mtyadix5.fsf@posteo.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20136"; mail-complaints-to="usenet@ciao.gmane.io" To: 45322@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 19 14:29:49 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kqcIu-00057O-Rc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 14:29:48 +0100 Original-Received: from localhost ([::1]:35436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqcIt-0002RN-CH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 08:29:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqcIC-0002R5-H8 for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 08:29:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqcIA-0007dY-DK for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 08:29:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqcIA-0008K9-81 for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 08:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Nordin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Dec 2020 13:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45322 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160838451431960 (code B ref -1); Sat, 19 Dec 2020 13:29:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Dec 2020 13:28:34 +0000 Original-Received: from localhost ([127.0.0.1]:41064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqcHi-0008JQ-HL for submit@debbugs.gnu.org; Sat, 19 Dec 2020 08:28:34 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:57806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqcHg-0008JG-Ht for submit@debbugs.gnu.org; Sat, 19 Dec 2020 08:28:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqcHg-0002OU-2J for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 08:28:32 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:45854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqcHd-0007T8-Qy for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 08:28:31 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id CFEF1160063 for ; Sat, 19 Dec 2020 14:28:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1608384505; bh=0j/h52BhQowLaZEIT9DIqwX1AosxkU/eTgHJV2evN8Q=; h=From:To:Subject:Date:From; b=VPCHM8ehiN/UlRHGuNnEMNjlNjve+SzTL8EtJOz5P54PEIHiv/UGRuJfwjEF6o90Q b/eXaDRVQZG+8DNl9iRrNOOsnq8zqQfRr0L9fYhTNti8vnhftgkooT0Rolj8hHqPJs 5Ej5mjJPPQu04lYrAIC+mMuSTlHxevHyKoxgRutZGU36BP6LLvEnRepychGgtvhIlq jhbOZckuhsrm8BIciUsSKCDzuFFMwVawS4TmANGwNn8dRqNUhoaKq8KgkunIHotn/x mQS8D/8iy/uV4BY2k7u3gfDK37E6HVlmRkmJ7p9h6sqzzNNL5zwTwGKkeOpnKhc4kf qhHXUNW/0leCA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CymlF23y9z6tmG for ; Sat, 19 Dec 2020 14:28:25 +0100 (CET) Received-SPF: pass client-ip=185.67.36.65; envelope-from=tomasn@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196386 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Emacs Here is a little documentation improvement I think. The doc of variable mouse-wheel-progressive-speed says If non-nil, the faster the user moves the wheel, the faster the scrolling. Note that this has no effect when =E2=80=98mouse-wheel-scroll-amount=E2=80= =99 specifies a "near full screen" scroll or when the mouse wheel sends key instead of button events. That explains (the first sentence) the effect when the variable is nil, the scrolling speed is proportional to the wheel speed. When non-nil, scrolling speed will increase (progress) the more the wheel is turned. Isn't it. Attached is a patch updating the docs of the variable and in info. GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2020-12-12 Best regards -- Tomas --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=progressive-speed-doc.patch diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index f5e2e8d172..57b1add85b 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi @@ -210,7 +210,7 @@ Mouse Commands @code{mouse-wheel-scroll-amount} determine where and by how much buffers are scrolled. The variable @code{mouse-wheel-progressive-speed} determines whether the scroll -speed is linked to how fast you move the wheel. This mode also +speed is linked to how much you move the wheel. This mode also supports increasing or decreasing the height of the default face, by default bound to scrolling with the @key{Ctrl} modifier. diff --git a/lisp/mwheel.el b/lisp/mwheel.el index 9fd050fea5..a0941205ba 100644 --- a/lisp/mwheel.el +++ b/lisp/mwheel.el @@ -131,7 +131,7 @@ mouse-wheel-scroll-amount :version "28.1") (defcustom mouse-wheel-progressive-speed t - "If non-nil, the faster the user moves the wheel, the faster the scrolling. + "If non-nil, the more the user moves the wheel, the faster the scrolling. Note that this has no effect when `mouse-wheel-scroll-amount' specifies a \"near full screen\" scroll or when the mouse wheel sends key instead of button events." --=-=-=--