From unknown Fri Jun 20 18:11:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16196 <16196@debbugs.gnu.org> To: bug#16196 <16196@debbugs.gnu.org> Subject: Status: 24.3.50; Disable ding when scrolling Reply-To: bug#16196 <16196@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:11:58 +0000 retitle 16196 24.3.50; Disable ding when scrolling reassign 16196 emacs submitter 16196 Jan Dj=C3=A4rv severity 16196 minor tag 16196 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 20 01:09:13 2013 Received: (at submit) by debbugs.gnu.org; 20 Dec 2013 06:09:13 +0000 Received: from localhost ([127.0.0.1]:59334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VttGq-0003Cu-5G for submit@debbugs.gnu.org; Fri, 20 Dec 2013 01:09:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45572) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VttGm-0003Cj-TJ for submit@debbugs.gnu.org; Fri, 20 Dec 2013 01:09:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VttGd-0008M6-2u for submit@debbugs.gnu.org; Fri, 20 Dec 2013 01:09:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VttGc-0008M2-Vm for submit@debbugs.gnu.org; Fri, 20 Dec 2013 01:08:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VttGV-00007f-4M for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 01:08:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VttGN-0008Jk-Qr for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 01:08:51 -0500 Received: from mailfe01.swip.net ([212.247.154.1]:45168 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VttGN-0008JW-K6 for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 01:08:43 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 465679272 for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 07:08:38 +0100 From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 24.3.50; Disable ding when scrolling Message-Id: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> Date: Fri, 20 Dec 2013 07:08:37 +0100 To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) X-Mailer: Apple Mail (2.1827) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello. When using a laptop with a trackpad, or a separate trackpad, scrolling = in Emacs is annoying. The reason is that with a trackpad you "fling" the scrollbar up or down, = with low precision. Trackbar scrolling isn't designed to be done with = the seame precision as with a scrollbar. That means when Emacs hits top or bottom, it beeps a lot. If you have = visual bell on, it blinks a lot. That is because Emacs beeps when you try to scroll up/down and you = already are at the top/bottom. The same applies for scrolling left/right. I think Emacs should by default not beep at all when scrolling and no = movement can be done. It should just ignore it and do nothing, like = most applications do. At the very least there should be an option to = turn off scrollrelated beeping. Jan D. In GNU Emacs 24.3.50.1 (x86_64-apple-darwin13.0.0, NS = apple-appkit-1265.00) of 2013-11-20 on zeplin Bzr revision: 115162 jan.h.d@swipnet.se-20131120183312-4v1zvxtg5vf1ez60 Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --verbose --with-ns CFLAGS=3D-g3' Important settings: value of $LC_COLLATE: C value of $LANG: sv_SE.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 20 03:56:02 2013 Received: (at 16196) by debbugs.gnu.org; 20 Dec 2013 08:56:02 +0000 Received: from localhost ([127.0.0.1]:59473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtvsH-0008QU-Rd for submit@debbugs.gnu.org; Fri, 20 Dec 2013 03:56:02 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:51288) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtvsF-0008Q3-VI for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 03:56:01 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MY300B00KNQYY00@a-mtaout22.012.net.il> for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 10:55:58 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MY3004WNKT9ZPO3@a-mtaout22.012.net.il>; Fri, 20 Dec 2013 10:55:58 +0200 (IST) Date: Fri, 20 Dec 2013 10:56:18 +0200 From: Eli Zaretskii Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling In-reply-to: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> X-012-Sender: halo1@inter.net.il To: Jan =?utf-8?Q?Dj=C3=A4rv?= Message-id: <83d2krc34d.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Jan Djärv > Date: Fri, 20 Dec 2013 07:08:37 +0100 > > I think Emacs should by default not beep at all when scrolling and no movement can be done. This could be hard to implement. Most scrolling commands just examine the text around point, and set the window-start for the next redisplay, so they don't really know when no movement can be done. Thus, the exact conditions for bitching "End of buffer" are not at all what you could imagine, and not easily correlated with the situation you describe. For example, the next-line and previous-line commands signal these errors when they find they are unable to scroll text, something that might be utterly unrelated to hitting end of buffer. [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Jan Djärv > Date: Fri, 20 Dec 2013 07:08:37 +0100 > > I think Emacs should by default not beep at all when scrolling and no movement can be done. This could be hard to implement. Most scrolling commands just examine the text around point, and set the window-start for the next redisplay, so they don't really know when no movement can be done. Thus, the exact conditions for bitching "End of buffer" are not at all what you could imagine, and not easily correlated with the situation you describe. For example, the next-line and previous-line commands signal these errors when they find they are unable to scroll text, something that might be utterly unrelated to hitting end of buffer. [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) > From: Jan Djärv > Date: Fri, 20 Dec 2013 07:08:37 +0100 > > I think Emacs should by default not beep at all when scrolling and no movement can be done. This could be hard to implement. Most scrolling commands just examine the text around point, and set the window-start for the next redisplay, so they don't really know when no movement can be done. Thus, the exact conditions for bitching "End of buffer" are not at all what you could imagine, and not easily correlated with the situation you describe. For example, the next-line and previous-line commands signal these errors when they find they are unable to scroll text, something that might be utterly unrelated to hitting end of buffer. > It should just ignore it and do nothing, like most applications do. Well, "do nothing" is something Emacs cannot easily do in this case, since the part that "does nothing" is redisplay, which has no idea about the scrolling command that just ran. > At the very least there should be an option to turn off scrollrelated beeping. This should be much easier to implement, although you may be surprised to see in how many places we throw that particular error. (Hint: grep the Lisp sources for "'end-of-file".) Patches are welcome, as usual. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 20 05:26:25 2013 Received: (at 16196) by debbugs.gnu.org; 20 Dec 2013 10:26:25 +0000 Received: from localhost ([127.0.0.1]:59552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtxHl-0002lc-E9 for submit@debbugs.gnu.org; Fri, 20 Dec 2013 05:26:25 -0500 Received: from mailfe03.swip.net ([212.247.154.65]:40389 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtxHi-0002lM-9Z for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 05:26:23 -0500 X-T2-Spam-Status: No, hits=0.0 required=5.0 tests=MIME_QP_LONG_LINE Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 295359456; Fri, 20 Dec 2013 11:26:19 +0100 Received: from [172.16.2.162] (unknown [176.57.193.190]) (Authenticated sender: jhd) by hosdjarv.se (Postfix) with ESMTPSA id 8C2B51A01EB; Fri, 20 Dec 2013 10:26:19 +0000 (UTC) References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> Mime-Version: 1.0 (1.0) In-Reply-To: <83d2krc34d.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPhone Mail (11B554a) From: =?utf-8?Q?Jan_Dj=C3=A4rv?= Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling Date: Fri, 20 Dec 2013 11:26:18 +0100 To: Eli Zaretskii X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello.=20 20 dec 2013 kl. 09:56 skrev Eli Zaretskii : >> From: Jan Dj=C3=A4rv >> Date: Fri, 20 Dec 2013 07:08:37 +0100 >>=20 >> I think Emacs should by default not beep at all when scrolling and no mov= ement can be done. >=20 > This could be hard to implement. Most scrolling commands just examine > the text around point, and set the window-start for the next > redisplay, so they don't really know when no movement can be done. > Thus, the exact conditions for bitching "End of buffer" are not at all > what you could imagine, and not easily correlated with the situation > you describe. For example, the next-line and previous-line commands > signal these errors when they find they are unable to scroll text, > something that might be utterly unrelated to hitting end of buffer. I have in my .emacs: (setq mwheel-scroll-up-function '(lambda (amt) (if (< (window-end) (point-max)) (scroll-up amt)))) (setq mwheel-scroll-down-function '(lambda (amt) (if (> (window-start) (point-min)) (scroll-down amt)))) This does what this bug report talks about, except in the horizontal directi= on. So it can't be that hard.=20 Jan D.=20 >=20 >> It should just ignore it and do nothing, like most applications do. >=20 > Well, "do nothing" is something Emacs cannot easily do in this case, > since the part that "does nothing" is redisplay, which has no idea > about the scrolling command that just ran. >=20 >> At the very least there should be an option to turn off scrollrelated bee= ping. >=20 > This should be much easier to implement, although you may be surprised > to see in how many places we throw that particular error. (Hint: grep > the Lisp sources for "'end-of-file".) >=20 > Patches are welcome, as usual. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 20 05:32:47 2013 Received: (at 16196) by debbugs.gnu.org; 20 Dec 2013 10:32:47 +0000 Received: from localhost ([127.0.0.1]:59561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtxNu-0002yO-6l for submit@debbugs.gnu.org; Fri, 20 Dec 2013 05:32:46 -0500 Received: from mailfe03.swip.net ([212.247.154.65]:45333 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtxNr-0002yD-QZ for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 05:32:44 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50, MIME_QP_LONG_LINE Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 295361934; Fri, 20 Dec 2013 11:32:42 +0100 Received: from [172.16.2.162] (unknown [176.57.193.190]) (Authenticated sender: jhd) by hosdjarv.se (Postfix) with ESMTPSA id 0CCA81A0076; Fri, 20 Dec 2013 10:32:42 +0000 (UTC) References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> X-Mailer: iPhone Mail (11B554a) From: =?utf-8?Q?Jan_Dj=C3=A4rv?= Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling Date: Fri, 20 Dec 2013 11:32:40 +0100 To: Eli Zaretskii X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello.=20 > 20 dec 2013 kl. 11:26 skrev Jan Dj=C3=A4rv : >=20 > Hello.=20 >=20 > 20 dec 2013 kl. 09:56 skrev Eli Zaretskii : >=20 >>> From: Jan Dj=C3=A4rv >>> Date: Fri, 20 Dec 2013 07:08:37 +0100 >>>=20 >>> I think Emacs should by default not beep at all when scrolling and no mo= vement can be done. >>=20 >> This could be hard to implement. Most scrolling commands just examine >> the text around point, and set the window-start for the next >> redisplay, so they don't really know when no movement can be done. >> Thus, the exact conditions for bitching "End of buffer" are not at all >> what you could imagine, and not easily correlated with the situation >> you describe. For example, the next-line and previous-line commands >> signal these errors when they find they are unable to scroll text, >> something that might be utterly unrelated to hitting end of buffer. >=20 > I have in my .emacs: >=20 > (setq mwheel-scroll-up-function > '(lambda (amt) > (if (< (window-end) (point-max)) (scroll-up amt)))) >=20 > (setq mwheel-scroll-down-function > '(lambda (amt) > (if (> (window-start) (point-min)) (scroll-down amt)))) >=20 > This does what this bug report talks about, except in the horizontal direc= tion. So it can't be that hard.=20 On the C level I think it is a matter of not calling xsignal0 in window_scro= ll_(line|pixel)_based in window.c.=20 Jan D.=20 >=20 >>=20 >>> It should just ignore it and do nothing, like most applications do. >>=20 >> Well, "do nothing" is something Emacs cannot easily do in this case, >> since the part that "does nothing" is redisplay, which has no idea >> about the scrolling command that just ran. >>=20 >>> At the very least there should be an option to turn off scrollrelated be= eping. >>=20 >> This should be much easier to implement, although you may be surprised >> to see in how many places we throw that particular error. (Hint: grep >> the Lisp sources for "'end-of-file".) >>=20 >> Patches are welcome, as usual. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 20 05:42:55 2013 Received: (at 16196) by debbugs.gnu.org; 20 Dec 2013 10:42:55 +0000 Received: from localhost ([127.0.0.1]:59568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtxXj-0003Gl-5r for submit@debbugs.gnu.org; Fri, 20 Dec 2013 05:42:55 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:44725) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtxXg-0003Ga-Ex for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 05:42:53 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MY300J00PPNWB00@a-mtaout20.012.net.il> for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 12:42:48 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MY300J5JPRCWE00@a-mtaout20.012.net.il>; Fri, 20 Dec 2013 12:42:48 +0200 (IST) Date: Fri, 20 Dec 2013 12:43:09 +0200 From: Eli Zaretskii Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling In-reply-to: X-012-Sender: halo1@inter.net.il To: Jan =?utf-8?Q?Dj=C3=A4rv?= Message-id: <8361qjby6a.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org> > From: Jan Djärv > Date: Fri, 20 Dec 2013 11:26:18 +0100 > > (setq mwheel-scroll-up-function > '(lambda (amt) > (if (< (window-end) (point-max)) (scroll-up amt)))) > > (setq mwheel-scroll-down-function > '(lambda (amt) > (if (> (window-start) (point-min)) (scroll-down amt)))) > > This does what this bug report talks about, except in the horizontal direction. So it can't be that hard. [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org> > From: Jan Djärv > Date: Fri, 20 Dec 2013 11:26:18 +0100 > > (setq mwheel-scroll-up-function > '(lambda (amt) > (if (< (window-end) (point-max)) (scroll-up amt)))) > > (setq mwheel-scroll-down-function > '(lambda (amt) > (if (> (window-start) (point-min)) (scroll-down amt)))) > > This does what this bug report talks about, except in the horizontal direction. So it can't be that hard. [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) > Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org> > From: Jan Djärv > Date: Fri, 20 Dec 2013 11:26:18 +0100 > > (setq mwheel-scroll-up-function > '(lambda (amt) > (if (< (window-end) (point-max)) (scroll-up amt)))) > > (setq mwheel-scroll-down-function > '(lambda (amt) > (if (> (window-start) (point-min)) (scroll-down amt)))) > > This does what this bug report talks about, except in the horizontal direction. So it can't be that hard. Did you try that when the beginning or the end of the buffer is a large image, or a line with a font so large it doesn't fit in the window? In any case, if the issue is limited to wheel scrolling, it might indeed be simpler. I thought you were suggesting to disable the error for any type of scrolling, not just by the mouse wheel. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 20 05:48:42 2013 Received: (at 16196) by debbugs.gnu.org; 20 Dec 2013 10:48:42 +0000 Received: from localhost ([127.0.0.1]:59581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtxdJ-0003SB-N4 for submit@debbugs.gnu.org; Fri, 20 Dec 2013 05:48:41 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:46255) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtxdH-0003Rz-4O for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 05:48:40 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MY300J00PWOX400@a-mtaout20.012.net.il> for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 12:48:12 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MY300JMSQ0BVP20@a-mtaout20.012.net.il>; Fri, 20 Dec 2013 12:48:11 +0200 (IST) Date: Fri, 20 Dec 2013 12:48:32 +0200 From: Eli Zaretskii Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling In-reply-to: <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> X-012-Sender: halo1@inter.net.il To: Jan =?utf-8?Q?Dj=C3=A4rv?= Message-id: <834n63bxxb.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org> > From: Jan Djärv > Date: Fri, 20 Dec 2013 11:32:40 +0100 > > On the C level I think it is a matter of not calling xsignal0 in window_scroll_(line|pixel)_based in window.c. [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org> > From: Jan Djärv > Date: Fri, 20 Dec 2013 11:32:40 +0100 > > On the C level I think it is a matter of not calling xsignal0 in window_scroll_(line|pixel)_based in window.c. [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) > Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org> > From: Jan Djärv > Date: Fri, 20 Dec 2013 11:32:40 +0100 > > On the C level I think it is a matter of not calling xsignal0 in window_scroll_(line|pixel)_based in window.c. Depends on the scope of the proposed change, as I wrote earlier. Grep lisp/*.el for "(signal .* 'end-of-buffer" to see how many places throw this error. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 20 12:52:36 2013 Received: (at 16196) by debbugs.gnu.org; 20 Dec 2013 17:52:36 +0000 Received: from localhost ([127.0.0.1]:60397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vu4FX-0001Cm-RA for submit@debbugs.gnu.org; Fri, 20 Dec 2013 12:52:36 -0500 Received: from mailfe01.swip.net ([212.247.154.1]:32769 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vu4FQ-0001CV-K1 for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 12:52:34 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 465927371; Fri, 20 Dec 2013 18:52:26 +0100 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <834n63bxxb.fsf@gnu.org> Date: Fri, 20 Dec 2013 18:52:27 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.1827) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello. 20 dec 2013 kl. 11:48 skrev Eli Zaretskii : >> Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org> >> From: Jan Dj=E4rv >> Date: Fri, 20 Dec 2013 11:32:40 +0100 >>=20 >> On the C level I think it is a matter of not calling xsignal0 in = window_scroll_(line|pixel)_based in window.c.=20 >=20 > Depends on the scope of the proposed change, as I wrote earlier. > Grep lisp/*.el for "(signal .* 'end-of-buffer" to see how many places > throw this error. 11 hits, 6 in simple.el. 17/10 if we include beginning-of-buffer. = About half is kill-related and does not involve scrolling. Does not = sound many to me. But I would settle for no beep for WHEEL events. I'd prefer no beep at = all though. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 20 13:11:53 2013 Received: (at 16196) by debbugs.gnu.org; 20 Dec 2013 18:11:53 +0000 Received: from localhost ([127.0.0.1]:60418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vu4YD-0001ng-Bs for submit@debbugs.gnu.org; Fri, 20 Dec 2013 13:11:53 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:45741) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vu4Y9-0001nR-TF for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 13:11:51 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MY400G00AAC6V00@a-mtaout22.012.net.il> for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 20:11:01 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MY400EB0AIDJR81@a-mtaout22.012.net.il>; Fri, 20 Dec 2013 20:11:01 +0200 (IST) Date: Fri, 20 Dec 2013 20:10:57 +0200 From: Eli Zaretskii Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling In-reply-to: <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> X-012-Sender: halo1@inter.net.il To: Jan =?iso-8859-1?Q?Dj=E4rv?= Message-id: <831u17bdfy.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Jan Djärv > Date: Fri, 20 Dec 2013 18:52:27 +0100 > Cc: 16196@debbugs.gnu.org > > 11 hits, 6 in simple.el. 17/10 if we include beginning-of-buffer. About half is kill-related and does not involve scrolling. Does not sound many to me. [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Jan Djärv > Date: Fri, 20 Dec 2013 18:52:27 +0100 > Cc: 16196@debbugs.gnu.org > > 11 hits, 6 in simple.el. 17/10 if we include beginning-of-buffer. About half is kill-related and does not involve scrolling. Does not sound many to me. [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.172 listed in list.dnswl.org] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) > From: Jan Djärv > Date: Fri, 20 Dec 2013 18:52:27 +0100 > Cc: 16196@debbugs.gnu.org > > 11 hits, 6 in simple.el. 17/10 if we include beginning-of-buffer. About half is kill-related and does not involve scrolling. Does not sound many to me. There are a couple in C as well. But the main problem would be to understand which ones belong to what use cases. > But I would settle for no beep for WHEEL events. I'd prefer no beep at all though. What, never? Not even if you hit the beginning or end by moving cursor or by C-v/M-v? That'd be a serious change of behavior, so it should be discussed and/or users polled before we do that, I think. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 20 13:49:09 2013 Received: (at 16196) by debbugs.gnu.org; 20 Dec 2013 18:49:09 +0000 Received: from localhost ([127.0.0.1]:60427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vu58G-0002xa-Hr for submit@debbugs.gnu.org; Fri, 20 Dec 2013 13:49:08 -0500 Received: from mailfe06.swip.net ([212.247.154.161]:42300 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vu589-0002x2-5i for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 13:49:05 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 461120186; Fri, 20 Dec 2013 19:48:58 +0100 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <831u17bdfy.fsf@gnu.org> Date: Fri, 20 Dec 2013 19:48:57 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.1827) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello. 20 dec 2013 kl. 19:10 skrev Eli Zaretskii : >> From: Jan Dj=E4rv >> Date: Fri, 20 Dec 2013 18:52:27 +0100 >> Cc: 16196@debbugs.gnu.org >>=20 >> 11 hits, 6 in simple.el. 17/10 if we include beginning-of-buffer. = About half is kill-related and does not involve scrolling. Does not = sound many to me. >=20 > There are a couple in C as well. But the main problem would be to > understand which ones belong to what use cases. >=20 >> But I would settle for no beep for WHEEL events. I'd prefer no beep = at all though. >=20 > What, never? Not even if you hit the beginning or end by moving > cursor or by C-v/M-v? Yes never. I always though the beeping to be a bit out of this world: "Where do you want to be?" "At the end of the buffer." "You are at the end of the buffer." "Fine!" "Not at all, it is an error to be where you want to be." "??" > That'd be a serious change of behavior, so it > should be discussed and/or users polled before we do that, I think. Best make it an option then. Does not require polling. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 20 15:35:33 2013 Received: (at 16196) by debbugs.gnu.org; 20 Dec 2013 20:35:33 +0000 Received: from localhost ([127.0.0.1]:60487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vu6nE-0007Ko-Nk for submit@debbugs.gnu.org; Fri, 20 Dec 2013 15:35:32 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:39356) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vu6nC-0007Kc-9k for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 15:35:31 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MY400000H5BQG00@a-mtaout20.012.net.il> for 16196@debbugs.gnu.org; Fri, 20 Dec 2013 22:35:28 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MY4000L4H74BZG0@a-mtaout20.012.net.il>; Fri, 20 Dec 2013 22:35:28 +0200 (IST) Date: Fri, 20 Dec 2013 22:35:22 +0200 From: Eli Zaretskii Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling In-reply-to: X-012-Sender: halo1@inter.net.il To: Jan =?iso-8859-1?Q?Dj=E4rv?= Message-id: <83y53f9s6t.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Jan Djärv > Date: Fri, 20 Dec 2013 19:48:57 +0100 > Cc: 16196@debbugs.gnu.org > > > That'd be a serious change of behavior, so it > > should be discussed and/or users polled before we do that, I think. > > Best make it an option then. Does not require polling. [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Jan Djärv > Date: Fri, 20 Dec 2013 19:48:57 +0100 > Cc: 16196@debbugs.gnu.org > > > That'd be a serious change of behavior, so it > > should be discussed and/or users polled before we do that, I think. > > Best make it an option then. Does not require polling. [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) > From: Jan Djärv > Date: Fri, 20 Dec 2013 19:48:57 +0100 > Cc: 16196@debbugs.gnu.org > > > That'd be a serious change of behavior, so it > > should be discussed and/or users polled before we do that, I think. > > Best make it an option then. Does not require polling. I don't think an option will raise any objections. Patches welcome. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 22 21:46:10 2013 Received: (at 16196) by debbugs.gnu.org; 23 Dec 2013 02:46:10 +0000 Received: from localhost ([127.0.0.1]:35103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VuvWz-0003Pk-IE for submit@debbugs.gnu.org; Sun, 22 Dec 2013 21:46:09 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]:44295) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VuvWx-0003PX-6k for 16196@debbugs.gnu.org; Sun, 22 Dec 2013 21:46:08 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rBN2k2mk023763; Sun, 22 Dec 2013 21:46:03 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 2F6EDAE25E; Sun, 22 Dec 2013 21:46:02 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling Message-ID: References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> <83y53f9s6t.fsf@gnu.org> Date: Sun, 22 Dec 2013 21:46:02 -0500 In-Reply-To: <83y53f9s6t.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 20 Dec 2013 22:35:22 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4800=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4800> : inlines <347> : streams <1095445> : uri <1632545> X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org, Jan =?windows-1252?Q?Dj=E4rv?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) >> > That'd be a serious change of behavior, so it >> > should be discussed and/or users polled before we do that, I think. >> Best make it an option then. Does not require polling. > I don't think an option will raise any objections. Patches welcome. Can be seen as a generalization of scroll-error-top-bottom. I'm not opposed to such an option, but I'm not convinced that changing the default behavior is a good idea: the general design of Emacs is that we strive to make every command perform *something*, so when the user's request ends up doing nothing, we signal an error to make it clear that Emacs did obey the request. Otherwise the lack of feedback can make the user feel like Emacs is unresponsive. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 23 05:45:00 2013 Received: (at 16196) by debbugs.gnu.org; 23 Dec 2013 10:45:00 +0000 Received: from localhost ([127.0.0.1]:35404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vv30O-0001gC-4c for submit@debbugs.gnu.org; Mon, 23 Dec 2013 05:45:00 -0500 Received: from mailfe07.swip.net ([212.247.154.193]:57360 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vv30L-0001fy-1c for 16196@debbugs.gnu.org; Mon, 23 Dec 2013 05:44:58 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 463027437; Mon, 23 Dec 2013 11:44:54 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: Date: Mon, 23 Dec 2013 11:44:52 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> <83y53f9s6t.fsf@gnu.org> To: Stefan Monnier X-Mailer: Apple Mail (2.1827) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello. 23 dec 2013 kl. 03:46 skrev Stefan Monnier : >>>> That'd be a serious change of behavior, so it >>>> should be discussed and/or users polled before we do that, I think. >>> Best make it an option then. Does not require polling. >> I don't think an option will raise any objections. Patches welcome. >=20 > Can be seen as a generalization of scroll-error-top-bottom. >=20 > I'm not opposed to such an option, but I'm not convinced that changing > the default behavior is a good idea: the general design of Emacs is = that > we strive to make every command perform *something*, so when the = user's > request ends up doing nothing, we signal an error to make it clear = that > Emacs did obey the request. Otherwise the lack of feedback can make = the > user feel like Emacs is unresponsive. The main use case here is "flinging" with a trackpad. In that case, = Emacs already responds by scrolling up/down to the top/bottom. It is = after Emacs has hit top/bottom that the "extra" beeps occur. If already at the top/bottom, the normal thing for OSX apps is to = "bounce" a bit to show that the display is already at the top/bottom. = If at the top, the whole page is moved a bit downwards and then bounces = back. This is not common in X, so not really appropriate for Emacs. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 03 17:57:25 2014 Received: (at 16196) by debbugs.gnu.org; 3 Jan 2014 22:57:25 +0000 Received: from localhost ([127.0.0.1]:60676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzDgD-0005xH-1K for submit@debbugs.gnu.org; Fri, 03 Jan 2014 17:57:25 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:30578) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzDgB-0005xA-QJ for 16196@debbugs.gnu.org; Fri, 03 Jan 2014 17:57:24 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFG4rwsm/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IPAS-Result: Av8EABK/CFG4rwsm/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="43928371" Received: from 184-175-11-38.dsl.teksavvy.com (HELO pastel.home) ([184.175.11.38]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Jan 2014 17:57:22 -0500 Received: by pastel.home (Postfix, from userid 20848) id BC0EB6013A; Fri, 3 Jan 2014 17:57:22 -0500 (EST) From: Stefan Monnier To: Jan =?windows-1252?Q?Dj=E4rv?= Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling Message-ID: References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> <83y53f9s6t.fsf@gnu.org> Date: Fri, 03 Jan 2014 17:57:22 -0500 In-Reply-To: ("Jan =?windows-1252?Q?Dj=E4rv=22's?= message of "Mon, 23 Dec 2013 11:44:52 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> I'm not opposed to such an option, but I'm not convinced that changing >> the default behavior is a good idea: the general design of Emacs is that >> we strive to make every command perform *something*, so when the user's >> request ends up doing nothing, we signal an error to make it clear that >> Emacs did obey the request. Otherwise the lack of feedback can make the >> user feel like Emacs is unresponsive. > The main use case here is "flinging" with a trackpad. In that case, Emacs > already responds by scrolling up/down to the top/bottom. It is after Emacs > has hit top/bottom that the "extra" beeps occur. But if you're at EOB and you scroll with the wheel to try and go "even further", if Emacs doesn't (ding), then it does nothing: lack of feedback. > If already at the top/bottom, the normal thing for OSX apps is to > "bounce" a bit to show that the display is already at the top/bottom. If at > the top, the whole page is moved a bit downwards and then bounces back. > This is not common in X, so not really appropriate for Emacs. Right, instead we (ding). Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 03 18:46:42 2014 Received: (at 16196) by debbugs.gnu.org; 3 Jan 2014 23:46:42 +0000 Received: from localhost ([127.0.0.1]:60746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzERt-0007Ki-9E for submit@debbugs.gnu.org; Fri, 03 Jan 2014 18:46:41 -0500 Received: from mailfe08.swip.net ([212.247.154.225]:43446 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzERp-0007KY-Rs for 16196@debbugs.gnu.org; Fri, 03 Jan 2014 18:46:39 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50, MIME_QP_LONG_LINE Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 467153147; Sat, 04 Jan 2014 00:46:35 +0100 References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> <83y53f9s6t.fsf@gnu.org> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <3E2B9204-7431-4CC0-952F-C37BB2FFD2D9@swipnet.se> X-Mailer: iPhone Mail (11B554a) From: =?utf-8?Q?Jan_Dj=C3=A4rv?= Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling Date: Sat, 4 Jan 2014 00:46:32 +0100 To: Stefan Monnier X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello.=20 3 jan 2014 kl. 23:57 skrev Stefan Monnier : >>> I'm not opposed to such an option, but I'm not convinced that changing >>> the default behavior is a good idea: the general design of Emacs is that= >>> we strive to make every command perform *something*, so when the user's >>> request ends up doing nothing, we signal an error to make it clear that >>> Emacs did obey the request. Otherwise the lack of feedback can make the= >>> user feel like Emacs is unresponsive. >> The main use case here is "flinging" with a trackpad. In that case, Emac= s >> already responds by scrolling up/down to the top/bottom. It is after Ema= cs >> has hit top/bottom that the "extra" beeps occur. >=20 > But if you're at EOB and you scroll with the wheel to try and go "even > further", if Emacs doesn't (ding), then it does nothing: lack of feedback.= >=20 Which is useless IMHO. Ding implies an error, this isn't one. I want to be a= t EOB and I am at EOB. >> If already at the top/bottom, the normal thing for OSX apps is to >> "bounce" a bit to show that the display is already at the top/bottom. If= at >> the top, the whole page is moved a bit downwards and then bounces back. >> This is not common in X, so not really appropriate for Emacs. >=20 > Right, instead we (ding). If it was only one ding, one might be able to stand it even if it is just an= noying and gives no value whatsoever. But with flinging the beeping goes on f= or several seconds, depending on the force of the fling.=20 I rather have a silent lack of feedback than a lot of beeping.=20 Jan D.=20= From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 03 19:03:22 2014 Received: (at 16196) by debbugs.gnu.org; 4 Jan 2014 00:03:22 +0000 Received: from localhost ([127.0.0.1]:60765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzEi2-0007np-Bf for submit@debbugs.gnu.org; Fri, 03 Jan 2014 19:03:22 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:42176) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzEi0-0007nd-Lp for 16196@debbugs.gnu.org; Fri, 03 Jan 2014 19:03:21 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id s0403F8e012603 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 4 Jan 2014 00:03:17 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s0403ED1017870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Jan 2014 00:03:15 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s0403Eul017864; Sat, 4 Jan 2014 00:03:14 GMT MIME-Version: 1.0 Message-ID: <39e5261b-85e6-41de-9f3e-bc92c5b5ed07@default> Date: Fri, 3 Jan 2014 16:03:13 -0800 (PST) From: Drew Adams To: =?iso-8859-1?B?SmFuIERq5HJ2?= , Stefan Monnier Subject: RE: bug#16196: 24.3.50; Disable ding when scrolling References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> <83y53f9s6t.fsf@gnu.org> <3E2B9204-7431-4CC0-952F-C37BB2FFD2D9@swipnet.se> In-Reply-To: <3E2B9204-7431-4CC0-952F-C37BB2FFD2D9@swipnet.se> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) > Ding implies an error No, it does not. Read its doc. And read about particular uses of it, in the Elisp manual. Each explicit mention of a use makes clear that it is NOT about signaling an error. Node `Key Lookup': "it rings the bell (by calling `ding') but does not signal an error." ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Node `Functions for Key Lookup': "It calls `ding', but does not cause an error." ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Node `Beeping' tells you clearly what `ding' *is* for: "to attract the user's attention." It also makes clear that one does not want to overuse it: attracting the user's attention too much defeats the purpose and can be annoying. > I rather have a silent lack of feedback than a lot of beeping. Bind `ring-bell-function' wherever you like to whatever you like, including to `ignore'. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 00:07:13 2014 Received: (at 16196) by debbugs.gnu.org; 4 Jan 2014 05:07:13 +0000 Received: from localhost ([127.0.0.1]:32823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzJS5-0000PV-BL for submit@debbugs.gnu.org; Sat, 04 Jan 2014 00:07:13 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:19028) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzJS4-0000PN-17 for 16196@debbugs.gnu.org; Sat, 04 Jan 2014 00:07:12 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFG4rwsm/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IPAS-Result: Av8EABK/CFG4rwsm/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="43948911" Received: from 184-175-11-38.dsl.teksavvy.com (HELO pastel.home) ([184.175.11.38]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Jan 2014 00:07:11 -0500 Received: by pastel.home (Postfix, from userid 20848) id 617196063D; Sat, 4 Jan 2014 00:07:11 -0500 (EST) From: Stefan Monnier To: Jan =?windows-1252?Q?Dj=E4rv?= Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling Message-ID: References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> <83y53f9s6t.fsf@gnu.org> <3E2B9204-7431-4CC0-952F-C37BB2FFD2D9@swipnet.se> Date: Sat, 04 Jan 2014 00:07:11 -0500 In-Reply-To: <3E2B9204-7431-4CC0-952F-C37BB2FFD2D9@swipnet.se> ("Jan =?windows-1252?Q?Dj=E4rv=22's?= message of "Sat, 4 Jan 2014 00:46:32 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> But if you're at EOB and you scroll with the wheel to try and go "even >> further", if Emacs doesn't (ding), then it does nothing: lack of feedback. > Which is useless IMHO. Ding implies an error, this isn't one. I want > to be at EOB and I am at EOB. Useless or not, the point is: without (ding) this would make the command do absolutely nothing, which is contrary to the principle that Emacs should try to provide some feedback in response to each command. > I rather have a silent lack of feedback than a lot of beeping. If you use the audible bell, the beeping might indeed be a pain in the ear (tho I can't really judge: I find the audible bell itself to be unbearable so I've used the visual bell for as long as I can remember). So the question is: which kind of feedback should we use instead? I'd rather keep some kind of feedback. Maybe a `message'? Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 02:26:13 2014 Received: (at 16196) by debbugs.gnu.org; 4 Jan 2014 07:26:13 +0000 Received: from localhost ([127.0.0.1]:32917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzLcZ-0004Mh-Lu for submit@debbugs.gnu.org; Sat, 04 Jan 2014 02:26:12 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:52211) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzLcV-0004MS-4Z for 16196@debbugs.gnu.org; Sat, 04 Jan 2014 02:26:08 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MYV00B008ATSF00@a-mtaout22.012.net.il> for 16196@debbugs.gnu.org; Sat, 04 Jan 2014 09:26:05 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MYV00BS38NGR430@a-mtaout22.012.net.il>; Sat, 04 Jan 2014 09:26:05 +0200 (IST) Date: Sat, 04 Jan 2014 09:25:46 +0200 From: Eli Zaretskii Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling In-reply-to: <3E2B9204-7431-4CC0-952F-C37BB2FFD2D9@swipnet.se> X-012-Sender: halo1@inter.net.il To: Jan =?utf-8?Q?Dj=C3=A4rv?= Message-id: <83a9fcw6md.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> <83y53f9s6t.fsf@gnu.org> <3E2B9204-7431-4CC0-952F-C37BB2FFD2D9@swipnet.se> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Cc: Eli Zaretskii , > "16196@debbugs.gnu.org" <16196@debbugs.gnu.org> > From: Jan Djärv > Date: Sat, 4 Jan 2014 00:46:32 +0100 > > with flinging the beeping goes on for several seconds, depending on the force of the fling. Are you saying that ding is called several times in a row? Perhaps we could avoid this specific situation (we already have mechanism in place for changing behavior when certain commands are invoked several times in a row). From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 04:36:42 2014 Received: (at 16196) by debbugs.gnu.org; 4 Jan 2014 09:36:42 +0000 Received: from localhost ([127.0.0.1]:33018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzNer-00087T-Tr for submit@debbugs.gnu.org; Sat, 04 Jan 2014 04:36:42 -0500 Received: from mailfe06.swip.net ([212.247.154.161]:42305 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzNel-00087A-Ck for 16196@debbugs.gnu.org; Sat, 04 Jan 2014 04:36:40 -0500 X-T2-Spam-Status: No, hits=0.0 required=5.0 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 464383788; Sat, 04 Jan 2014 10:36:32 +0100 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <83a9fcw6md.fsf@gnu.org> Date: Sat, 4 Jan 2014 10:36:27 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <92445487-EE06-442E-ACE1-B3FE8D1AD144@swipnet.se> References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> <83y53f9s6t.fsf@gnu.org> <3E2B9204-7431-4CC0-952F-C37BB2FFD2D9@swipnet.se> <83a9fcw6md.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.1827) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: 16196@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello. 4 jan 2014 kl. 08:25 skrev Eli Zaretskii : >> Cc: Eli Zaretskii , >> "16196@debbugs.gnu.org" <16196@debbugs.gnu.org> >> From: Jan Dj=E4rv >> Date: Sat, 4 Jan 2014 00:46:32 +0100 >>=20 >> with flinging the beeping goes on for several seconds, depending on = the force of the fling.=20 >=20 > Are you saying that ding is called several times in a row? Perhaps we > could avoid this specific situation (we already have mechanism in > place for changing behavior when certain commands are invoked several > times in a row). Yes. Here is C-h l after a normal fling. Each wheel-down results in a = beep: C-h l Maybe double and triple could be ignored? Visual bell is worse in this use case than the beep, as each blink takes = longer time than a beep. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 04:40:15 2014 Received: (at 16196) by debbugs.gnu.org; 4 Jan 2014 09:40:16 +0000 Received: from localhost ([127.0.0.1]:33024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzNiJ-0008Fx-7l for submit@debbugs.gnu.org; Sat, 04 Jan 2014 04:40:15 -0500 Received: from mailfe05.swip.net ([212.247.154.129]:44226 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzNiG-0008Fn-RW for 16196@debbugs.gnu.org; Sat, 04 Jan 2014 04:40:13 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 461690885; Sat, 04 Jan 2014 10:40:11 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: Date: Sat, 4 Jan 2014 10:40:10 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <397AC4EA-FAF4-470A-A83C-81C1044EBC86@swipnet.se> References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> <83y53f9s6t.fsf@gnu.org> <3E2B9204-7431-4CC0-952F-C37BB2FFD2D9@swipnet.se> To: Stefan Monnier X-Mailer: Apple Mail (2.1827) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello. 4 jan 2014 kl. 06:07 skrev Stefan Monnier : >=20 >> I rather have a silent lack of feedback than a lot of beeping.=20 >=20 > If you use the audible bell, the beeping might indeed be a pain in the > ear (tho I can't really judge: I find the audible bell itself to be > unbearable so I've used the visual bell for as long as I can = remember). Visual bell is actually worse. A beep is fast, a visual blink lasts = longer, so the time blinking is longer than the time beeping. > So the question is: which kind of feedback should we use instead? > I'd rather keep some kind of feedback. Maybe a `message'? That sounds like a good idea. Jan D. =20= From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 08:43:09 2014 Received: (at 16196) by debbugs.gnu.org; 4 Jan 2014 13:43:09 +0000 Received: from localhost ([127.0.0.1]:33266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzRVN-0007YN-CL for submit@debbugs.gnu.org; Sat, 04 Jan 2014 08:43:09 -0500 Received: from mout.gmx.net ([212.227.17.22]:63072) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzRVJ-0007YD-Ss for 16196@debbugs.gnu.org; Sat, 04 Jan 2014 08:43:06 -0500 Received: from [62.47.40.146] ([62.47.40.146]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MfW5D-1VkwUd2VrP-00P6Xu for <16196@debbugs.gnu.org>; Sat, 04 Jan 2014 14:43:04 +0100 Message-ID: <52C80FE4.7060809@gmx.at> Date: Sat, 04 Jan 2014 14:43:00 +0100 From: martin rudalics MIME-Version: 1.0 To: Stefan Monnier Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> <83y53f9s6t.fsf@gnu.org> <3E2B9204-7431-4CC0-952F-C37BB2FFD2D9@swipnet.se> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:NhICC9tLSeXYt6soEUWNOw5B+/r1gEuliiQM8JIv+nmfieFQpJH rov6AFYhBI/y+E8Fb16tY4pIDJoUhz9ET7DT2AdzHq9YBThMFtj7zr9PSM7Sn6Duik/esMt zlQNXcWnAfQlmok0X1mnVIq3x6rC28xrUVXyKLmZoaOTP+3Qhew1X2AMkfBlv0cS4phhUjm u0bdIJhR/0YzOfs4oJ/Ew== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, =?ISO-8859-15?Q?Jan_Dj=E4rv?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > So the question is: which kind of feedback should we use instead? > I'd rather keep some kind of feedback. Maybe a `message'? As we do already. Just suppress the additional beep. martin, sharing Jan's concerns From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 15:40:57 2014 Received: (at 16196) by debbugs.gnu.org; 4 Jan 2014 20:40:57 +0000 Received: from localhost ([127.0.0.1]:34392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzY1g-0003ds-OD for submit@debbugs.gnu.org; Sat, 04 Jan 2014 15:40:57 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:36474) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VzY1e-0003di-2H for 16196@debbugs.gnu.org; Sat, 04 Jan 2014 15:40:54 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhIKABK/CFG4rwsm/2dsb2JhbABEuzWCVwQDexdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IPAS-Result: AhIKABK/CFG4rwsm/2dsb2JhbABEuzWCVwQDexdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA4hhnBmBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="43995354" Received: from 184-175-11-38.dsl.teksavvy.com (HELO pastel.home) ([184.175.11.38]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Jan 2014 15:40:53 -0500 Received: by pastel.home (Postfix, from userid 20848) id 46D73604AC; Sat, 4 Jan 2014 15:40:53 -0500 (EST) From: Stefan Monnier To: martin rudalics Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling Message-ID: References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <83d2krc34d.fsf@gnu.org> <29609060-51EE-4D80-9D96-90CABE6A6844@swipnet.se> <834n63bxxb.fsf@gnu.org> <146154A1-1747-40BE-BE17-7DF4FB5DE808@swipnet.se> <831u17bdfy.fsf@gnu.org> <83y53f9s6t.fsf@gnu.org> <3E2B9204-7431-4CC0-952F-C37BB2FFD2D9@swipnet.se> <52C80FE4.7060809@gmx.at> Date: Sat, 04 Jan 2014 15:40:53 -0500 In-Reply-To: <52C80FE4.7060809@gmx.at> (martin rudalics's message of "Sat, 04 Jan 2014 14:43:00 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Jan =?windows-1252?Q?Dj=E4rv?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> So the question is: which kind of feedback should we use instead? >> I'd rather keep some kind of feedback. Maybe a `message'? > As we do already. Indeed! I didn't notice it because the (ding) drowns it out. > Just suppress the additional beep. Sounds OK. Can someone provide a patch to mwheel.el? Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 09 03:55:23 2019 Received: (at 16196) by debbugs.gnu.org; 9 Aug 2019 07:55:23 +0000 Received: from localhost ([127.0.0.1]:42020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvzkB-0004fu-Av for submit@debbugs.gnu.org; Fri, 09 Aug 2019 03:55:23 -0400 Received: from mail-pf1-f179.google.com ([209.85.210.179]:37350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvzk8-0004fh-SM for 16196@debbugs.gnu.org; Fri, 09 Aug 2019 03:55:21 -0400 Received: by mail-pf1-f179.google.com with SMTP id 19so45592246pfa.4 for <16196@debbugs.gnu.org>; Fri, 09 Aug 2019 00:55:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=LIIJcROYj6e0Giy7os1HaNmSoKHuXTbYoBWzLja8+PQ=; b=jChJZhkASAFkmDPu8nBHCSfREJCHN2d2uCHLYtr+vSLrnEioqqgU3DSqcHW5KRdvEm Jngm2WH3AXY/186xDz4ZeKfQKINzBlLRpC4Mh8CjtTThY1jMzLZ8e7Hwovzc9UbDZP6/ 5fn0FFZhfSTYzcawE8OoROchwxoHI1mAIlfRBmxhVhNucQIu7/J5ipWtk0xdDJQBcte/ /KvnQ+OVo4Zv66B+YmwBHrzumwZm8mJpAAuRIdQ/EbE7vvmS0vduK2efetUtCU2xakvn JnWbNGEoF1s+BxsOW06D4WCIb9ByKywI/N7nD7tYa7QWiACn9sHTxLqw8hvLanXz9mtt uUhw== X-Gm-Message-State: APjAAAX+6at7MrfTUyIzm4XKW5l1hYAJM6fyHOds+YbWf55Ao5IpFhH9 UMzO0FEpdD5X4RoWahEnUZFneQuspzbCebce0qw= X-Google-Smtp-Source: APXvYqy2E1xDESW6CJU9QXP3jxRbpE48vr9u9PkDCh0JQ+jC2Mv/gNlkiPSmSIW/lcRJG/DjU6/asqwdfGBS7aMgHdI= X-Received: by 2002:a17:90a:9488:: with SMTP id s8mr8370775pjo.2.1565337314816; Fri, 09 Aug 2019 00:55:14 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Fri, 9 Aug 2019 09:55:03 +0200 Message-ID: Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling To: Stefan Monnier Content-Type: multipart/mixed; boundary="0000000000009aeb01058faa7eaf" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, martin rudalics , =?UTF-8?Q?Jan_Dj=C3=A4rv?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --0000000000009aeb01058faa7eaf Content-Type: text/plain; charset="UTF-8" Stefan Monnier writes: >>> So the question is: which kind of feedback should we use instead? >>> I'd rather keep some kind of feedback. Maybe a `message'? >> As we do already. > > Indeed! I didn't notice it because the (ding) drowns it out. > >> Just suppress the additional beep. > > Sounds OK. Can someone provide a patch to mwheel.el? I took a stab at this. The attached patch traps the beginning-of-buffer and end-of-buffer errors and shows a message instead as suggested above. To make it easier to review, I've also included a git diff ignoring whitespace changes. What do you think? Best regards, Stefan Kangas --0000000000009aeb01058faa7eaf Content-Type: application/octet-stream; name="0001-Make-mouse-scroll-show-a-message-instead-of-dinging-.patch" Content-Disposition: attachment; filename="0001-Make-mouse-scroll-show-a-message-instead-of-dinging-.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jz3t7jdb0 RnJvbSBiOTZhMzRhZGNlMmM0OTRmMDI2NTZiMmVlODE5NDJmYzkyMTZiMjk0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpEYXRlOiBGcmksIDkgQXVnIDIwMTkgMDk6Mzk6MTYgKzAyMDAKU3ViamVjdDogW1BBVENIXSBN YWtlIG1vdXNlIHNjcm9sbCBzaG93IGEgbWVzc2FnZSBpbnN0ZWFkIG9mIGRpbmdpbmcgYXQgYnVm ZmVyCiBsaW1pdHMKCiogbGlzcC9td2hlZWwuZWwgKG13aGVlbC1zY3JvbGwpOiBTaG93IGEgbWVz c2FnZSBpbnN0ZWFkIG9mIGRpbmdpbmcgYXQKZW5kIG9mIGJ1ZmZlciBhbmQgYmVnaW5uaW5nIG9m IGJ1ZmZlci4gIFRoaXMgc2hvdWxkIGJlIGxlc3MgaW50cnVzaXZlLAplc3BlY2lhbGx5IHdoZW4g dXNpbmcgYSB0cmFja3BhZC4gIChCdWcjMTYxOTYpCi0tLQogbGlzcC9td2hlZWwuZWwgfCAxOTYg KysrKysrKysrKysrKysrKysrKysrKysrKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQogMSBmaWxl IGNoYW5nZWQsIDEwMiBpbnNlcnRpb25zKCspLCA5NCBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQg YS9saXNwL213aGVlbC5lbCBiL2xpc3AvbXdoZWVsLmVsCmluZGV4IGRmZWE1NTM3NGIuLjM0ZTQ2 NjhiNWEgMTAwNjQ0Ci0tLSBhL2xpc3AvbXdoZWVsLmVsCisrKyBiL2xpc3AvbXdoZWVsLmVsCkBA IC0yMDgsMTAwICsyMDgsMTA4IEBAIG13aGVlbC1zY3JvbGwKIFRoaXMgc2hvdWxkIGJlIGJvdW5k IG9ubHkgdG8gbW91c2UgYnV0dG9ucyA0LCA1LCA2LCBhbmQgNyBvbgogbm9uLVdpbmRvd3Mgc3lz dGVtcy4iCiAgIChpbnRlcmFjdGl2ZSAobGlzdCBsYXN0LWlucHV0LWV2ZW50KSkKLSAgKGxldCog KChzZWxlY3RlZC13aW5kb3cgKHNlbGVjdGVkLXdpbmRvdykpCi0gICAgICAgICAoc2Nyb2xsLXdp bmRvdwotICAgICAgICAgIChvciAoY2F0Y2ggJ2ZvdW5kCi0gICAgICAgICAgICAgICAgKGxldCog KCh3aW5kb3cgKGlmIG1vdXNlLXdoZWVsLWZvbGxvdy1tb3VzZQotICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAobXdoZWVsLWV2ZW50LXdpbmRvdyBldmVudCkKLSAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIChzZWxlY3RlZC13aW5kb3cpKSkKLSAgICAgICAgICAgICAg ICAgICAgICAgKGZyYW1lICh3aGVuICh3aW5kb3ctbGl2ZS1wIHdpbmRvdykKLSAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgKGZyYW1lLXBhcmFtZXRlcgotICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgKHdpbmRvdy1mcmFtZSB3aW5kb3cpICdtb3VzZS13aGVlbC1mcmFtZSkp KSkKLSAgICAgICAgICAgICAgICAgICh3aGVuIChmcmFtZS1saXZlLXAgZnJhbWUpCi0gICAgICAg ICAgICAgICAgICAgIChsZXQqICgocG9zIChtb3VzZS1hYnNvbHV0ZS1waXhlbC1wb3NpdGlvbikp Ci0gICAgICAgICAgICAgICAgICAgICAgICAgICAocG9zLXggKGNhciBwb3MpKQotICAgICAgICAg ICAgICAgICAgICAgICAgICAgKHBvcy15IChjZHIgcG9zKSkpCi0gICAgICAgICAgICAgICAgICAg ICAgKHdhbGstd2luZG93LXRyZWUKLSAgICAgICAgICAgICAgICAgICAgICAgKGxhbWJkYSAod2lu ZG93LTEpCi0gICAgICAgICAgICAgICAgICAgICAgICAgKGxldCAoKGVkZ2VzICh3aW5kb3ctZWRn ZXMgd2luZG93LTEgbmlsIHQgdCkpKQotICAgICAgICAgICAgICAgICAgICAgICAgICAgKHdoZW4g KGFuZCAoPD0gKG50aCAwIGVkZ2VzKSBwb3MteCkKLSAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgKDw9IHBvcy14IChudGggMiBlZGdlcykpCi0gICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICg8PSAobnRoIDEgZWRnZXMpIHBvcy15KQotICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAoPD0gcG9zLXkgKG50aCAzIGVkZ2VzKSkpCi0gICAg ICAgICAgICAgICAgICAgICAgICAgICAgICh0aHJvdyAnZm91bmQgd2luZG93LTEpKSkpCi0gICAg ICAgICAgICAgICAgICAgICAgIGZyYW1lIG5pbCB0KSkpKSkKLSAgICAgICAgICAgICAgKG13aGVl bC1ldmVudC13aW5kb3cgZXZlbnQpKSkKLQkgKG9sZC1wb2ludAotICAgICAgICAgIChhbmQgKGVx IHNjcm9sbC13aW5kb3cgc2VsZWN0ZWQtd2luZG93KQotCSAgICAgICAoZXEgKGNhci1zYWZlIHRy YW5zaWVudC1tYXJrLW1vZGUpICdvbmx5KQotCSAgICAgICAod2luZG93LXBvaW50KSkpCi0gICAg ICAgICAobW9kcwotCSAgKGRlbHEgJ2NsaWNrIChkZWxxICdkb3VibGUgKGRlbHEgJ3RyaXBsZSAo ZXZlbnQtbW9kaWZpZXJzIGV2ZW50KSkpKSkKLSAgICAgICAgIChhbXQgKGFzc29jIG1vZHMgbW91 c2Utd2hlZWwtc2Nyb2xsLWFtb3VudCkpKQotICAgICh1bmxlc3MgKGVxIHNjcm9sbC13aW5kb3cg c2VsZWN0ZWQtd2luZG93KQotICAgICAgOzsgTWFyayB3aW5kb3cgdG8gYmUgc2Nyb2xsZWQgZm9y IHJlZGlzcGxheS4KLSAgICAgIChzZWxlY3Qtd2luZG93IHNjcm9sbC13aW5kb3cgJ21hcmstZm9y LXJlZGlzcGxheSkpCi0gICAgOzsgRXh0cmFjdCB0aGUgYWN0dWFsIGFtb3VudCBvciBmaW5kIHRo ZSBlbGVtZW50IHRoYXQgaGFzIG5vIG1vZGlmaWVycy4KLSAgICAoaWYgYW10IChzZXRxIGFtdCAo Y2RyIGFtdCkpCi0gICAgICAobGV0ICgobGlzdC1lbHQgbW91c2Utd2hlZWwtc2Nyb2xsLWFtb3Vu dCkpCi0JKHdoaWxlIChjb25zcCAoc2V0cSBhbXQgKHBvcCBsaXN0LWVsdCkpKSkpKQotICAgIChp ZiAoZmxvYXRwIGFtdCkgKHNldHEgYW10ICgxKyAodHJ1bmNhdGUgKCogYW10ICh3aW5kb3ctaGVp Z2h0KSkpKSkpCi0gICAgKHdoZW4gKGFuZCBtb3VzZS13aGVlbC1wcm9ncmVzc2l2ZS1zcGVlZCAo bnVtYmVycCBhbXQpKQotICAgICAgOzsgV2hlbiB0aGUgZG91YmxlLW1vdXNlLU4gY29tZXMgaW4s IGEgbW91c2UtTiBoYXMgYmVlbiBleGVjdXRlZCBhbHJlYWR5LAotICAgICAgOzsgU28gYnkgYWRk aW5nIHRoaW5ncyB1cCB3ZSBnZXQgYSBzcXVhcmluZyB1cCAoMSwgMywgNiwgMTAsIDE1LCAuLi4p LgotICAgICAgKHNldHEgYW10ICgqIGFtdCAoZXZlbnQtY2xpY2stY291bnQgZXZlbnQpKSkpCi0g ICAgKHdoZW4gKG51bWJlcnAgYW10KSAoc2V0cSBhbXQgKCogYW10IChldmVudC1saW5lLWNvdW50 IGV2ZW50KSkpKQotICAgICh1bndpbmQtcHJvdGVjdAotCShsZXQgKChidXR0b24gKG13aGVlbC1l dmVudC1idXR0b24gZXZlbnQpKSkKLQkgIChjb25kICgoZXEgYnV0dG9uIG1vdXNlLXdoZWVsLWRv d24tZXZlbnQpCi0gICAgICAgICAgICAgICAgIChjb25kaXRpb24tY2FzZSBuaWwgKGZ1bmNhbGwg bXdoZWVsLXNjcm9sbC1kb3duLWZ1bmN0aW9uIGFtdCkKLSAgICAgICAgICAgICAgICAgICA7OyBN YWtlIHN1cmUgd2UgZG8gaW5kZWVkIHNjcm9sbCB0byB0aGUgYmVnaW5uaW5nIG9mCi0gICAgICAg ICAgICAgICAgICAgOzsgdGhlIGJ1ZmZlci4KLSAgICAgICAgICAgICAgICAgICAoYmVnaW5uaW5n LW9mLWJ1ZmZlcgotICAgICAgICAgICAgICAgICAgICAodW53aW5kLXByb3RlY3QKLSAgICAgICAg ICAgICAgICAgICAgICAgIChmdW5jYWxsIG13aGVlbC1zY3JvbGwtZG93bi1mdW5jdGlvbikKLSAg ICAgICAgICAgICAgICAgICAgICA7OyBJZiB0aGUgZmlyc3Qgc2Nyb2xsIHN1Y2NlZWRlZCwgdGhl biBzb21lIHNjcm9sbGluZwotICAgICAgICAgICAgICAgICAgICAgIDs7IGlzIHBvc3NpYmxlOiBr ZWVwIHNjcm9sbGluZyB0aWwgdGhlIGJlZ2lubmluZyBidXQKLSAgICAgICAgICAgICAgICAgICAg ICA7OyBkbyBub3Qgc2lnbmFsIGFuIGVycm9yLiAgRm9yIHNvbWUgcmVhc29uLCB3ZSBoYXZlCi0g ICAgICAgICAgICAgICAgICAgICAgOzsgdG8gZG8gaXQgZXZlbiBpZiB0aGUgZmlyc3Qgc2Nyb2xs IHNpZ25hbGVkIGFuCi0gICAgICAgICAgICAgICAgICAgICAgOzsgZXJyb3IsIGJlY2F1c2Ugb3Ro ZXJ3aXNlIHRoZSB3aW5kb3cgaXMgcmVjZW50ZXJlZAotICAgICAgICAgICAgICAgICAgICAgIDs7 IGZvciBhIHJlYXNvbiB0aGF0IGVzY2FwZXMgbWUuICBUaGlzIHByb2JsZW0gc2VlbXMKLSAgICAg ICAgICAgICAgICAgICAgICA7OyB0byBvbmx5IGFmZmVjdCBzY3JvbGwtZG93bi4gIC0tU3RlZgot ICAgICAgICAgICAgICAgICAgICAgIChzZXQtd2luZG93LXN0YXJ0IChzZWxlY3RlZC13aW5kb3cp IChwb2ludC1taW4pKSkpKSkKLQkJKChlcSBidXR0b24gbW91c2Utd2hlZWwtdXAtZXZlbnQpCi0g ICAgICAgICAgICAgICAgIChjb25kaXRpb24tY2FzZSBuaWwgKGZ1bmNhbGwgbXdoZWVsLXNjcm9s bC11cC1mdW5jdGlvbiBhbXQpCi0gICAgICAgICAgICAgICAgICAgOzsgTWFrZSBzdXJlIHdlIGRv IGluZGVlZCBzY3JvbGwgdG8gdGhlIGVuZCBvZiB0aGUgYnVmZmVyLgotICAgICAgICAgICAgICAg ICAgIChlbmQtb2YtYnVmZmVyICh3aGlsZSB0IChmdW5jYWxsIG13aGVlbC1zY3JvbGwtdXAtZnVu Y3Rpb24pKSkpKQotICAgICAgICAgICAgICAgICgoZXEgYnV0dG9uIG1vdXNlLXdoZWVsLWxlZnQt ZXZlbnQpIDsgZm9yIHRpbHQgc2Nyb2xsCi0gICAgICAgICAgICAgICAgICh3aGVuIG1vdXNlLXdo ZWVsLXRpbHQtc2Nyb2xsCi0gICAgICAgICAgICAgICAgICAgKGZ1bmNhbGwgKGlmIG1vdXNlLXdo ZWVsLWZsaXAtZGlyZWN0aW9uCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG13aGVl bC1zY3JvbGwtcmlnaHQtZnVuY3Rpb24KLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG13 aGVlbC1zY3JvbGwtbGVmdC1mdW5jdGlvbikgYW10KSkpCi0gICAgICAgICAgICAgICAgKChlcSBi dXR0b24gbW91c2Utd2hlZWwtcmlnaHQtZXZlbnQpIDsgZm9yIHRpbHQgc2Nyb2xsCi0gICAgICAg ICAgICAgICAgICh3aGVuIG1vdXNlLXdoZWVsLXRpbHQtc2Nyb2xsCi0gICAgICAgICAgICAgICAg ICAgKGZ1bmNhbGwgKGlmIG1vdXNlLXdoZWVsLWZsaXAtZGlyZWN0aW9uCi0gICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIG13aGVlbC1zY3JvbGwtbGVmdC1mdW5jdGlvbgotICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgbXdoZWVsLXNjcm9sbC1yaWdodC1mdW5jdGlvbikgYW10KSkp Ci0JCSh0IChlcnJvciAiQmFkIGJpbmRpbmcgaW4gbXdoZWVsLXNjcm9sbCIpKSkpCi0gICAgICAo aWYgKGVxIHNjcm9sbC13aW5kb3cgc2VsZWN0ZWQtd2luZG93KQotCSAgOzsgSWYgdGhlcmUgaXMg YSB0ZW1wb3JhcmlseSBhY3RpdmUgcmVnaW9uLCBkZWFjdGl2YXRlIGl0IGlmCi0JICA7OyBzY3Jv bGxpbmcgbW92ZWQgcG9pbnQuCi0JICAod2hlbiAoYW5kIG9sZC1wb2ludCAoLz0gb2xkLXBvaW50 ICh3aW5kb3ctcG9pbnQpKSkKLQkgICAgOzsgQ2FsbCBgZGVhY3RpdmF0ZS1tYXJrJyBhdCB0aGUg b3JpZ2luYWwgcG9zaXRpb24sIHNvIHRoYXQKLQkgICAgOzsgdGhlIG9yaWdpbmFsIHJlZ2lvbiBp cyBzYXZlZCB0byB0aGUgWCBzZWxlY3Rpb24uCi0JICAgIChsZXQgKChuZXctcG9pbnQgKHdpbmRv dy1wb2ludCkpKQotCSAgICAgIChnb3RvLWNoYXIgb2xkLXBvaW50KQotCSAgICAgIChkZWFjdGl2 YXRlLW1hcmspCi0JICAgICAgKGdvdG8tY2hhciBuZXctcG9pbnQpKSkKLQkoc2VsZWN0LXdpbmRv dyBzZWxlY3RlZC13aW5kb3cgdCkpKSkKLQotICAod2hlbiAoYW5kIG1vdXNlLXdoZWVsLWNsaWNr LWV2ZW50IG1vdXNlLXdoZWVsLWluaGliaXQtY2xpY2stdGltZSkKLSAgICAoaWYgbXdoZWVsLWlu aGliaXQtY2xpY2stZXZlbnQtdGltZXIKLQkoY2FuY2VsLXRpbWVyIG13aGVlbC1pbmhpYml0LWNs aWNrLWV2ZW50LXRpbWVyKQotICAgICAgKGFkZC1ob29rICdwcmUtY29tbWFuZC1ob29rICdtd2hl ZWwtZmlsdGVyLWNsaWNrLWV2ZW50cykpCi0gICAgKHNldHEgbXdoZWVsLWluaGliaXQtY2xpY2st ZXZlbnQtdGltZXIKLQkgIChydW4td2l0aC10aW1lciBtb3VzZS13aGVlbC1pbmhpYml0LWNsaWNr LXRpbWUgbmlsCi0JCQkgICdtd2hlZWwtaW5oaWJpdC1jbGljay10aW1lb3V0KSkpKQorICAobGV0 IChzYXctZXJyb3IpCisgICAgKGxldCogKChzZWxlY3RlZC13aW5kb3cgKHNlbGVjdGVkLXdpbmRv dykpCisgICAgICAgICAgIChzY3JvbGwtd2luZG93CisgICAgICAgICAgICAob3IgKGNhdGNoICdm b3VuZAorICAgICAgICAgICAgICAgICAgKGxldCogKCh3aW5kb3cgKGlmIG1vdXNlLXdoZWVsLWZv bGxvdy1tb3VzZQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChtd2hlZWwt ZXZlbnQtd2luZG93IGV2ZW50KQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAo c2VsZWN0ZWQtd2luZG93KSkpCisgICAgICAgICAgICAgICAgICAgICAgICAgKGZyYW1lICh3aGVu ICh3aW5kb3ctbGl2ZS1wIHdpbmRvdykKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAoZnJhbWUtcGFyYW1ldGVyCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICh3 aW5kb3ctZnJhbWUgd2luZG93KSAnbW91c2Utd2hlZWwtZnJhbWUpKSkpCisgICAgICAgICAgICAg ICAgICAgICh3aGVuIChmcmFtZS1saXZlLXAgZnJhbWUpCisgICAgICAgICAgICAgICAgICAgICAg KGxldCogKChwb3MgKG1vdXNlLWFic29sdXRlLXBpeGVsLXBvc2l0aW9uKSkKKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgKHBvcy14IChjYXIgcG9zKSkKKyAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgKHBvcy15IChjZHIgcG9zKSkpCisgICAgICAgICAgICAgICAgICAgICAgICAod2Fs ay13aW5kb3ctdHJlZQorICAgICAgICAgICAgICAgICAgICAgICAgIChsYW1iZGEgKHdpbmRvdy0x KQorICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxldCAoKGVkZ2VzICh3aW5kb3ctZWRnZXMg d2luZG93LTEgbmlsIHQgdCkpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAod2hlbiAo YW5kICg8PSAobnRoIDAgZWRnZXMpIHBvcy14KQorICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICg8PSBwb3MteCAobnRoIDIgZWRnZXMpKQorICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICg8PSAobnRoIDEgZWRnZXMpIHBvcy15KQorICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICg8PSBwb3MteSAobnRoIDMgZWRnZXMpKSkK KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAodGhyb3cgJ2ZvdW5kIHdpbmRvdy0xKSkp KQorICAgICAgICAgICAgICAgICAgICAgICAgIGZyYW1lIG5pbCB0KSkpKSkKKyAgICAgICAgICAg ICAgICAobXdoZWVsLWV2ZW50LXdpbmRvdyBldmVudCkpKQorCSAgIChvbGQtcG9pbnQKKyAgICAg ICAgICAgIChhbmQgKGVxIHNjcm9sbC13aW5kb3cgc2VsZWN0ZWQtd2luZG93KQorCSAgICAgICAg IChlcSAoY2FyLXNhZmUgdHJhbnNpZW50LW1hcmstbW9kZSkgJ29ubHkpCisJICAgICAgICAgKHdp bmRvdy1wb2ludCkpKQorICAgICAgICAgICAobW9kcworCSAgICAoZGVscSAnY2xpY2sgKGRlbHEg J2RvdWJsZSAoZGVscSAndHJpcGxlIChldmVudC1tb2RpZmllcnMgZXZlbnQpKSkpKQorICAgICAg ICAgICAoYW10IChhc3NvYyBtb2RzIG1vdXNlLXdoZWVsLXNjcm9sbC1hbW91bnQpKSkKKyAgICAg ICh1bmxlc3MgKGVxIHNjcm9sbC13aW5kb3cgc2VsZWN0ZWQtd2luZG93KQorICAgICAgICA7OyBN YXJrIHdpbmRvdyB0byBiZSBzY3JvbGxlZCBmb3IgcmVkaXNwbGF5LgorICAgICAgICAoc2VsZWN0 LXdpbmRvdyBzY3JvbGwtd2luZG93ICdtYXJrLWZvci1yZWRpc3BsYXkpKQorICAgICAgOzsgRXh0 cmFjdCB0aGUgYWN0dWFsIGFtb3VudCBvciBmaW5kIHRoZSBlbGVtZW50IHRoYXQgaGFzIG5vIG1v ZGlmaWVycy4KKyAgICAgIChpZiBhbXQgKHNldHEgYW10IChjZHIgYW10KSkKKyAgICAgICAgKGxl dCAoKGxpc3QtZWx0IG1vdXNlLXdoZWVsLXNjcm9sbC1hbW91bnQpKQorCSAgKHdoaWxlIChjb25z cCAoc2V0cSBhbXQgKHBvcCBsaXN0LWVsdCkpKSkpKQorICAgICAgKGlmIChmbG9hdHAgYW10KSAo c2V0cSBhbXQgKDErICh0cnVuY2F0ZSAoKiBhbXQgKHdpbmRvdy1oZWlnaHQpKSkpKSkKKyAgICAg ICh3aGVuIChhbmQgbW91c2Utd2hlZWwtcHJvZ3Jlc3NpdmUtc3BlZWQgKG51bWJlcnAgYW10KSkK KyAgICAgICAgOzsgV2hlbiB0aGUgZG91YmxlLW1vdXNlLU4gY29tZXMgaW4sIGEgbW91c2UtTiBo YXMgYmVlbiBleGVjdXRlZCBhbHJlYWR5LAorICAgICAgICA7OyBTbyBieSBhZGRpbmcgdGhpbmdz IHVwIHdlIGdldCBhIHNxdWFyaW5nIHVwICgxLCAzLCA2LCAxMCwgMTUsIC4uLikuCisgICAgICAg IChzZXRxIGFtdCAoKiBhbXQgKGV2ZW50LWNsaWNrLWNvdW50IGV2ZW50KSkpKQorICAgICAgKHdo ZW4gKG51bWJlcnAgYW10KSAoc2V0cSBhbXQgKCogYW10IChldmVudC1saW5lLWNvdW50IGV2ZW50 KSkpKQorICAgICAgKGNvbmRpdGlvbi1jYXNlIG5pbAorICAgICAgICAgICh1bndpbmQtcHJvdGVj dAorCSAgICAgIChsZXQgKChidXR0b24gKG13aGVlbC1ldmVudC1idXR0b24gZXZlbnQpKSkKKwkg ICAgICAgIChjb25kICgoZXEgYnV0dG9uIG1vdXNlLXdoZWVsLWRvd24tZXZlbnQpCisgICAgICAg ICAgICAgICAgICAgICAgIChjb25kaXRpb24tY2FzZSBuaWwgKGZ1bmNhbGwgbXdoZWVsLXNjcm9s bC1kb3duLWZ1bmN0aW9uIGFtdCkKKyAgICAgICAgICAgICAgICAgICAgICAgICA7OyBNYWtlIHN1 cmUgd2UgZG8gaW5kZWVkIHNjcm9sbCB0byB0aGUgYmVnaW5uaW5nIG9mCisgICAgICAgICAgICAg ICAgICAgICAgICAgOzsgdGhlIGJ1ZmZlci4KKyAgICAgICAgICAgICAgICAgICAgICAgICAoYmVn aW5uaW5nLW9mLWJ1ZmZlcgorICAgICAgICAgICAgICAgICAgICAgICAgICAodW53aW5kLXByb3Rl Y3QKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmdW5jYWxsIG13aGVlbC1zY3JvbGwt ZG93bi1mdW5jdGlvbikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICA7OyBJZiB0aGUgZmly c3Qgc2Nyb2xsIHN1Y2NlZWRlZCwgdGhlbiBzb21lIHNjcm9sbGluZworICAgICAgICAgICAgICAg ICAgICAgICAgICAgIDs7IGlzIHBvc3NpYmxlOiBrZWVwIHNjcm9sbGluZyB0aWwgdGhlIGJlZ2lu bmluZyBidXQKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICA7OyBkbyBub3Qgc2lnbmFsIGFu IGVycm9yLiAgRm9yIHNvbWUgcmVhc29uLCB3ZSBoYXZlCisgICAgICAgICAgICAgICAgICAgICAg ICAgICAgOzsgdG8gZG8gaXQgZXZlbiBpZiB0aGUgZmlyc3Qgc2Nyb2xsIHNpZ25hbGVkIGFuCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgOzsgZXJyb3IsIGJlY2F1c2Ugb3RoZXJ3aXNlIHRo ZSB3aW5kb3cgaXMgcmVjZW50ZXJlZAorICAgICAgICAgICAgICAgICAgICAgICAgICAgIDs7IGZv ciBhIHJlYXNvbiB0aGF0IGVzY2FwZXMgbWUuICBUaGlzIHByb2JsZW0gc2VlbXMKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICA7OyB0byBvbmx5IGFmZmVjdCBzY3JvbGwtZG93bi4gIC0tU3Rl ZgorICAgICAgICAgICAgICAgICAgICAgICAgICAgIChzZXQtd2luZG93LXN0YXJ0IChzZWxlY3Rl ZC13aW5kb3cpIChwb2ludC1taW4pKSkpKSkKKwkJICAgICAgKChlcSBidXR0b24gbW91c2Utd2hl ZWwtdXAtZXZlbnQpCisgICAgICAgICAgICAgICAgICAgICAgIChjb25kaXRpb24tY2FzZSBuaWwg KGZ1bmNhbGwgbXdoZWVsLXNjcm9sbC11cC1mdW5jdGlvbiBhbXQpCisgICAgICAgICAgICAgICAg ICAgICAgICAgOzsgTWFrZSBzdXJlIHdlIGRvIGluZGVlZCBzY3JvbGwgdG8gdGhlIGVuZCBvZiB0 aGUgYnVmZmVyLgorICAgICAgICAgICAgICAgICAgICAgICAgIChlbmQtb2YtYnVmZmVyICh3aGls ZSB0IChmdW5jYWxsIG13aGVlbC1zY3JvbGwtdXAtZnVuY3Rpb24pKSkpKQorICAgICAgICAgICAg ICAgICAgICAgICgoZXEgYnV0dG9uIG1vdXNlLXdoZWVsLWxlZnQtZXZlbnQpIDsgZm9yIHRpbHQg c2Nyb2xsCisgICAgICAgICAgICAgICAgICAgICAgICh3aGVuIG1vdXNlLXdoZWVsLXRpbHQtc2Ny b2xsCisgICAgICAgICAgICAgICAgICAgICAgICAgKGZ1bmNhbGwgKGlmIG1vdXNlLXdoZWVsLWZs aXAtZGlyZWN0aW9uCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG13aGVl bC1zY3JvbGwtcmlnaHQtZnVuY3Rpb24KKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIG13aGVlbC1zY3JvbGwtbGVmdC1mdW5jdGlvbikgYW10KSkpCisgICAgICAgICAgICAgICAg ICAgICAgKChlcSBidXR0b24gbW91c2Utd2hlZWwtcmlnaHQtZXZlbnQpIDsgZm9yIHRpbHQgc2Ny b2xsCisgICAgICAgICAgICAgICAgICAgICAgICh3aGVuIG1vdXNlLXdoZWVsLXRpbHQtc2Nyb2xs CisgICAgICAgICAgICAgICAgICAgICAgICAgKGZ1bmNhbGwgKGlmIG1vdXNlLXdoZWVsLWZsaXAt ZGlyZWN0aW9uCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG13aGVlbC1z Y3JvbGwtbGVmdC1mdW5jdGlvbgorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg bXdoZWVsLXNjcm9sbC1yaWdodC1mdW5jdGlvbikgYW10KSkpCisJCSAgICAgICh0IChlcnJvciAi QmFkIGJpbmRpbmcgaW4gbXdoZWVsLXNjcm9sbCIpKSkpCisgICAgICAgICAgICAoaWYgKGVxIHNj cm9sbC13aW5kb3cgc2VsZWN0ZWQtd2luZG93KQorICAgICAgICAgICAgICAgIDs7IElmIHRoZXJl IGlzIGEgdGVtcG9yYXJpbHkgYWN0aXZlIHJlZ2lvbiwgZGVhY3RpdmF0ZSBpdCBpZgorICAgICAg ICAgICAgICAgIDs7IHNjcm9sbGluZyBtb3ZlZCBwb2ludC4KKwkgICAgICAgICh3aGVuIChhbmQg b2xkLXBvaW50ICgvPSBvbGQtcG9pbnQgKHdpbmRvdy1wb2ludCkpKQorICAgICAgICAgICAgICAg ICAgOzsgQ2FsbCBgZGVhY3RpdmF0ZS1tYXJrJyBhdCB0aGUgb3JpZ2luYWwgcG9zaXRpb24sIHNv IHRoYXQKKyAgICAgICAgICAgICAgICAgIDs7IHRoZSBvcmlnaW5hbCByZWdpb24gaXMgc2F2ZWQg dG8gdGhlIFggc2VsZWN0aW9uLgorCSAgICAgICAgICAobGV0ICgobmV3LXBvaW50ICh3aW5kb3ct cG9pbnQpKSkKKwkgICAgICAgICAgICAoZ290by1jaGFyIG9sZC1wb2ludCkKKwkgICAgICAgICAg ICAoZGVhY3RpdmF0ZS1tYXJrKQorCSAgICAgICAgICAgIChnb3RvLWNoYXIgbmV3LXBvaW50KSkp CisJICAgICAgKHNlbGVjdC13aW5kb3cgc2VsZWN0ZWQtd2luZG93IHQpKSkKKyAgICAgICAgOzsg RG8gbm90IGRpbmcgYXQgYnVmZmVyIGxpbWl0cy4gIFNob3cgYSBtZXNzYWdlIGluc3RlYWQuCisg ICAgICAgIChiZWdpbm5pbmctb2YtYnVmZmVyIChtZXNzYWdlICJCZWdpbm5pbmcgb2YgYnVmZmVy IikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHNldHEgc2F3LWVycm9yIHQpKQorICAg ICAgICAoZW5kLW9mLWJ1ZmZlciAobWVzc2FnZSAiRW5kIG9mIGJ1ZmZlciIpCisgICAgICAgICAg ICAgICAgICAgICAgIChzZXRxIHNhdy1lcnJvciB0KSkpKQorCisgICAgKHdoZW4gKGFuZCAobm90 IHNhdy1lcnJvcikKKyAgICAgICAgICAgICAgIG1vdXNlLXdoZWVsLWNsaWNrLWV2ZW50IG1vdXNl LXdoZWVsLWluaGliaXQtY2xpY2stdGltZSkKKyAgICAgIChpZiBtd2hlZWwtaW5oaWJpdC1jbGlj ay1ldmVudC10aW1lcgorICAgICAgICAgIChjYW5jZWwtdGltZXIgbXdoZWVsLWluaGliaXQtY2xp Y2stZXZlbnQtdGltZXIpCisgICAgICAgIChhZGQtaG9vayAncHJlLWNvbW1hbmQtaG9vayAnbXdo ZWVsLWZpbHRlci1jbGljay1ldmVudHMpKQorICAgICAgKHNldHEgbXdoZWVsLWluaGliaXQtY2xp Y2stZXZlbnQtdGltZXIKKyAgICAgICAgICAgIChydW4td2l0aC10aW1lciBtb3VzZS13aGVlbC1p bmhpYml0LWNsaWNrLXRpbWUgbmlsCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ213aGVl bC1pbmhpYml0LWNsaWNrLXRpbWVvdXQpKSkpKQogCiAocHV0ICdtd2hlZWwtc2Nyb2xsICdzY3Jv bGwtY29tbWFuZCB0KQogCi0tIAoyLjIyLjAKCg== --0000000000009aeb01058faa7eaf Content-Type: application/octet-stream; name="bug-16196-no-ws.diff" Content-Disposition: attachment; filename="bug-16196-no-ws.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jz3tbt4i1 ZGlmZiAtLWdpdCBhL2xpc3AvbXdoZWVsLmVsIGIvbGlzcC9td2hlZWwuZWwKaW5kZXggZGZlYTU1 Mzc0Yi4uMzRlNDY2OGI1YSAxMDA2NDQKLS0tIGEvbGlzcC9td2hlZWwuZWwKKysrIGIvbGlzcC9t d2hlZWwuZWwKQEAgLTIwOCw2ICsyMDgsNyBAQCBtd2hlZWwtc2Nyb2xsCiBUaGlzIHNob3VsZCBi ZSBib3VuZCBvbmx5IHRvIG1vdXNlIGJ1dHRvbnMgNCwgNSwgNiwgYW5kIDcgb24KIG5vbi1XaW5k b3dzIHN5c3RlbXMuIgogICAoaW50ZXJhY3RpdmUgKGxpc3QgbGFzdC1pbnB1dC1ldmVudCkpCisg IChsZXQgKHNhdy1lcnJvcikKICAgICAobGV0KiAoKHNlbGVjdGVkLXdpbmRvdyAoc2VsZWN0ZWQt d2luZG93KSkKICAgICAgICAgICAgKHNjcm9sbC13aW5kb3cKICAgICAgICAgICAgIChvciAoY2F0 Y2ggJ2ZvdW5kCkBAIC0yNTEsNiArMjUyLDcgQEAgbXdoZWVsLXNjcm9sbAogICAgICAgICA7OyBT byBieSBhZGRpbmcgdGhpbmdzIHVwIHdlIGdldCBhIHNxdWFyaW5nIHVwICgxLCAzLCA2LCAxMCwg MTUsIC4uLikuCiAgICAgICAgIChzZXRxIGFtdCAoKiBhbXQgKGV2ZW50LWNsaWNrLWNvdW50IGV2 ZW50KSkpKQogICAgICAgKHdoZW4gKG51bWJlcnAgYW10KSAoc2V0cSBhbXQgKCogYW10IChldmVu dC1saW5lLWNvdW50IGV2ZW50KSkpKQorICAgICAgKGNvbmRpdGlvbi1jYXNlIG5pbAogICAgICAg ICAgICh1bndpbmQtcHJvdGVjdAogCSAgICAgIChsZXQgKChidXR0b24gKG13aGVlbC1ldmVudC1i dXR0b24gZXZlbnQpKSkKIAkgICAgICAgIChjb25kICgoZXEgYnV0dG9uIG1vdXNlLXdoZWVsLWRv d24tZXZlbnQpCkBAIC0yOTMsMTUgKzI5NSwyMSBAQCBtd2hlZWwtc2Nyb2xsCiAJICAgICAgICAg ICAgKGdvdG8tY2hhciBvbGQtcG9pbnQpCiAJICAgICAgICAgICAgKGRlYWN0aXZhdGUtbWFyaykK IAkgICAgICAgICAgICAoZ290by1jaGFyIG5ldy1wb2ludCkpKQotCShzZWxlY3Qtd2luZG93IHNl bGVjdGVkLXdpbmRvdyB0KSkpKQotCi0gICh3aGVuIChhbmQgbW91c2Utd2hlZWwtY2xpY2stZXZl bnQgbW91c2Utd2hlZWwtaW5oaWJpdC1jbGljay10aW1lKQorCSAgICAgIChzZWxlY3Qtd2luZG93 IHNlbGVjdGVkLXdpbmRvdyB0KSkpCisgICAgICAgIDs7IERvIG5vdCBkaW5nIGF0IGJ1ZmZlciBs aW1pdHMuICBTaG93IGEgbWVzc2FnZSBpbnN0ZWFkLgorICAgICAgICAoYmVnaW5uaW5nLW9mLWJ1 ZmZlciAobWVzc2FnZSAiQmVnaW5uaW5nIG9mIGJ1ZmZlciIpCisgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIChzZXRxIHNhdy1lcnJvciB0KSkKKyAgICAgICAgKGVuZC1vZi1idWZmZXIgKG1l c3NhZ2UgIkVuZCBvZiBidWZmZXIiKQorICAgICAgICAgICAgICAgICAgICAgICAoc2V0cSBzYXct ZXJyb3IgdCkpKSkKKworICAgICh3aGVuIChhbmQgKG5vdCBzYXctZXJyb3IpCisgICAgICAgICAg ICAgICBtb3VzZS13aGVlbC1jbGljay1ldmVudCBtb3VzZS13aGVlbC1pbmhpYml0LWNsaWNrLXRp bWUpCiAgICAgICAoaWYgbXdoZWVsLWluaGliaXQtY2xpY2stZXZlbnQtdGltZXIKICAgICAgICAg ICAoY2FuY2VsLXRpbWVyIG13aGVlbC1pbmhpYml0LWNsaWNrLWV2ZW50LXRpbWVyKQogICAgICAg ICAoYWRkLWhvb2sgJ3ByZS1jb21tYW5kLWhvb2sgJ213aGVlbC1maWx0ZXItY2xpY2stZXZlbnRz KSkKICAgICAgIChzZXRxIG13aGVlbC1pbmhpYml0LWNsaWNrLWV2ZW50LXRpbWVyCiAgICAgICAg ICAgICAocnVuLXdpdGgtdGltZXIgbW91c2Utd2hlZWwtaW5oaWJpdC1jbGljay10aW1lIG5pbAot CQkJICAnbXdoZWVsLWluaGliaXQtY2xpY2stdGltZW91dCkpKSkKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAnbXdoZWVsLWluaGliaXQtY2xpY2stdGltZW91dCkpKSkpCiAKIChwdXQgJ213 aGVlbC1zY3JvbGwgJ3Njcm9sbC1jb21tYW5kIHQpCiAK --0000000000009aeb01058faa7eaf-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 09 04:58:11 2019 Received: (at 16196) by debbugs.gnu.org; 9 Aug 2019 08:58:11 +0000 Received: from localhost ([127.0.0.1]:42042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw0iw-0006ST-Pc for submit@debbugs.gnu.org; Fri, 09 Aug 2019 04:58:11 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:53360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw0iu-0006SA-LH for 16196@debbugs.gnu.org; Fri, 09 Aug 2019 04:58:09 -0400 Received: by mail-wm1-f45.google.com with SMTP id 10so4912024wmp.3 for <16196@debbugs.gnu.org>; Fri, 09 Aug 2019 01:58:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=cHITIisRSjk+p3qRYXWlaHFx9dPa5xVFDpoaPRKHd90=; b=MDmKMahuKAIhS/OspEk8QXs3gnBtJnIxvJ1wGWXkG1vK5YLbeSvY5KZ5oA+W3oq+Q+ fmgSORSyfVdZu5N6GqOHdHZoGmOLRztiXYQxKsFZ/UEsrAvKIpyJmlRDAACligBcucMD qwAMWRDO64PFPggjBAisxaKYRHFb2btWkW9J2rtM6UeJQjtFumijWisv0/EtQOSsDj1N 4+TKgwYdaPatltiabrXZengt6/qkwOu4tXwwTqIeoVPqp/T3pD1MmVb/ejXIcf9vJF78 IZgD1FFgwKUCRn0K1md2g0aL8S/LQ1C4VNdsFHlbWS0ZjrrWXXZC9v3fga36t0yjdlR2 IEgg== 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:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=cHITIisRSjk+p3qRYXWlaHFx9dPa5xVFDpoaPRKHd90=; b=nU7sgTgI9I3trJ32brt6hqhVVpqNEHVhEdEfXQnGjtpI8IYhwxWPMw2hy88aWCnqDm c4U5AwP3DRBHO3BV5H3LIL/VutQE3Gf3Q9kfZCQewgCvURzKBrDNanTeD7njLCmreEQV L+SAVv8dkwVoUM+2xEOYShs0KjZonhQ7RZyBBXD+wTYtfspCjE4VQuRkBOQQ3hmUH2Dd 4dJQ36x38p/k+MeKT5Q0o4QPNFRd5eL76Pd7j+WRwfZcPW6Yx78YYxNbByoaBwmLW4FB OqnQL0Qf/BGA9H9/WOLsmA+fVhF53HEZ1ffTvdfLm3u9dz/YrPV4sV3U5JZrfKY1eOIy W6TQ== X-Gm-Message-State: APjAAAWl2nXHaBMUtuVPTlL4kq6JjZzJqXA7QzNilfg60+KyD237BjHt 74yuIMWjRfpsxlKd2c78QzwHMA== X-Google-Smtp-Source: APXvYqyf5p2TkgjT42Oi/i0vT4Jhd0SEo9brMSi64DyG+mKFxMWkOhep6v65aYNpeLytkgKjnXjrAg== X-Received: by 2002:a1c:3587:: with SMTP id c129mr9944434wma.90.1565341082621; Fri, 09 Aug 2019 01:58:02 -0700 (PDT) Received: from localhost ([79.107.154.184]) by smtp.gmail.com with ESMTPSA id a64sm9249612wmf.1.2019.08.09.01.58.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Aug 2019 01:58:01 -0700 (PDT) From: "Basil L. Contovounesios" To: Stefan Kangas Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> Date: Fri, 09 Aug 2019 11:57:58 +0300 In-Reply-To: (Stefan Kangas's message of "Fri, 9 Aug 2019 09:55:03 +0200") Message-ID: <87r25ulnqh.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Jan =?utf-8?Q?Dj=C3=A4rv?= , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Stefan Kangas writes: > To make it easier to review, I've also included a git diff > ignoring whitespace changes. FWIW, you can slightly reduce the amount of code that needs reindenting by binding saw-error in the existing let* form: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=mwheel.diff diff --git a/lisp/mwheel.el b/lisp/mwheel.el index dfea55374b..6403c57236 100644 --- a/lisp/mwheel.el +++ b/lisp/mwheel.el @@ -237,7 +237,8 @@ mwheel-scroll (window-point))) (mods (delq 'click (delq 'double (delq 'triple (event-modifiers event))))) - (amt (assoc mods mouse-wheel-scroll-amount))) + (amt (assoc mods mouse-wheel-scroll-amount)) + saw-error) (unless (eq scroll-window selected-window) ;; Mark window to be scrolled for redisplay. (select-window scroll-window 'mark-for-redisplay)) @@ -251,6 +252,7 @@ mwheel-scroll ;; So by adding things up we get a squaring up (1, 3, 6, 10, 15, ...). (setq amt (* amt (event-click-count event)))) (when (numberp amt) (setq amt (* amt (event-line-count event)))) + (condition-case nil (unwind-protect (let ((button (mwheel-event-button event))) (cond ((eq button mouse-wheel-down-event) @@ -293,15 +295,21 @@ mwheel-scroll (goto-char old-point) (deactivate-mark) (goto-char new-point))) - (select-window selected-window t)))) + (select-window selected-window t))) + ;; Do not ding at buffer limits. Show a message instead. + (beginning-of-buffer (message "Beginning of buffer") + (setq saw-error t)) + (end-of-buffer (message "End of buffer") + (setq saw-error t))) - (when (and mouse-wheel-click-event mouse-wheel-inhibit-click-time) - (if mwheel-inhibit-click-event-timer + (when (and (not saw-error) + mouse-wheel-click-event mouse-wheel-inhibit-click-time) + (if mwheel-inhibit-click-event-timerp (cancel-timer mwheel-inhibit-click-event-timer) (add-hook 'pre-command-hook 'mwheel-filter-click-events)) (setq mwheel-inhibit-click-event-timer (run-with-timer mouse-wheel-inhibit-click-time nil - 'mwheel-inhibit-click-timeout)))) + 'mwheel-inhibit-click-timeout))))) (put 'mwheel-scroll 'scroll-command t) --=-=-= Content-Type: text/plain Thanks, -- Basil --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 09 05:00:53 2019 Received: (at 16196) by debbugs.gnu.org; 9 Aug 2019 09:00:53 +0000 Received: from localhost ([127.0.0.1]:42046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw0lZ-0006Xx-9R for submit@debbugs.gnu.org; Fri, 09 Aug 2019 05:00:53 -0400 Received: from mout.gmx.net ([212.227.17.20]:46845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw0lW-0006Xj-M7 for 16196@debbugs.gnu.org; Fri, 09 Aug 2019 05:00:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1565341232; bh=Vvk0Jq9dKIpDld2JgQXaJ5yndqS5/GcpO61mYFAYVAg=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=RXG/MFBAes65R0kzARVGYE0nIB/M4/3wJ6HtYFOWsyDfwKguXWAPnazG6RA5nDxPt 8ZuAj0SB24KDE0p5f9LpTM12IMh8Im6n+bQI0k3dAagm9O2npGEYsCwyprpgDeoHhS Q1ovcVagHs6pO4d6/PfWpxW8tYztpIYoNAWlfgAE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([46.125.250.109]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N95eJ-1iQ8O703OR-0167Jp; Fri, 09 Aug 2019 11:00:32 +0200 Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling To: Stefan Kangas , Stefan Monnier References: From: martin rudalics Message-ID: Date: Fri, 9 Aug 2019 11:00:28 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:0Tq9baovAu+zbpkfh64eOh0VBzWFMkmdyId3GYl/lJCrvUeWBe+ NZz2kMZVQHvoqIqIdU05AIMqj638Eqg84BBUiyOQcmC5Vfrqt4E89rop1mnLXE1kcceFqP8 7yPTub86li4UiW91G1yzg2E8mkmiUTj1lx4kYkV5RjoJRtjyITSW/d6ajIFfs7Jk+ILTyBb Twdsy5c9QYyDqMSrN+Zhw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:i10twum762Y=:AHFEa+mFVDMVUIUOtZyCdF 0GnzzFOTcIe/kihfQG8e/Mla09nP/wjVBXVfSNhcHbHZmwWauyD/pIyp+vmpABE6gaWmYnLJN zvU1j1+QVFfe5YTjs370gCSJJCnWrmVAgA/3GEgj61LWkvZNSbqpCsqsb3SM76AUJFdiN3tAH ErnCKjI35TllzXWQ3pheFxcY7rCm6mtZp5xlIjMtoAXCZBCfbRNB6jfdUNMXVYc3Xd+6A5pKO 1I0nELKkKMF63LMDWe2JZm5gRMepDhbAopn10XUXyYm8ede2lG1UCA/ty6oWsCMH0o93AKeHQ 0Trrz9h5Id+A0HgXQQSy45CAwaxufHtaoX8JD0vQCWnN7sEfVlzXz52juFUUGwMlXxkOptjDH s8uM4+Z+nLh7Tq+zF8bHO6yZZwu/Lg6j0Px73sP/i9xh/mv01eHQHsaf91ah0VRPbeepT5Cdb 7SWW9PFN+VJb2PohG8y1O9rirDlvAKdSnPWXVi6aIX8WNYMBNd7w9DQwPxzvap6ncBWwMmOR/ YkFSFURwgeq4rBe/gdCACfQQKgdQbZ3G6Gy8PhaDJC5oBtr73cTBhGTww6CbghrDLRhLNpbEU 1IdTlJx4TGm/ProCtpTXzf25sJNcnmf9bO/trQhfkCeHEhC8T1RPetwINbsiFNxNUkEOFhvvN YkLafW7fDZKW3lb9T9rsOiLGEO+A0rGONE4T3xn2A4wXPjLZfe+9muJuQBiYvoOHWmwFeHVpK jQ4wEyq/cSJ8qhZjlPfpcMeZD8lU9dqQDnL5L/qS28lPi5qkGN9MmKze2w4YN5lceyDhTxl2Z f4eKIQMdp7uLkag+jUpft2OgMi48rVPGp5CGOOJxS4e18312YYJB5h6vpaEjvFpn+w1XzLqwg 14UDhkhIwCzv3lUl5qB+AgCidXTCcgaKd16oyJDQ/0mcAzC64i5MGG0nsifU1HwcHxMqdVk7z If9GlULcTrxzvimOfVcWpvRVt45bQoQNmciUdPBV6YowPO/Ypct3oNRwfFxYu8oDY5XX3t1Sb Nghdo+oAw40BYSLJoJV14iNZjARU17AgJueQV/5ya2CmNxvi3mDWMHfXtAJD4G4GGXHvPXyuE zQuiAB/GatabsSQCxv5HHD8P6PnFQnLCbZri2EfViL1gEN0UG/ShkTxIoLFnstGqyYQ3HFz0w aQfnc= X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, =?UTF-8?Q?Jan_Dj=c3=a4rv?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) > I took a stab at this. The attached patch traps the beginning-of-buffer > and end-of-buffer errors and shows a message instead as suggested above. Thanks. > To make it easier to review, I've also included a git diff > ignoring whitespace changes. This one doesn't apply here. > What do you think? AFAIAC it's an improvement. But personally, I'd drop the message as well. Does anyone really need it? martin From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 10 14:07:46 2019 Received: (at 16196) by debbugs.gnu.org; 10 Aug 2019 18:07:46 +0000 Received: from localhost ([127.0.0.1]:44422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwVmM-0004e9-JC for submit@debbugs.gnu.org; Sat, 10 Aug 2019 14:07:46 -0400 Received: from mail-pf1-f178.google.com ([209.85.210.178]:40527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwVmJ-0004do-RX for 16196@debbugs.gnu.org; Sat, 10 Aug 2019 14:07:44 -0400 Received: by mail-pf1-f178.google.com with SMTP id p184so47694538pfp.7 for <16196@debbugs.gnu.org>; Sat, 10 Aug 2019 11:07:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xdW7XmSJLs2QziNnV9sDHWeZcdFJzz0ulKnvhlzwMVQ=; b=QRar6XmhMvGn0WdEa5vwwCZwGgOvvgLxAD6kDi4LAJPyH84TlpTY157n9X22IP0RCT JQptV588lKkxXceay5nYaKRIQ9tN7uezV+MLAnPhL4tThea3KmX/xFRTusf4GsRISx4c /r6zQwYrNzTMS41/60VtyV8l2o3V/6GqvBhdCIS3KUQPsWb3SXC3eSRcDzNXkuYDYzTT wNBzLBQxjb1ohkQWuCg+tVtq982WnlBK66m58X++CJKeh8UYMqkekOfu4uqBf9aMQ7qc wXG/w5k7sdLtNlROPRKNbZ37UPi6ZJoQZRXpW2VBKBN/8h6hyILj4G7AtcN4hgZQLoCC kqAw== X-Gm-Message-State: APjAAAVfE5srS4HUJKZnBZDMrWxHJLmcCPtPFdCRsGAV6brbfCjZCmbV aTweltMrn4eDC2D7c+KTNPx3v+KjB2WBzxzRgOc= X-Google-Smtp-Source: APXvYqyzphMTk1Q6Y+EyZCIn5KAUiCBXqvS3Fl01nM3VwNV+6RHF3gBMKsNlhjSwYMYlYUIXsOI/1kMKDM8xmdcBgRA= X-Received: by 2002:a65:53cb:: with SMTP id z11mr21109507pgr.200.1565460457904; Sat, 10 Aug 2019 11:07:37 -0700 (PDT) MIME-Version: 1.0 References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <87r25ulnqh.fsf@tcd.ie> In-Reply-To: <87r25ulnqh.fsf@tcd.ie> From: Stefan Kangas Date: Sat, 10 Aug 2019 20:07:29 +0200 Message-ID: Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling To: "Basil L. Contovounesios" Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, =?UTF-8?Q?Jan_Dj=C3=A4rv?= , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Basil L. Contovounesios writes: > FWIW, you can slightly reduce the amount of code that needs reindenting > by binding saw-error in the existing let* form: Sure, I could've done that, but I was worried that moving the final sexp in that defun into the let* form would cause a regression. It might have been left outside for a purpose. (Or it could just be that it didn't need to be in the let* form before.) Are you saying that you know that it's safe to move it? Thanks, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 10 14:24:03 2019 Received: (at 16196) by debbugs.gnu.org; 10 Aug 2019 18:24:03 +0000 Received: from localhost ([127.0.0.1]:44427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwW27-00054g-1w for submit@debbugs.gnu.org; Sat, 10 Aug 2019 14:24:03 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwW24-00054A-Ru for 16196@debbugs.gnu.org; Sat, 10 Aug 2019 14:24:01 -0400 Received: by mail-pf1-f196.google.com with SMTP id w26so2438496pfq.12 for <16196@debbugs.gnu.org>; Sat, 10 Aug 2019 11:24:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dJgBdnHK+TCkMnfWWbpNW7hEYyZM0Du8KA2AwyhYWaY=; b=o9jC5VCFEisMr1FaxunuuHDJCyo7na//YaWoyqGv0ri7NI4nHnSQgGnJIQFuCetpMn Mqy3kC49jEP7cV5Un5y9Vl1p93g1wMwvRvBtw0YD3BDos07TmMn1r+06HwZjalO3iyOe mdSUqdhYyuz8lvpESVw6HRzull71mM6JzlL7hABgWFPeuFetKky95WraNt3ci8QMgYLk v+J7ipcby2SS5UqBKlinY+lrCG31C6WH2fGUB41eq0i9CJzz5D6Q7QqAuOW15HhDnV/Z i/ino9VnnkxdBqiokqJ1tho1q9HVIl/OvbcI9Gp1IuKjX9vWAZXpg7GM09NZqgrzPFLP uXyw== X-Gm-Message-State: APjAAAV+nKiHvggn9PcpGujU4ton37N5gjOyP7e96grpUV0Pd3HlVQyK jjGB6PAftV5VGRqExkKcX5sGkiJZB1Yy2Q5abaA= X-Google-Smtp-Source: APXvYqzLtDTKCOweVslv8awtg5coak19YCK0/QgHxdRcBc8uZnGz9mOqPHKqyoI++ydtYmpCSNni4gOA3QrzapWiLuM= X-Received: by 2002:a63:69c1:: with SMTP id e184mr21951788pgc.198.1565461434957; Sat, 10 Aug 2019 11:23:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Stefan Kangas Date: Sat, 10 Aug 2019 20:23:43 +0200 Message-ID: Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling To: martin rudalics Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) martin rudalics writes: > > To make it easier to review, I've also included a git diff > > ignoring whitespace changes. > > This one doesn't apply here. Sorry, I should've been more clear. This is the same as the patch but without the whitespace changes. Please try applying the patch instead. Thanks. > > What do you think? > > AFAIAC it's an improvement. But personally, I'd drop the message as > well. Does anyone really need it? I'm personally prone to agree with you, but the reasoning in the previous discussion in this thread seems to be that we do want it. Or at least something similar. Stefan Monnier writes: > the general design of Emacs is that > we strive to make every command perform *something*, so when the user's > request ends up doing nothing, we signal an error to make it clear that > Emacs did obey the request. Otherwise the lack of feedback can make the > user feel like Emacs is unresponsive. And later: > I'd rather keep some kind of feedback. Maybe a `message'? Personally, I think the scrolling itself is enough feedback. It either scrolls or it doesn't. That's what happens in many other programs, for example in Firefox. And scroll-bar-mode is enabled by default. But I think my opinion on this carries less weight than Stefan Monnier's. :-) Thanks, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 11 04:18:05 2019 Received: (at 16196) by debbugs.gnu.org; 11 Aug 2019 08:18:05 +0000 Received: from localhost ([127.0.0.1]:44686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwj3E-0008MW-MP for submit@debbugs.gnu.org; Sun, 11 Aug 2019 04:18:05 -0400 Received: from mout.gmx.net ([212.227.17.20]:37843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwj3A-0008M0-Ht for 16196@debbugs.gnu.org; Sun, 11 Aug 2019 04:18:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1565511465; bh=2mLMKHO+jd3cNxrMbED+F78FNSbK8JYaIiRKhzlsxag=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=QdDtlEZF7J8USdxKFwHznqbdrVWvq3WlTa7V/2fyL/oWn6X4MLFPRB6ESARvkngMQ c4VzSgXVRH8gdNnMikyXE7ZCN0n07KaKPzi7B0pKVz6xKMyM9lf1JcgpAzDk3bunZq fCpJutYCNUd9rMAwaL1E8pQnJAAvunxamw+JCsK0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([213.142.96.129]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MPHrQ-1i18tl2EzY-004WTw; Sun, 11 Aug 2019 10:17:45 +0200 Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling To: Stefan Kangas References: From: martin rudalics Message-ID: <993d78c4-f434-f334-8dfe-3c5ca3a07874@gmx.at> Date: Sun, 11 Aug 2019 10:17:42 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:k90RUDtw5fy6s4BpIWYsOAm0VL36AwZqtFsGo+2ezCcQo8Q3phO 1hm0UArne/bZW/KaOp3m9nQDxcv2Ut+CGAVMwScTLf3xpJJM480Z9CLYoZ++Qy0iQ+ahpWF tHgEll0BU4QWpJtfxCqe/iGm/B/v38yE9GIsPwhQEPXXBWYDjxc7GeFzcns4mo6BJvLNkyz sxSQTVpyoQPmOPnf43oFg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ke216Hf4+K0=:oXxlWuoDDXnACH1Q5NAEjY fGQcVbFmG3K7kJqdHEGojLTv28vFsE/UOFka/94f5A75IGSip4G8k0eaF8uB/uy0lnL4lXku6 64E2xcX1lv9fkat3fTDsAqix0+H11O/WWVZuU/hZ+SoaZ5ANpPzjkMzgZ3trco/YugwCaltRF RAj+j2oliReruhG+bY2UJ5cY3QebAFmJvj7bM7b5sNbn/1TdlsvUOEu2qWvb4DCumhYFS+z0u EAuqifALl2BUmFNhFTcL3z17hDKE2mhDDIw+T3gL2xIxL0nmofCAIqSmmuFQzKQ9k7ZJHVZnk aNH0jHbSrCKb74I7Af8QX9W/VMX7CgwOmCEw/hT1FxE+ono6Jhj1rv4ACcRzorXSsYXS3VjhR ZRf0VWwIcTziVk6gdAKio3MmMlgskt9/Nf7eDkGuFSbF1L4Xc++di6lTaKE1k4BHVOJhkYl0I WoPzk6otuVGwBP48a0GrkZnnx2tmPo+MTa8yXINBW48He6Ew/AWgoTg4e33N59hn+djOX5oVt ArD2Ta9worlBF2ZbQKVKFJVXyAgLq3czrzklOL3IJIKWLRjq8Pc61B1eYpHc72osC75FNzSIZ vhnefwteF/GwdFB6bTpU5ektnrBhqH7cMAkMDd82v1RC4+uBEgCxKJepEci+JSRDI+f5WFLZW 7RIJPoBuW4hmrfkoPnJr4rJkbzouOmsT4I5cciBXd8fRzgNJX0M0q5imwamQSN3W5l+rD+Faq TWnNS5WjxtSlotESopSoE+5nVZRWJje7v1/5o6CsA0+U1hz7DwxupSrbcVsUFe+axvQmu0Oc4 GEAPqCxQJ8L/66cprJEQxnI7P8B77PmIHIpk16OREPKgnUoxUmKSTOXXW48kURlRJBksR7wX5 ZtOHc2ubL3MygFyzO/14qsWxfMSlzlkMyM26a6lN/K80OaST+FCFTR01CUqKSJbI67si89L9+ Ud0FFrp4t0Lja89iJOLNDgKZTgoGTxcSc5Z2J4k3HCDu+MEzqLM9vmOssvJ7TcJlHecU1gHOQ 64NdVNwEtqp8d4dthf02wnIqUxf0xrJMcOf7plGNOOgFSGbSVunO3N0An+0Vy8+71QXLobJzU GULrBEpPdCJ6ZWwvqvoaqhKQf/Jti8DIRopwhIwRei3kVx6eLO0BkKtaKKYqrbzoNNwGBdzan 10J5c= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> > To make it easier to review, I've also included a git diff >> > ignoring whitespace changes. >> >> This one doesn't apply here. > > Sorry, I should've been more clear. This is the same as the patch but= > without the whitespace changes. Please try applying the patch > instead. Thanks. I obviously did that (otherwise I would have complained about the patch in the first place) ;-) >> AFAIAC it's an improvement. But personally, I'd drop the message as >> well. Does anyone really need it? > > I'm personally prone to agree with you, but the reasoning in the previ= ous > discussion in this thread seems to be that we do want it. Or at least= > something similar. > > Stefan Monnier writes: > >> the general design of Emacs is that >> we strive to make every command perform *something*, so when the user= 's >> request ends up doing nothing, we signal an error to make it clear th= at >> Emacs did obey the request. Otherwise the lack of feedback can make = the >> user feel like Emacs is unresponsive. > > And later: > >> I'd rather keep some kind of feedback. Maybe a `message'? > > Personally, I think the scrolling itself is enough feedback. It > either scrolls or it doesn't. That's what happens in many other > programs, for example in Firefox. And scroll-bar-mode is enabled by > default. > > But I think my opinion on this carries less weight than Stefan > Monnier's. :-) My current *Messages* buffer is listed below. I never look at it because it just doesn't make sense. Thanks anyway for your efforts to remove the beeps, martin Loading paren...done Mark set [4 times] next-line: End of buffer [5 times] Mark set next-line: End of buffer Mark set [5 times] nil Mark set user-error: Beginning of history; no preceding item user-error: End of history; no default available [2 times] Quit [2 times] C-M-: is undefined nil Mark set [2 times] previous-line: Beginning of buffer [2 times] Mark set next-line: End of buffer [2 times] Auto-saving...done previous-line: Beginning of buffer [2 times] Mark set previous-line: Beginning of buffer [5 times] Mark set nil previous-line: Beginning of buffer [5 times] Mark set next-line: End of buffer No undo information Mark set next-line: End of buffer [4 times] Mark set [3 times] next-line: End of buffer [5 times] Mark set next-line: End of buffer Mark set [4 times] Auto-saving...done Mark set [6 times] Creating customization items... Creating customization items ...done Creating customization setup...done Mark set Undo user-error: No further undo information [15 times] Mark set [4 times] next-line: End of buffer [3 times] Mark set next-line: End of buffer Mark set next-line: End of buffer Mark set [3 times] next-line: End of buffer if: End of buffer [7 times] Mark set [11 times] next-line: End of buffer [4 times] Undo [4 times] Mark set [9 times] next-line: End of buffer [4 times] Mark set [9 times] next-line: End of buffer [3 times] Scanning for dabbrevs...done Expansion found in =E2=80=98 *sidebar*=E2=80=99 Mark set [4 times] From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 11 10:28:28 2019 Received: (at 16196) by debbugs.gnu.org; 11 Aug 2019 14:28:28 +0000 Received: from localhost ([127.0.0.1]:45688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwopf-0006A6-W0 for submit@debbugs.gnu.org; Sun, 11 Aug 2019 10:28:28 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:39560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwopd-00069q-Is for 16196@debbugs.gnu.org; Sun, 11 Aug 2019 10:28:26 -0400 Received: by mail-wr1-f46.google.com with SMTP id t16so12289199wra.6 for <16196@debbugs.gnu.org>; Sun, 11 Aug 2019 07:28:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=gl8bSJx3AdDnRA82oiy1eynGW74gUmG2aGs9SpdAXms=; b=XWgUa2HU+MwtOEsE+DWcxlrq+fGYNvHzv6ds/6mzc/8a3gZnpSHdbD3XraQqhcpSGb YESjgBgBHFHZ9piNRDE5zq23eHzYAKPitpA+HJvBNjzl25bp/q2dmxdDuKkpSRJwEcob fR8m4jjZllN78pHZgI68yNispTsf9fJPBPh5ZnfpAOXU1/odwt923K6DWfejgBejhvKK LAMLBP85uoiUfOVcgSsfTzUvStZ/G2IKUFUudrLvYBOSttc2ZB4pyR2V9AdNcrQgDcOB DCx4LIEKVNSnKGBEhzgQub3CMHqb1XQH7sk68Q/w4WSYmPiRsf0aj2ZnB8R4CJ1D7ZX0 iSoA== 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:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=gl8bSJx3AdDnRA82oiy1eynGW74gUmG2aGs9SpdAXms=; b=sjFvxgb7aE3vf7mahQj7usI/3XvIResqGTmiOmwodRqiiMQ2ftOZm7/3xaKfR4qr5w Rr9twiAmDQhum7ngqh3rUs9SSGja02m4z6jwEhu66Gltdf5vixvamoe0h3pTIxiAv02i FFyI/BayjTPVYKOKJ7vaMNHO72ycFPNp9fJw3xhi1fqZGYkgvlPWehUEyNhLVWY/cKOp Lc1bd8Y/wFgobfIfAX1QfjjjGDCRoiTiBFE55wwD41crG1T9w/PNXsIe998f5+/PdErX kT/m3fIPW075S4NPtx4Y0wsk7fCSNcwr0sS67Qi8ogSShjkkx+KVOraai871ls5XPfxd fSIQ== X-Gm-Message-State: APjAAAWpjoryNTm4kPDNbzL+4NlJ/5k/9mSS8ugzmd+kPejfuzt2388+ brfoTdY/VvW41cOMmNrj6/coIQ== X-Google-Smtp-Source: APXvYqwA1TM/uy41oUBMXG25pj3aNTayuLQ7bCMZZ+/gyXE4ODIbJhDM2++wNBQqLTdpa2eA4v8eRw== X-Received: by 2002:a05:600c:21d3:: with SMTP id x19mr22120834wmj.45.1565533699549; Sun, 11 Aug 2019 07:28:19 -0700 (PDT) Received: from localhost (adsl-243.37.6.53.tellas.gr. [37.6.53.243]) by smtp.gmail.com with ESMTPSA id x6sm16369799wmf.6.2019.08.11.07.28.18 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 11 Aug 2019 07:28:18 -0700 (PDT) From: "Basil L. Contovounesios" To: Stefan Kangas Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <87r25ulnqh.fsf@tcd.ie> Date: Sun, 11 Aug 2019 17:28:17 +0300 In-Reply-To: (Stefan Kangas's message of "Sat, 10 Aug 2019 20:07:29 +0200") Message-ID: <87lfvzn5dq.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Jan =?utf-8?Q?Dj=C3=A4rv?= , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > Basil L. Contovounesios writes: >> FWIW, you can slightly reduce the amount of code that needs reindenting >> by binding saw-error in the existing let* form: > > Sure, I could've done that, but I was worried that moving the final sexp in that > defun into the let* form would cause a regression. It might have been left > outside for a purpose. (Or it could just be that it didn't need to be in the > let* form before.) It looks like the latter: Avoid accidental yanking of text while scrolling with the mouse wheel. d09696f73f 2002-11-28 23:03:30 +0000 https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d09696f73f17c4ae0bf09e8c72ef7f427f07d31b > Are you saying that you know that it's safe to move it? Inasmuch as I can "know" something about a code fragment from just looking at it, yes. Note that this does not mean I am urging you to move it; I merely suggested it as a stylistic alternative or tip, "FWIW". Thanks, -- Basil From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 11 20:52:35 2019 Received: (at 16196) by debbugs.gnu.org; 12 Aug 2019 00:52:35 +0000 Received: from localhost ([127.0.0.1]:45934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwyZf-0002gG-49 for submit@debbugs.gnu.org; Sun, 11 Aug 2019 20:52:35 -0400 Received: from mail-pf1-f173.google.com ([209.85.210.173]:37291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwyZd-0002g4-DT for 16196@debbugs.gnu.org; Sun, 11 Aug 2019 20:52:33 -0400 Received: by mail-pf1-f173.google.com with SMTP id 129so1963530pfa.4 for <16196@debbugs.gnu.org>; Sun, 11 Aug 2019 17:52:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=l5RPmIzxjIadZt4zgEnZjVrTdPSCojkhn0zWGI7ElI4=; b=qHPvWR7UkI9btruaRND2krcMKtKje2M85BgDMELle+8KMszMWqKoRCo9xjjpIG2Ps6 zfg/nQUuPrnOuCkTUSlEJREQq+q1nTK1Dh1uQoYBd2DucoXYiiK3Thjef+Fyl8BJvnMR aSskrBRFcP0zA9bYPx3J2R/rbDRD68KqCqb7bwmH+NJUK3LPs5C5m9UPdCWzBENnt+8i WyC72d45VvyqFBVUD93nROJqfN3msjTO/jZp5k3lpFZTcI0O0ZXh7KuZa+FrEcghPyJ3 MS7FVsFEb1PZM5i8QE+ewHcQDXRwXnPahOsyjUu5FG2xagAURmYapGd78miu4n85aPxy z3ng== X-Gm-Message-State: APjAAAUHEVbR4+cBJvSd/YYOazeTjggDh1t9B70e5AzYxbuVbv8jPj/9 D8r0/i2PQAHPzFn15Tpct6Ki9A66senk/ZZClm0= X-Google-Smtp-Source: APXvYqxIa5dWZMy4ZCCURYDvwVMLky7FscDrHVqIQiBxIxsKih4tcNaMy905orM1zLxHcjRvVWX2ZARMg1TS3kA+KlI= X-Received: by 2002:a63:4c5c:: with SMTP id m28mr27860890pgl.333.1565571147507; Sun, 11 Aug 2019 17:52:27 -0700 (PDT) MIME-Version: 1.0 References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <87r25ulnqh.fsf@tcd.ie> <87lfvzn5dq.fsf@tcd.ie> In-Reply-To: <87lfvzn5dq.fsf@tcd.ie> From: Stefan Kangas Date: Mon, 12 Aug 2019 02:52:16 +0200 Message-ID: Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling To: "Basil L. Contovounesios" Content-Type: multipart/mixed; boundary="0000000000001e8d8b058fe0f019" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, =?UTF-8?Q?Jan_Dj=C3=A4rv?= , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --0000000000001e8d8b058fe0f019 Content-Type: text/plain; charset="UTF-8" Basil L. Contovounesios writes: > > Sure, I could've done that, but I was worried that moving the final sexp in that > > defun into the let* form would cause a regression. It might have been left > > outside for a purpose. (Or it could just be that it didn't need to be in the > > let* form before.) > > It looks like the latter: > > Avoid accidental yanking of text while scrolling with the mouse wheel. > d09696f73f 2002-11-28 23:03:30 +0000 > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d09696f73f17c4ae0bf09e8c72ef7f427f07d31b > > > Are you saying that you know that it's safe to move it? > > Inasmuch as I can "know" something about a code fragment from just > looking at it, yes. Note that this does not mean I am urging you to > move it; I merely suggested it as a stylistic alternative or tip, > "FWIW". Thanks, I appreciate the help. I agree that it's a good idea, and it seems to work fine here. Please find attached an updated patch with that change included. Best regards, Stefan Kangas --0000000000001e8d8b058fe0f019 Content-Type: application/octet-stream; name="0001-Make-mouse-scroll-show-a-message-instead-of-dinging-.patch" Content-Disposition: attachment; filename="0001-Make-mouse-scroll-show-a-message-instead-of-dinging-.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jz7okgsh0 RnJvbSA0Mzc0MTEyMTgyYzI1Y2ZlYzA5Y2NiZDJlNTkzYWRjMGJlYTA3YWE4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpEYXRlOiBGcmksIDkgQXVnIDIwMTkgMDk6Mzk6MTYgKzAyMDAKU3ViamVjdDogW1BBVENIXSBN YWtlIG1vdXNlIHNjcm9sbCBzaG93IGEgbWVzc2FnZSBpbnN0ZWFkIG9mIGRpbmdpbmcgYXQgYnVm ZmVyCiBsaW1pdHMKCiogbGlzcC9td2hlZWwuZWwgKG13aGVlbC1zY3JvbGwpOiBTaG93IGEgbWVz c2FnZSBpbnN0ZWFkIG9mIGRpbmdpbmcgYXQKZW5kIG9mIGJ1ZmZlciBhbmQgYmVnaW5uaW5nIG9m IGJ1ZmZlci4gIFRoaXMgc2hvdWxkIGJlIGxlc3MgaW50cnVzaXZlLAplc3BlY2lhbGx5IHdoZW4g dXNpbmcgYSB0cmFja3BhZC4gIChCdWcjMTYxOTYpCi0tLQogbGlzcC9td2hlZWwuZWwgfCAxMTIg KysrKysrKysrKysrKysrKysrKysrKysrKystLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQogMSBmaWxl IGNoYW5nZWQsIDYwIGluc2VydGlvbnMoKyksIDUyIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBh L2xpc3AvbXdoZWVsLmVsIGIvbGlzcC9td2hlZWwuZWwKaW5kZXggZGZlYTU1Mzc0Yi4uNTA1ZDVm YTNmNSAxMDA2NDQKLS0tIGEvbGlzcC9td2hlZWwuZWwKKysrIGIvbGlzcC9td2hlZWwuZWwKQEAg LTIzNyw3ICsyMzcsOCBAQCBtd2hlZWwtc2Nyb2xsCiAJICAgICAgICh3aW5kb3ctcG9pbnQpKSkK ICAgICAgICAgIChtb2RzCiAJICAoZGVscSAnY2xpY2sgKGRlbHEgJ2RvdWJsZSAoZGVscSAndHJp cGxlIChldmVudC1tb2RpZmllcnMgZXZlbnQpKSkpKQotICAgICAgICAgKGFtdCAoYXNzb2MgbW9k cyBtb3VzZS13aGVlbC1zY3JvbGwtYW1vdW50KSkpCisgICAgICAgICAoYW10IChhc3NvYyBtb2Rz IG1vdXNlLXdoZWVsLXNjcm9sbC1hbW91bnQpKQorICAgICAgICAgc2F3LWVycm9yKQogICAgICh1 bmxlc3MgKGVxIHNjcm9sbC13aW5kb3cgc2VsZWN0ZWQtd2luZG93KQogICAgICAgOzsgTWFyayB3 aW5kb3cgdG8gYmUgc2Nyb2xsZWQgZm9yIHJlZGlzcGxheS4KICAgICAgIChzZWxlY3Qtd2luZG93 IHNjcm9sbC13aW5kb3cgJ21hcmstZm9yLXJlZGlzcGxheSkpCkBAIC0yNTEsNTcgKzI1Miw2NCBA QCBtd2hlZWwtc2Nyb2xsCiAgICAgICA7OyBTbyBieSBhZGRpbmcgdGhpbmdzIHVwIHdlIGdldCBh IHNxdWFyaW5nIHVwICgxLCAzLCA2LCAxMCwgMTUsIC4uLikuCiAgICAgICAoc2V0cSBhbXQgKCog YW10IChldmVudC1jbGljay1jb3VudCBldmVudCkpKSkKICAgICAod2hlbiAobnVtYmVycCBhbXQp IChzZXRxIGFtdCAoKiBhbXQgKGV2ZW50LWxpbmUtY291bnQgZXZlbnQpKSkpCi0gICAgKHVud2lu ZC1wcm90ZWN0Ci0JKGxldCAoKGJ1dHRvbiAobXdoZWVsLWV2ZW50LWJ1dHRvbiBldmVudCkpKQot CSAgKGNvbmQgKChlcSBidXR0b24gbW91c2Utd2hlZWwtZG93bi1ldmVudCkKLSAgICAgICAgICAg ICAgICAgKGNvbmRpdGlvbi1jYXNlIG5pbCAoZnVuY2FsbCBtd2hlZWwtc2Nyb2xsLWRvd24tZnVu Y3Rpb24gYW10KQotICAgICAgICAgICAgICAgICAgIDs7IE1ha2Ugc3VyZSB3ZSBkbyBpbmRlZWQg c2Nyb2xsIHRvIHRoZSBiZWdpbm5pbmcgb2YKLSAgICAgICAgICAgICAgICAgICA7OyB0aGUgYnVm ZmVyLgotICAgICAgICAgICAgICAgICAgIChiZWdpbm5pbmctb2YtYnVmZmVyCi0gICAgICAgICAg ICAgICAgICAgICh1bndpbmQtcHJvdGVjdAotICAgICAgICAgICAgICAgICAgICAgICAgKGZ1bmNh bGwgbXdoZWVsLXNjcm9sbC1kb3duLWZ1bmN0aW9uKQotICAgICAgICAgICAgICAgICAgICAgIDs7 IElmIHRoZSBmaXJzdCBzY3JvbGwgc3VjY2VlZGVkLCB0aGVuIHNvbWUgc2Nyb2xsaW5nCi0gICAg ICAgICAgICAgICAgICAgICAgOzsgaXMgcG9zc2libGU6IGtlZXAgc2Nyb2xsaW5nIHRpbCB0aGUg YmVnaW5uaW5nIGJ1dAotICAgICAgICAgICAgICAgICAgICAgIDs7IGRvIG5vdCBzaWduYWwgYW4g ZXJyb3IuICBGb3Igc29tZSByZWFzb24sIHdlIGhhdmUKLSAgICAgICAgICAgICAgICAgICAgICA7 OyB0byBkbyBpdCBldmVuIGlmIHRoZSBmaXJzdCBzY3JvbGwgc2lnbmFsZWQgYW4KLSAgICAgICAg ICAgICAgICAgICAgICA7OyBlcnJvciwgYmVjYXVzZSBvdGhlcndpc2UgdGhlIHdpbmRvdyBpcyBy ZWNlbnRlcmVkCi0gICAgICAgICAgICAgICAgICAgICAgOzsgZm9yIGEgcmVhc29uIHRoYXQgZXNj YXBlcyBtZS4gIFRoaXMgcHJvYmxlbSBzZWVtcwotICAgICAgICAgICAgICAgICAgICAgIDs7IHRv IG9ubHkgYWZmZWN0IHNjcm9sbC1kb3duLiAgLS1TdGVmCi0gICAgICAgICAgICAgICAgICAgICAg KHNldC13aW5kb3ctc3RhcnQgKHNlbGVjdGVkLXdpbmRvdykgKHBvaW50LW1pbikpKSkpKQotCQko KGVxIGJ1dHRvbiBtb3VzZS13aGVlbC11cC1ldmVudCkKLSAgICAgICAgICAgICAgICAgKGNvbmRp dGlvbi1jYXNlIG5pbCAoZnVuY2FsbCBtd2hlZWwtc2Nyb2xsLXVwLWZ1bmN0aW9uIGFtdCkKLSAg ICAgICAgICAgICAgICAgICA7OyBNYWtlIHN1cmUgd2UgZG8gaW5kZWVkIHNjcm9sbCB0byB0aGUg ZW5kIG9mIHRoZSBidWZmZXIuCi0gICAgICAgICAgICAgICAgICAgKGVuZC1vZi1idWZmZXIgKHdo aWxlIHQgKGZ1bmNhbGwgbXdoZWVsLXNjcm9sbC11cC1mdW5jdGlvbikpKSkpCi0gICAgICAgICAg ICAgICAgKChlcSBidXR0b24gbW91c2Utd2hlZWwtbGVmdC1ldmVudCkgOyBmb3IgdGlsdCBzY3Jv bGwKLSAgICAgICAgICAgICAgICAgKHdoZW4gbW91c2Utd2hlZWwtdGlsdC1zY3JvbGwKLSAgICAg ICAgICAgICAgICAgICAoZnVuY2FsbCAoaWYgbW91c2Utd2hlZWwtZmxpcC1kaXJlY3Rpb24KLSAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbXdoZWVsLXNjcm9sbC1yaWdodC1mdW5jdGlv bgotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbXdoZWVsLXNjcm9sbC1sZWZ0LWZ1bmN0 aW9uKSBhbXQpKSkKLSAgICAgICAgICAgICAgICAoKGVxIGJ1dHRvbiBtb3VzZS13aGVlbC1yaWdo dC1ldmVudCkgOyBmb3IgdGlsdCBzY3JvbGwKLSAgICAgICAgICAgICAgICAgKHdoZW4gbW91c2Ut d2hlZWwtdGlsdC1zY3JvbGwKLSAgICAgICAgICAgICAgICAgICAoZnVuY2FsbCAoaWYgbW91c2Ut d2hlZWwtZmxpcC1kaXJlY3Rpb24KLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbXdo ZWVsLXNjcm9sbC1sZWZ0LWZ1bmN0aW9uCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBt d2hlZWwtc2Nyb2xsLXJpZ2h0LWZ1bmN0aW9uKSBhbXQpKSkKLQkJKHQgKGVycm9yICJCYWQgYmlu ZGluZyBpbiBtd2hlZWwtc2Nyb2xsIikpKSkKLSAgICAgIChpZiAoZXEgc2Nyb2xsLXdpbmRvdyBz ZWxlY3RlZC13aW5kb3cpCi0JICA7OyBJZiB0aGVyZSBpcyBhIHRlbXBvcmFyaWx5IGFjdGl2ZSBy ZWdpb24sIGRlYWN0aXZhdGUgaXQgaWYKLQkgIDs7IHNjcm9sbGluZyBtb3ZlZCBwb2ludC4KLQkg ICh3aGVuIChhbmQgb2xkLXBvaW50ICgvPSBvbGQtcG9pbnQgKHdpbmRvdy1wb2ludCkpKQotCSAg ICA7OyBDYWxsIGBkZWFjdGl2YXRlLW1hcmsnIGF0IHRoZSBvcmlnaW5hbCBwb3NpdGlvbiwgc28g dGhhdAotCSAgICA7OyB0aGUgb3JpZ2luYWwgcmVnaW9uIGlzIHNhdmVkIHRvIHRoZSBYIHNlbGVj dGlvbi4KLQkgICAgKGxldCAoKG5ldy1wb2ludCAod2luZG93LXBvaW50KSkpCi0JICAgICAgKGdv dG8tY2hhciBvbGQtcG9pbnQpCi0JICAgICAgKGRlYWN0aXZhdGUtbWFyaykKLQkgICAgICAoZ290 by1jaGFyIG5ldy1wb2ludCkpKQotCShzZWxlY3Qtd2luZG93IHNlbGVjdGVkLXdpbmRvdyB0KSkp KQotCi0gICh3aGVuIChhbmQgbW91c2Utd2hlZWwtY2xpY2stZXZlbnQgbW91c2Utd2hlZWwtaW5o aWJpdC1jbGljay10aW1lKQotICAgIChpZiBtd2hlZWwtaW5oaWJpdC1jbGljay1ldmVudC10aW1l cgotCShjYW5jZWwtdGltZXIgbXdoZWVsLWluaGliaXQtY2xpY2stZXZlbnQtdGltZXIpCi0gICAg ICAoYWRkLWhvb2sgJ3ByZS1jb21tYW5kLWhvb2sgJ213aGVlbC1maWx0ZXItY2xpY2stZXZlbnRz KSkKLSAgICAoc2V0cSBtd2hlZWwtaW5oaWJpdC1jbGljay1ldmVudC10aW1lcgotCSAgKHJ1bi13 aXRoLXRpbWVyIG1vdXNlLXdoZWVsLWluaGliaXQtY2xpY2stdGltZSBuaWwKLQkJCSAgJ213aGVl bC1pbmhpYml0LWNsaWNrLXRpbWVvdXQpKSkpCisgICAgKGNvbmRpdGlvbi1jYXNlIG5pbAorICAg ICAgICAodW53aW5kLXByb3RlY3QKKwkgICAgKGxldCAoKGJ1dHRvbiAobXdoZWVsLWV2ZW50LWJ1 dHRvbiBldmVudCkpKQorCSAgICAgIChjb25kICgoZXEgYnV0dG9uIG1vdXNlLXdoZWVsLWRvd24t ZXZlbnQpCisgICAgICAgICAgICAgICAgICAgICAoY29uZGl0aW9uLWNhc2UgbmlsIChmdW5jYWxs IG13aGVlbC1zY3JvbGwtZG93bi1mdW5jdGlvbiBhbXQpCisgICAgICAgICAgICAgICAgICAgICAg IDs7IE1ha2Ugc3VyZSB3ZSBkbyBpbmRlZWQgc2Nyb2xsIHRvIHRoZSBiZWdpbm5pbmcgb2YKKyAg ICAgICAgICAgICAgICAgICAgICAgOzsgdGhlIGJ1ZmZlci4KKyAgICAgICAgICAgICAgICAgICAg ICAgKGJlZ2lubmluZy1vZi1idWZmZXIKKyAgICAgICAgICAgICAgICAgICAgICAgICh1bndpbmQt cHJvdGVjdAorICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmdW5jYWxsIG13aGVlbC1zY3Jv bGwtZG93bi1mdW5jdGlvbikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgOzsgSWYgdGhlIGZp cnN0IHNjcm9sbCBzdWNjZWVkZWQsIHRoZW4gc29tZSBzY3JvbGxpbmcKKyAgICAgICAgICAgICAg ICAgICAgICAgICAgOzsgaXMgcG9zc2libGU6IGtlZXAgc2Nyb2xsaW5nIHRpbCB0aGUgYmVnaW5u aW5nIGJ1dAorICAgICAgICAgICAgICAgICAgICAgICAgICA7OyBkbyBub3Qgc2lnbmFsIGFuIGVy cm9yLiAgRm9yIHNvbWUgcmVhc29uLCB3ZSBoYXZlCisgICAgICAgICAgICAgICAgICAgICAgICAg IDs7IHRvIGRvIGl0IGV2ZW4gaWYgdGhlIGZpcnN0IHNjcm9sbCBzaWduYWxlZCBhbgorICAgICAg ICAgICAgICAgICAgICAgICAgICA7OyBlcnJvciwgYmVjYXVzZSBvdGhlcndpc2UgdGhlIHdpbmRv dyBpcyByZWNlbnRlcmVkCisgICAgICAgICAgICAgICAgICAgICAgICAgIDs7IGZvciBhIHJlYXNv biB0aGF0IGVzY2FwZXMgbWUuICBUaGlzIHByb2JsZW0gc2VlbXMKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgOzsgdG8gb25seSBhZmZlY3Qgc2Nyb2xsLWRvd24uICAtLVN0ZWYKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgKHNldC13aW5kb3ctc3RhcnQgKHNlbGVjdGVkLXdpbmRvdykgKHBv aW50LW1pbikpKSkpKQorCQkgICAgKChlcSBidXR0b24gbW91c2Utd2hlZWwtdXAtZXZlbnQpCisg ICAgICAgICAgICAgICAgICAgICAoY29uZGl0aW9uLWNhc2UgbmlsIChmdW5jYWxsIG13aGVlbC1z Y3JvbGwtdXAtZnVuY3Rpb24gYW10KQorICAgICAgICAgICAgICAgICAgICAgICA7OyBNYWtlIHN1 cmUgd2UgZG8gaW5kZWVkIHNjcm9sbCB0byB0aGUgZW5kIG9mIHRoZSBidWZmZXIuCisgICAgICAg ICAgICAgICAgICAgICAgIChlbmQtb2YtYnVmZmVyICh3aGlsZSB0IChmdW5jYWxsIG13aGVlbC1z Y3JvbGwtdXAtZnVuY3Rpb24pKSkpKQorICAgICAgICAgICAgICAgICAgICAoKGVxIGJ1dHRvbiBt b3VzZS13aGVlbC1sZWZ0LWV2ZW50KSA7IGZvciB0aWx0IHNjcm9sbAorICAgICAgICAgICAgICAg ICAgICAgKHdoZW4gbW91c2Utd2hlZWwtdGlsdC1zY3JvbGwKKyAgICAgICAgICAgICAgICAgICAg ICAgKGZ1bmNhbGwgKGlmIG1vdXNlLXdoZWVsLWZsaXAtZGlyZWN0aW9uCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBtd2hlZWwtc2Nyb2xsLXJpZ2h0LWZ1bmN0aW9uCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbXdoZWVsLXNjcm9sbC1sZWZ0LWZ1bmN0aW9u KSBhbXQpKSkKKyAgICAgICAgICAgICAgICAgICAgKChlcSBidXR0b24gbW91c2Utd2hlZWwtcmln aHQtZXZlbnQpIDsgZm9yIHRpbHQgc2Nyb2xsCisgICAgICAgICAgICAgICAgICAgICAod2hlbiBt b3VzZS13aGVlbC10aWx0LXNjcm9sbAorICAgICAgICAgICAgICAgICAgICAgICAoZnVuY2FsbCAo aWYgbW91c2Utd2hlZWwtZmxpcC1kaXJlY3Rpb24KKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIG13aGVlbC1zY3JvbGwtbGVmdC1mdW5jdGlvbgorICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIG13aGVlbC1zY3JvbGwtcmlnaHQtZnVuY3Rpb24pIGFtdCkpKQorCQkg ICAgKHQgKGVycm9yICJCYWQgYmluZGluZyBpbiBtd2hlZWwtc2Nyb2xsIikpKSkKKyAgICAgICAg ICAoaWYgKGVxIHNjcm9sbC13aW5kb3cgc2VsZWN0ZWQtd2luZG93KQorICAgICAgICAgICAgICA7 OyBJZiB0aGVyZSBpcyBhIHRlbXBvcmFyaWx5IGFjdGl2ZSByZWdpb24sIGRlYWN0aXZhdGUgaXQg aWYKKyAgICAgICAgICAgICAgOzsgc2Nyb2xsaW5nIG1vdmVkIHBvaW50LgorCSAgICAgICh3aGVu IChhbmQgb2xkLXBvaW50ICgvPSBvbGQtcG9pbnQgKHdpbmRvdy1wb2ludCkpKQorICAgICAgICAg ICAgICAgIDs7IENhbGwgYGRlYWN0aXZhdGUtbWFyaycgYXQgdGhlIG9yaWdpbmFsIHBvc2l0aW9u LCBzbyB0aGF0CisgICAgICAgICAgICAgICAgOzsgdGhlIG9yaWdpbmFsIHJlZ2lvbiBpcyBzYXZl ZCB0byB0aGUgWCBzZWxlY3Rpb24uCisJICAgICAgICAobGV0ICgobmV3LXBvaW50ICh3aW5kb3ct cG9pbnQpKSkKKwkgICAgICAgICAgKGdvdG8tY2hhciBvbGQtcG9pbnQpCisJICAgICAgICAgIChk ZWFjdGl2YXRlLW1hcmspCisJICAgICAgICAgIChnb3RvLWNoYXIgbmV3LXBvaW50KSkpCisJICAg IChzZWxlY3Qtd2luZG93IHNlbGVjdGVkLXdpbmRvdyB0KSkpCisgICAgICA7OyBEbyBub3QgZGlu ZyBhdCBidWZmZXIgbGltaXRzLiAgU2hvdyBhIG1lc3NhZ2UgaW5zdGVhZC4KKyAgICAgIChiZWdp bm5pbmctb2YtYnVmZmVyIChtZXNzYWdlICJCZWdpbm5pbmcgb2YgYnVmZmVyIikKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgIChzZXRxIHNhdy1lcnJvciB0KSkKKyAgICAgIChlbmQtb2YtYnVm ZmVyIChtZXNzYWdlICJFbmQgb2YgYnVmZmVyIikKKyAgICAgICAgICAgICAgICAgICAgIChzZXRx IHNhdy1lcnJvciB0KSkpCisKKyAgICAod2hlbiAoYW5kIChub3Qgc2F3LWVycm9yKQorICAgICAg ICAgICAgICAgbW91c2Utd2hlZWwtY2xpY2stZXZlbnQgbW91c2Utd2hlZWwtaW5oaWJpdC1jbGlj ay10aW1lKQorICAgICAgKGlmIG13aGVlbC1pbmhpYml0LWNsaWNrLWV2ZW50LXRpbWVyCisgICAg ICAgICAgKGNhbmNlbC10aW1lciBtd2hlZWwtaW5oaWJpdC1jbGljay1ldmVudC10aW1lcikKKyAg ICAgICAgKGFkZC1ob29rICdwcmUtY29tbWFuZC1ob29rICdtd2hlZWwtZmlsdGVyLWNsaWNrLWV2 ZW50cykpCisgICAgICAoc2V0cSBtd2hlZWwtaW5oaWJpdC1jbGljay1ldmVudC10aW1lcgorICAg ICAgICAgICAgKHJ1bi13aXRoLXRpbWVyIG1vdXNlLXdoZWVsLWluaGliaXQtY2xpY2stdGltZSBu aWwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAnbXdoZWVsLWluaGliaXQtY2xpY2stdGlt ZW91dCkpKSkpCiAKIChwdXQgJ213aGVlbC1zY3JvbGwgJ3Njcm9sbC1jb21tYW5kIHQpCiAKLS0g CjIuMjIuMAoK --0000000000001e8d8b058fe0f019-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 00:20:46 2019 Received: (at control) by debbugs.gnu.org; 30 Sep 2019 04:20:46 +0000 Received: from localhost ([127.0.0.1]:56479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEnB0-0008ED-B2 for submit@debbugs.gnu.org; Mon, 30 Sep 2019 00:20:46 -0400 Received: from mail-pl1-f182.google.com ([209.85.214.182]:34182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEnAy-0008Dq-EO for control@debbugs.gnu.org; Mon, 30 Sep 2019 00:20:44 -0400 Received: by mail-pl1-f182.google.com with SMTP id k7so3388404pll.1 for ; Sun, 29 Sep 2019 21:20:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kDB4RL+LwkkRFhRUj0S60C5BJlNZ2Vt756RWJiPNTDc=; b=C4CQZS0DWXwoQZxfoGn9GvR3rhVQtQyl4TqENGAREuHVS6Cl1rImhwqE/N8ObGYqTz tIjHIwsHQMaIxmZxnGvpIIw0jOWP0T58PNajzmho+quV+POmvbl99sC0NERZVlJgDjbM /yFd3QdkNBWn0/8HooNSCxfV5kA0aDylwMv4aH9VpLrcGTAF6hG+HdHIe/eHzx7zaa8Q ZS07IkW7XgfghFIxPf+VH1hslEx4b0zkeW2RSXtU75YV6VVsJ13OBAHoRKjUz4i3FLaC 2tQHN8Yuv+kMGbp1EI36lNfhXYe7tmFU8l19+goJIYY2gGvM4oobN1cXMkG5Fvun34rb Z1Yg== X-Gm-Message-State: APjAAAUwPac1KUkPmp7UeybOrWN8woFsadvrmIAn7ecMeQ/ipiGhD0p6 5cVTg9yNa2k71uZzRmEqLocZhxJbpzaGasPTlKdekCcC3pA= X-Google-Smtp-Source: APXvYqx466RYqvdRClul6GlQO6lx6f93Q/gM1PuGHprmG3Qc3sKdEh2vWnajM+7hsWZlxh2c+2pyTq4oyHfrO6VGY7I= X-Received: by 2002:a17:902:a515:: with SMTP id s21mr18688754plq.259.1569817238385; Sun, 29 Sep 2019 21:20:38 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Mon, 30 Sep 2019 06:20:27 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 16196 + patch quit Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.214.182 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.182 listed in list.dnswl.org] 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) tags 16196 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 09:26:39 2019 Received: (at 16196) by debbugs.gnu.org; 30 Sep 2019 13:26:39 +0000 Received: from localhost ([127.0.0.1]:57065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEvhH-0007bs-B9 for submit@debbugs.gnu.org; Mon, 30 Sep 2019 09:26:39 -0400 Received: from mail-pg1-f169.google.com ([209.85.215.169]:44261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEvhF-0007bg-CN for 16196@debbugs.gnu.org; Mon, 30 Sep 2019 09:26:37 -0400 Received: by mail-pg1-f169.google.com with SMTP id i14so7382746pgt.11 for <16196@debbugs.gnu.org>; Mon, 30 Sep 2019 06:26:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wSoCS2uUkzIUVhXKB6jX8ZB5X+6s8DF9NJqxIYVWuug=; b=lfXjRBTpecpNgfQQRPcIy+lfgFwths3/r8nWhIEB9fHZelnJrQlSijMtiV20ApuIn/ BxMrT/u2k8BI0d+dh1f/2kSe4ScTxxSz0km4CeGK70UgfMDkoElgiIs4yCMtCYxqHAvI cjRNnog2CqXkoQrPkKCLHXZABrknxzAwn75cTFJX9fzmsfk8ypr/LxgJe5t74M7/pCEZ qm6OymXXjVXwADNgURlNdLWoPrZtPtZVru0cwy+7yGfShAACdB4LMIPJ/kDd9SE9fz2o FGF6TXmZBso4ndyaEbm9xIEJUEBAWDJYpyQ4GTkLbjjgiTMwOZF+BZ6WRVZP/iMDGv3R Q8iA== X-Gm-Message-State: APjAAAX1SeK/35Fk3gb+aPhHtuVCHy/JMZNDmIfbfFoGZofsVmAaGw1W MVmyyq8+EcW3Hw4PEPopES9/wuf04aVnSfyPFz8= X-Google-Smtp-Source: APXvYqziFy8dppxTVXjEOsXKp7lyfzzzTzvBOG+dWr8VKW+ggq8VnkSrnSCXmDkBTKacdRRKPXNbYtsrN8FnBZkZmh4= X-Received: by 2002:a63:720f:: with SMTP id n15mr23345178pgc.198.1569849991598; Mon, 30 Sep 2019 06:26:31 -0700 (PDT) MIME-Version: 1.0 References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <87r25ulnqh.fsf@tcd.ie> <87lfvzn5dq.fsf@tcd.ie> In-Reply-To: From: Stefan Kangas Date: Mon, 30 Sep 2019 15:26:20 +0200 Message-ID: Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling To: "Basil L. Contovounesios" Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16196 Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Stefan Kangas writes: > Please find attached an updated patch No comments in over a month. Any objections to applying this patch? Besides indentation changes, this comes down to adding a new variable saw-error and: (condition-case nil ... ;; Do not ding at buffer limits. Show a message instead. (beginning-of-buffer (message "Beginning of buffer") (setq saw-error t)) (end-of-buffer (message "End of buffer") (setq saw-error t))) Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 09:56:04 2019 Received: (at 16196) by debbugs.gnu.org; 30 Sep 2019 13:56:04 +0000 Received: from localhost ([127.0.0.1]:59960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEw9k-0002mT-0N for submit@debbugs.gnu.org; Mon, 30 Sep 2019 09:56:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEw9h-0002lw-Qo for 16196@debbugs.gnu.org; Mon, 30 Sep 2019 09:56:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iEw9c-0005hR-D0; Mon, 30 Sep 2019 09:55:56 -0400 Received: from [176.228.60.248] (port=4377 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iEw9b-000525-KC; Mon, 30 Sep 2019 09:55:56 -0400 Date: Mon, 30 Sep 2019 16:55:52 +0300 Message-Id: <835zl9dh1z.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-reply-to: (message from Stefan Kangas on Mon, 30 Sep 2019 15:26:20 +0200) Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <87r25ulnqh.fsf@tcd.ie> <87lfvzn5dq.fsf@tcd.ie> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16196 Cc: contovob@tcd.ie, 16196@debbugs.gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Mon, 30 Sep 2019 15:26:20 +0200 > Cc: "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, > Stefan Monnier > > Stefan Kangas writes: > > > Please find attached an updated patch > > No comments in over a month. Any objections to applying this patch? Not here. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 10:03:30 2019 Received: (at 16196) by debbugs.gnu.org; 30 Sep 2019 14:03:30 +0000 Received: from localhost ([127.0.0.1]:59977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEwGw-00050v-ER for submit@debbugs.gnu.org; Mon, 30 Sep 2019 10:03:30 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:37317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEwGu-00050g-9V for 16196@debbugs.gnu.org; Mon, 30 Sep 2019 10:03:29 -0400 Received: by mail-wm1-f43.google.com with SMTP id f22so12890132wmc.2 for <16196@debbugs.gnu.org>; Mon, 30 Sep 2019 07:03:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=OMGZzByCwtcfSabG1pQyaTHMAnAnHDS/vXnD+ylWOGo=; b=gPzpm4vtMZQ55aJR4jMdaT5Nd0YFykLYObUYOuMp3uvrHvtvp1wvPLSydFaQzdfE1k z2unMKB6BB5QmmyCUblBzBeNSKCJdqYBwkfsNTOTmAg5HZTuS7baS8+tR4WYOAAe7Xf3 Fm005/JkO3IJRnQUklZ+sAkNWMNkp34G1YCS2Qvq4FASWPiKaMEwfdGOIbsLg6rtRFrI L7eB/n0ViLeA/ylD+PiK/EvZ+KoqXjvdD8Nvvav4vQoUO7/IHe9ln6atB8R52uJatWzN UQzVjjMDhN6EkgqqdcXthfi6ZSi77oUq5W/QYRWZw0YiBvzDUTiWDc/Zh3e8L5TOjPgl ivxQ== 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:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=OMGZzByCwtcfSabG1pQyaTHMAnAnHDS/vXnD+ylWOGo=; b=hr9mn6YEPbRLKraQkhFDAWqOxj/1701nRxYNgkzt/fBOrzPnOBr5qc6MC8q4Z0RubR 2dW4Eb0xzis0KW3ZXPTdr7TXEBMndA8u7jkZC5lDNFSauZ5koFQcHwNSa7qZlTh0m5UE xdP4dcTtizcthYZ+7NzzQdfZAM811ysW1Nlh5YiC+53eR0YUa3EmjYvCF2uzLg+4Jnby cf7RTz45jnwwQSdp/dFctxcNNw5Z72S/aUJvt4+yoNWix3r48+fB1lO1Hp7SPYjrPjwP qmCQoTRjBbj4ID8ug6u+teKWiuBpmp2SprHc04R6hFDG5bJQJ8WyXktrDJizyJDBT6Tz QlXA== X-Gm-Message-State: APjAAAXmGOMtsKwBJkY1IfeyZD+ZDDZjgRxskx6vGjzMPoF5CKgKeZKc RoQCIRmQuJzfUZqadhhrb08= X-Google-Smtp-Source: APXvYqwdogOY7BO9hBF2ePurGqE1EJtX2O0wyYrYig53UEoWbX2rSGqBJmRHsZX30eYGZ5ArQz3a9A== X-Received: by 2002:a1c:a90b:: with SMTP id s11mr18545925wme.92.1569852202197; Mon, 30 Sep 2019 07:03:22 -0700 (PDT) Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id a71sm17409416wme.11.2019.09.30.07.03.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2019 07:03:20 -0700 (PDT) From: Robert Pluim To: Stefan Kangas Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <87r25ulnqh.fsf@tcd.ie> <87lfvzn5dq.fsf@tcd.ie> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Mon, 30 Sep 2019 16:03:19 +0200 In-Reply-To: (Stefan Kangas's message of "Mon, 30 Sep 2019 15:26:20 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: "Basil L. Contovounesios" , "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Mon, 30 Sep 2019 15:26:20 +0200, Stefan Kangas said: Stefan> Stefan Kangas writes: >> Please find attached an updated patch Stefan> No comments in over a month. Any objections to applying this patch? Stefan> Besides indentation changes, this comes down to adding a new variable Stefan> saw-error and: Stefan> (condition-case nil Stefan> ... Stefan> ;; Do not ding at buffer limits. Show a message instead. Stefan> (beginning-of-buffer (message "Beginning of buffer") Stefan> (setq saw-error t)) Stefan> (end-of-buffer (message "End of buffer") Stefan> (setq saw-error t))) How about using (error-message-string '(beginning-of-buffer nil)) so that the error string remains in sync with src/data.c? Robert From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 10:11:12 2019 Received: (at 16196) by debbugs.gnu.org; 30 Sep 2019 14:11:12 +0000 Received: from localhost ([127.0.0.1]:59996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEwOO-0005D1-6q for submit@debbugs.gnu.org; Mon, 30 Sep 2019 10:11:12 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:55191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEwOM-0005Cp-9p for 16196@debbugs.gnu.org; Mon, 30 Sep 2019 10:11:10 -0400 Received: by mail-wm1-f53.google.com with SMTP id p7so13621235wmp.4 for <16196@debbugs.gnu.org>; Mon, 30 Sep 2019 07:11:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=8tDqAqXIPgH2M/sA3STmAJGGY6YxDtOH6VH+OamRc6Q=; b=BITdj2xZy3wUHYNrYFVDe3MqSte0ToN6LetiU8mGzuZtpG1L6nv1D1R5aZG5++he/T 9BqvVoLFmP8MZ4BULddn2LpUyNniv2NPwwwS5I6UB9dC6WSzqX4BN9qZScx9QgNxUbqe /98V1/4dskRnJ9hAM67M8JPUDy4WG2w1/+hwkfUBrge1P6ywCKpgesXacUtEDF9vYcLj esrSHbTcjGBBp9JfNvYKIXmAs/Kz3CoNLdtYj+A+5oIaizHryjR6EZevn2lLGHxeUdYT 8SOv3PfywYqutFyophPimY8G0EdvbPhovh8slbPJ8w5lnZclqUHyqLQkrWyTA+ZtSJjn bpxw== 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:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=8tDqAqXIPgH2M/sA3STmAJGGY6YxDtOH6VH+OamRc6Q=; b=bHKmjOAhpNerE4dJ8xafxsvecVnr6r7xuiKpokekrI52qxoD9cPnNRmGZQRCRuAG3h dz4so59w2v+toQp89mMDQuxgdZ2Z9tDoAkGsBshBn1iqL1YkvbiUMcdhBQEPU2g6C65b nZFtFTU2k3s5Z/6vEr1+/wv0qOtmyevuMs5Hq1FmS+rd55ls/pykji76fuVaHr/p1ttY tujc9Nrt6puFdf5q6rH3umeBVIPlTeidkuXQaMeJONGPKLKmNsO+TdrUx6K+SyJCEE0w 8fHw+ec33AplWAom0k1zYRq503vHEtIYiDKezGg7MOJX/25WRFAZFjSSmv+6FegKKYT9 OiiQ== X-Gm-Message-State: APjAAAW9k3P69FzExEpEuuqu07nkOUVbMUn62Qsds42ClT8dgCpuaUaj NVTw+FrAF0WFcCL0kKVu1fI= X-Google-Smtp-Source: APXvYqxNyTy8/RqTLtwRuvbt/uOFIAK2FfjvxBdhSNbUCCVLzE0F8DdyH4TVE2/pf1D58uDot3WVLg== X-Received: by 2002:a1c:a404:: with SMTP id n4mr16919875wme.137.1569852664277; Mon, 30 Sep 2019 07:11:04 -0700 (PDT) Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id p7sm17666184wma.34.2019.09.30.07.11.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2019 07:11:03 -0700 (PDT) From: Robert Pluim To: Stefan Kangas Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <87r25ulnqh.fsf@tcd.ie> <87lfvzn5dq.fsf@tcd.ie> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Mon, 30 Sep 2019 16:11:02 +0200 In-Reply-To: (Robert Pluim's message of "Mon, 30 Sep 2019 16:03:19 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16196 Cc: "Basil L. Contovounesios" , "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Mon, 30 Sep 2019 16:03:19 +0200, Robert Pluim said: >>>>> On Mon, 30 Sep 2019 15:26:20 +0200, Stefan Kangas said: Stefan> Stefan Kangas writes: >>> Please find attached an updated patch Stefan> No comments in over a month. Any objections to applying this patch? Stefan> Besides indentation changes, this comes down to adding a new variable Stefan> saw-error and: Stefan> (condition-case nil Stefan> ... Stefan> ;; Do not ding at buffer limits. Show a message instead. Stefan> (beginning-of-buffer (message "Beginning of buffer") Stefan> (setq saw-error t)) Stefan> (end-of-buffer (message "End of buffer") Stefan> (setq saw-error t))) Robert> How about using Robert> (error-message-string '(beginning-of-buffer nil)) Robert> so that the error string remains in sync with src/data.c? Make that: (error-message-string '(beginning-of-buffer)) Robert From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 10:19:41 2019 Received: (at 16196) by debbugs.gnu.org; 30 Sep 2019 14:19:41 +0000 Received: from localhost ([127.0.0.1]:60017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEwWb-0007Tm-9a for submit@debbugs.gnu.org; Mon, 30 Sep 2019 10:19:41 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:40187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEwWX-0007TI-U4 for 16196@debbugs.gnu.org; Mon, 30 Sep 2019 10:19:38 -0400 Received: by mail-pg1-f171.google.com with SMTP id d26so2023611pgl.7 for <16196@debbugs.gnu.org>; Mon, 30 Sep 2019 07:19:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pxrQpQ/0f76IM5aZPgqa6lhynMGVtM7y6k4U4BNpE2Y=; b=Z8YBn+p2UFeOTeICrQSAPrYFmAr/9yma9zn9fYMvaeTl4SPuTXeYyPwAc7mpLy3CJK NCe340fMZSOFzWwt2sFItycqcZ9+XQ4RrYN+qQc1MPbJXsDp3MD92r/x8ahkIYnUlgIr n/Od9MsOkQ2jQ0tocWmG0hpnxbNUzDgqQ12HuQk1Ub2FBwV2+KKfyLMtKT7EQoSqiNeE J/l1Rr9ywW4pxTNLcebK0GFForjfjlF9gqQntzkvZjE70Tz3DhJJT6LiBouV8AYdU31W flsUFMS7x7LgYVb8Qc9HBjvumppNHfJmUto/NvYU78E3UGm8VmT0qgTXOobgXswllazZ F8jA== X-Gm-Message-State: APjAAAULbGVzJN42wokkQcd+ZXVpXjlYQevNdc5w+ORryCkIwHekYG85 QQBsrFdPpOAAzxHjxb5ys0pkCfu7zELIajaUYQA= X-Google-Smtp-Source: APXvYqzT+YUNAJXc43+ax9M/A9+Pqxi9r720NDN/nHkIweb5IfZEUiniy4BavNr/z3xlE1Du87WLTk95Iebt8IA1xpk= X-Received: by 2002:a62:e917:: with SMTP id j23mr21722396pfh.50.1569853171995; Mon, 30 Sep 2019 07:19:31 -0700 (PDT) MIME-Version: 1.0 References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <87r25ulnqh.fsf@tcd.ie> <87lfvzn5dq.fsf@tcd.ie> In-Reply-To: From: Stefan Kangas Date: Mon, 30 Sep 2019 16:19:20 +0200 Message-ID: Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling To: Robert Pluim Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 16196 Cc: "Basil L. Contovounesios" , "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Robert Pluim writes: > Robert> How about using > Robert> (error-message-string '(beginning-of-buffer nil)) > Robert> so that the error string remains in sync with src/data.c? > > Make that: > > (error-message-string '(beginning-of-buffer)) Yup, sounds good to me. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 17:51:56 2019 Received: (at 16196) by debbugs.gnu.org; 30 Sep 2019 21:51:56 +0000 Received: from localhost ([127.0.0.1]:60675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iF3aF-0003G1-Se for submit@debbugs.gnu.org; Mon, 30 Sep 2019 17:51:56 -0400 Received: from mail-pg1-f175.google.com ([209.85.215.175]:36029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iF3aD-0003Fl-Bi for 16196@debbugs.gnu.org; Mon, 30 Sep 2019 17:51:54 -0400 Received: by mail-pg1-f175.google.com with SMTP id t14so8119897pgs.3 for <16196@debbugs.gnu.org>; Mon, 30 Sep 2019 14:51:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NWv0wXXOzzNfVJustAp+Hzvx0oJPwmIx8G0t0Xdpbe0=; b=DB1NcxselWCqEFmx10e5e8dXU3XspTofGWSptjWHhLFfTAqB3bBRyn8cLpIlJS1hDC BgcWLmwE1/T9QBVGFWZNHTgq1n0DEw2pZSv6OoSjnkp6KBLZ/oGHFaotSE2DluHfJQys OiY/KEB6yMwm+ivxJr0Bk39BVFZz0NiJ9hDg/McbccfGoIuADwLMAKI0hg1YSiMbVU7e cF3C8j1IV8znEUaLsk2pm1L2yuZRAvvXnUx6H8PlGdj7dDUBm+Dtb3NX/ijMO1rnmgz9 cbQW58F749+XwkbSHSNR47HuCagKcLYSUzFI2Q8CiiRCzHsD3vbfpDkge8JILNckMfnP rVEw== X-Gm-Message-State: APjAAAWefazScZSHNPzzWzZ66o9Im/U7bFVYFwYAYh7yDd5InBA2Oafs j5yKwz3ejR7IlwutbHzzc6BfgNAPAynMeEKBhbI= X-Google-Smtp-Source: APXvYqzUAJKIuz2qO3hDVjj1tZH1CUf6alxzHoLxxGRBhBv1m2Pv1tSp7VnR4tFdC891zWxzU0TMy0uEOdP0z/E7Omk= X-Received: by 2002:a17:90a:1150:: with SMTP id d16mr1651966pje.2.1569880307602; Mon, 30 Sep 2019 14:51:47 -0700 (PDT) MIME-Version: 1.0 References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <87r25ulnqh.fsf@tcd.ie> <87lfvzn5dq.fsf@tcd.ie> In-Reply-To: From: Stefan Kangas Date: Mon, 30 Sep 2019 23:51:36 +0200 Message-ID: Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling To: Robert Pluim Content-Type: multipart/mixed; boundary="0000000000001335080593cc3e52" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16196 Cc: "Basil L. Contovounesios" , "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --0000000000001335080593cc3e52 Content-Type: text/plain; charset="UTF-8" Stefan Kangas writes: > > Robert> How about using > > Robert> (error-message-string '(beginning-of-buffer nil)) > > Robert> so that the error string remains in sync with src/data.c? > > > > Make that: > > > > (error-message-string '(beginning-of-buffer)) > > Yup, sounds good to me. Fixed in the attached patch. If there are no objections, I intend to commit this in a couple of days. Best regards, Stefan Kangas --0000000000001335080593cc3e52 Content-Type: application/x-patch; name="0001-Make-mouse-scroll-show-a-message-instead-of-dinging-.patch" Content-Disposition: attachment; filename="0001-Make-mouse-scroll-show-a-message-instead-of-dinging-.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k16y6oms0 RnJvbSBhMzA4NmE5ZGYwMjc5ODIwMmQ3MjBjMDVhMTY0MjQwZThjYzUwZjA1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpEYXRlOiBGcmksIDkgQXVnIDIwMTkgMDk6Mzk6MTYgKzAyMDAKU3ViamVjdDogW1BBVENIXSBN YWtlIG1vdXNlIHNjcm9sbCBzaG93IGEgbWVzc2FnZSBpbnN0ZWFkIG9mIGRpbmdpbmcgYXQgYnVm ZmVyCiBsaW1pdHMKCiogbGlzcC9td2hlZWwuZWwgKG13aGVlbC1zY3JvbGwpOiBTaG93IGEgbWVz c2FnZSBpbnN0ZWFkIG9mIGRpbmdpbmcgYXQKZW5kIG9mIGJ1ZmZlciBhbmQgYmVnaW5uaW5nIG9m IGJ1ZmZlci4gIFRoaXMgc2hvdWxkIGJlIGxlc3MgaW50cnVzaXZlLAplc3BlY2lhbGx5IHdoZW4g dXNpbmcgYSB0cmFja3BhZC4gIChCdWcjMTYxOTYpCi0tLQogbGlzcC9td2hlZWwuZWwgfCAxMTQg KysrKysrKysrKysrKysrKysrKysrKysrKysrLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQogMSBmaWxl IGNoYW5nZWQsIDYyIGluc2VydGlvbnMoKyksIDUyIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBh L2xpc3AvbXdoZWVsLmVsIGIvbGlzcC9td2hlZWwuZWwKaW5kZXggZGZlYTU1Mzc0Yi4uNDg2MjQw NmZhMSAxMDA2NDQKLS0tIGEvbGlzcC9td2hlZWwuZWwKKysrIGIvbGlzcC9td2hlZWwuZWwKQEAg LTIzNyw3ICsyMzcsOCBAQCBtd2hlZWwtc2Nyb2xsCiAJICAgICAgICh3aW5kb3ctcG9pbnQpKSkK ICAgICAgICAgIChtb2RzCiAJICAoZGVscSAnY2xpY2sgKGRlbHEgJ2RvdWJsZSAoZGVscSAndHJp cGxlIChldmVudC1tb2RpZmllcnMgZXZlbnQpKSkpKQotICAgICAgICAgKGFtdCAoYXNzb2MgbW9k cyBtb3VzZS13aGVlbC1zY3JvbGwtYW1vdW50KSkpCisgICAgICAgICAoYW10IChhc3NvYyBtb2Rz IG1vdXNlLXdoZWVsLXNjcm9sbC1hbW91bnQpKQorICAgICAgICAgc2F3LWVycm9yKQogICAgICh1 bmxlc3MgKGVxIHNjcm9sbC13aW5kb3cgc2VsZWN0ZWQtd2luZG93KQogICAgICAgOzsgTWFyayB3 aW5kb3cgdG8gYmUgc2Nyb2xsZWQgZm9yIHJlZGlzcGxheS4KICAgICAgIChzZWxlY3Qtd2luZG93 IHNjcm9sbC13aW5kb3cgJ21hcmstZm9yLXJlZGlzcGxheSkpCkBAIC0yNTEsNTcgKzI1Miw2NiBA QCBtd2hlZWwtc2Nyb2xsCiAgICAgICA7OyBTbyBieSBhZGRpbmcgdGhpbmdzIHVwIHdlIGdldCBh IHNxdWFyaW5nIHVwICgxLCAzLCA2LCAxMCwgMTUsIC4uLikuCiAgICAgICAoc2V0cSBhbXQgKCog YW10IChldmVudC1jbGljay1jb3VudCBldmVudCkpKSkKICAgICAod2hlbiAobnVtYmVycCBhbXQp IChzZXRxIGFtdCAoKiBhbXQgKGV2ZW50LWxpbmUtY291bnQgZXZlbnQpKSkpCi0gICAgKHVud2lu ZC1wcm90ZWN0Ci0JKGxldCAoKGJ1dHRvbiAobXdoZWVsLWV2ZW50LWJ1dHRvbiBldmVudCkpKQot CSAgKGNvbmQgKChlcSBidXR0b24gbW91c2Utd2hlZWwtZG93bi1ldmVudCkKLSAgICAgICAgICAg ICAgICAgKGNvbmRpdGlvbi1jYXNlIG5pbCAoZnVuY2FsbCBtd2hlZWwtc2Nyb2xsLWRvd24tZnVu Y3Rpb24gYW10KQotICAgICAgICAgICAgICAgICAgIDs7IE1ha2Ugc3VyZSB3ZSBkbyBpbmRlZWQg c2Nyb2xsIHRvIHRoZSBiZWdpbm5pbmcgb2YKLSAgICAgICAgICAgICAgICAgICA7OyB0aGUgYnVm ZmVyLgotICAgICAgICAgICAgICAgICAgIChiZWdpbm5pbmctb2YtYnVmZmVyCi0gICAgICAgICAg ICAgICAgICAgICh1bndpbmQtcHJvdGVjdAotICAgICAgICAgICAgICAgICAgICAgICAgKGZ1bmNh bGwgbXdoZWVsLXNjcm9sbC1kb3duLWZ1bmN0aW9uKQotICAgICAgICAgICAgICAgICAgICAgIDs7 IElmIHRoZSBmaXJzdCBzY3JvbGwgc3VjY2VlZGVkLCB0aGVuIHNvbWUgc2Nyb2xsaW5nCi0gICAg ICAgICAgICAgICAgICAgICAgOzsgaXMgcG9zc2libGU6IGtlZXAgc2Nyb2xsaW5nIHRpbCB0aGUg YmVnaW5uaW5nIGJ1dAotICAgICAgICAgICAgICAgICAgICAgIDs7IGRvIG5vdCBzaWduYWwgYW4g ZXJyb3IuICBGb3Igc29tZSByZWFzb24sIHdlIGhhdmUKLSAgICAgICAgICAgICAgICAgICAgICA7 OyB0byBkbyBpdCBldmVuIGlmIHRoZSBmaXJzdCBzY3JvbGwgc2lnbmFsZWQgYW4KLSAgICAgICAg ICAgICAgICAgICAgICA7OyBlcnJvciwgYmVjYXVzZSBvdGhlcndpc2UgdGhlIHdpbmRvdyBpcyBy ZWNlbnRlcmVkCi0gICAgICAgICAgICAgICAgICAgICAgOzsgZm9yIGEgcmVhc29uIHRoYXQgZXNj YXBlcyBtZS4gIFRoaXMgcHJvYmxlbSBzZWVtcwotICAgICAgICAgICAgICAgICAgICAgIDs7IHRv IG9ubHkgYWZmZWN0IHNjcm9sbC1kb3duLiAgLS1TdGVmCi0gICAgICAgICAgICAgICAgICAgICAg KHNldC13aW5kb3ctc3RhcnQgKHNlbGVjdGVkLXdpbmRvdykgKHBvaW50LW1pbikpKSkpKQotCQko KGVxIGJ1dHRvbiBtb3VzZS13aGVlbC11cC1ldmVudCkKLSAgICAgICAgICAgICAgICAgKGNvbmRp dGlvbi1jYXNlIG5pbCAoZnVuY2FsbCBtd2hlZWwtc2Nyb2xsLXVwLWZ1bmN0aW9uIGFtdCkKLSAg ICAgICAgICAgICAgICAgICA7OyBNYWtlIHN1cmUgd2UgZG8gaW5kZWVkIHNjcm9sbCB0byB0aGUg ZW5kIG9mIHRoZSBidWZmZXIuCi0gICAgICAgICAgICAgICAgICAgKGVuZC1vZi1idWZmZXIgKHdo aWxlIHQgKGZ1bmNhbGwgbXdoZWVsLXNjcm9sbC11cC1mdW5jdGlvbikpKSkpCi0gICAgICAgICAg ICAgICAgKChlcSBidXR0b24gbW91c2Utd2hlZWwtbGVmdC1ldmVudCkgOyBmb3IgdGlsdCBzY3Jv bGwKLSAgICAgICAgICAgICAgICAgKHdoZW4gbW91c2Utd2hlZWwtdGlsdC1zY3JvbGwKLSAgICAg ICAgICAgICAgICAgICAoZnVuY2FsbCAoaWYgbW91c2Utd2hlZWwtZmxpcC1kaXJlY3Rpb24KLSAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbXdoZWVsLXNjcm9sbC1yaWdodC1mdW5jdGlv bgotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbXdoZWVsLXNjcm9sbC1sZWZ0LWZ1bmN0 aW9uKSBhbXQpKSkKLSAgICAgICAgICAgICAgICAoKGVxIGJ1dHRvbiBtb3VzZS13aGVlbC1yaWdo dC1ldmVudCkgOyBmb3IgdGlsdCBzY3JvbGwKLSAgICAgICAgICAgICAgICAgKHdoZW4gbW91c2Ut d2hlZWwtdGlsdC1zY3JvbGwKLSAgICAgICAgICAgICAgICAgICAoZnVuY2FsbCAoaWYgbW91c2Ut d2hlZWwtZmxpcC1kaXJlY3Rpb24KLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbXdo ZWVsLXNjcm9sbC1sZWZ0LWZ1bmN0aW9uCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBt d2hlZWwtc2Nyb2xsLXJpZ2h0LWZ1bmN0aW9uKSBhbXQpKSkKLQkJKHQgKGVycm9yICJCYWQgYmlu ZGluZyBpbiBtd2hlZWwtc2Nyb2xsIikpKSkKLSAgICAgIChpZiAoZXEgc2Nyb2xsLXdpbmRvdyBz ZWxlY3RlZC13aW5kb3cpCi0JICA7OyBJZiB0aGVyZSBpcyBhIHRlbXBvcmFyaWx5IGFjdGl2ZSBy ZWdpb24sIGRlYWN0aXZhdGUgaXQgaWYKLQkgIDs7IHNjcm9sbGluZyBtb3ZlZCBwb2ludC4KLQkg ICh3aGVuIChhbmQgb2xkLXBvaW50ICgvPSBvbGQtcG9pbnQgKHdpbmRvdy1wb2ludCkpKQotCSAg ICA7OyBDYWxsIGBkZWFjdGl2YXRlLW1hcmsnIGF0IHRoZSBvcmlnaW5hbCBwb3NpdGlvbiwgc28g dGhhdAotCSAgICA7OyB0aGUgb3JpZ2luYWwgcmVnaW9uIGlzIHNhdmVkIHRvIHRoZSBYIHNlbGVj dGlvbi4KLQkgICAgKGxldCAoKG5ldy1wb2ludCAod2luZG93LXBvaW50KSkpCi0JICAgICAgKGdv dG8tY2hhciBvbGQtcG9pbnQpCi0JICAgICAgKGRlYWN0aXZhdGUtbWFyaykKLQkgICAgICAoZ290 by1jaGFyIG5ldy1wb2ludCkpKQotCShzZWxlY3Qtd2luZG93IHNlbGVjdGVkLXdpbmRvdyB0KSkp KQotCi0gICh3aGVuIChhbmQgbW91c2Utd2hlZWwtY2xpY2stZXZlbnQgbW91c2Utd2hlZWwtaW5o aWJpdC1jbGljay10aW1lKQotICAgIChpZiBtd2hlZWwtaW5oaWJpdC1jbGljay1ldmVudC10aW1l cgotCShjYW5jZWwtdGltZXIgbXdoZWVsLWluaGliaXQtY2xpY2stZXZlbnQtdGltZXIpCi0gICAg ICAoYWRkLWhvb2sgJ3ByZS1jb21tYW5kLWhvb2sgJ213aGVlbC1maWx0ZXItY2xpY2stZXZlbnRz KSkKLSAgICAoc2V0cSBtd2hlZWwtaW5oaWJpdC1jbGljay1ldmVudC10aW1lcgotCSAgKHJ1bi13 aXRoLXRpbWVyIG1vdXNlLXdoZWVsLWluaGliaXQtY2xpY2stdGltZSBuaWwKLQkJCSAgJ213aGVl bC1pbmhpYml0LWNsaWNrLXRpbWVvdXQpKSkpCisgICAgKGNvbmRpdGlvbi1jYXNlIG5pbAorICAg ICAgICAodW53aW5kLXByb3RlY3QKKwkgICAgKGxldCAoKGJ1dHRvbiAobXdoZWVsLWV2ZW50LWJ1 dHRvbiBldmVudCkpKQorCSAgICAgIChjb25kICgoZXEgYnV0dG9uIG1vdXNlLXdoZWVsLWRvd24t ZXZlbnQpCisgICAgICAgICAgICAgICAgICAgICAoY29uZGl0aW9uLWNhc2UgbmlsIChmdW5jYWxs IG13aGVlbC1zY3JvbGwtZG93bi1mdW5jdGlvbiBhbXQpCisgICAgICAgICAgICAgICAgICAgICAg IDs7IE1ha2Ugc3VyZSB3ZSBkbyBpbmRlZWQgc2Nyb2xsIHRvIHRoZSBiZWdpbm5pbmcgb2YKKyAg ICAgICAgICAgICAgICAgICAgICAgOzsgdGhlIGJ1ZmZlci4KKyAgICAgICAgICAgICAgICAgICAg ICAgKGJlZ2lubmluZy1vZi1idWZmZXIKKyAgICAgICAgICAgICAgICAgICAgICAgICh1bndpbmQt cHJvdGVjdAorICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmdW5jYWxsIG13aGVlbC1zY3Jv bGwtZG93bi1mdW5jdGlvbikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgOzsgSWYgdGhlIGZp cnN0IHNjcm9sbCBzdWNjZWVkZWQsIHRoZW4gc29tZSBzY3JvbGxpbmcKKyAgICAgICAgICAgICAg ICAgICAgICAgICAgOzsgaXMgcG9zc2libGU6IGtlZXAgc2Nyb2xsaW5nIHRpbCB0aGUgYmVnaW5u aW5nIGJ1dAorICAgICAgICAgICAgICAgICAgICAgICAgICA7OyBkbyBub3Qgc2lnbmFsIGFuIGVy cm9yLiAgRm9yIHNvbWUgcmVhc29uLCB3ZSBoYXZlCisgICAgICAgICAgICAgICAgICAgICAgICAg IDs7IHRvIGRvIGl0IGV2ZW4gaWYgdGhlIGZpcnN0IHNjcm9sbCBzaWduYWxlZCBhbgorICAgICAg ICAgICAgICAgICAgICAgICAgICA7OyBlcnJvciwgYmVjYXVzZSBvdGhlcndpc2UgdGhlIHdpbmRv dyBpcyByZWNlbnRlcmVkCisgICAgICAgICAgICAgICAgICAgICAgICAgIDs7IGZvciBhIHJlYXNv biB0aGF0IGVzY2FwZXMgbWUuICBUaGlzIHByb2JsZW0gc2VlbXMKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgOzsgdG8gb25seSBhZmZlY3Qgc2Nyb2xsLWRvd24uICAtLVN0ZWYKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgKHNldC13aW5kb3ctc3RhcnQgKHNlbGVjdGVkLXdpbmRvdykgKHBv aW50LW1pbikpKSkpKQorCQkgICAgKChlcSBidXR0b24gbW91c2Utd2hlZWwtdXAtZXZlbnQpCisg ICAgICAgICAgICAgICAgICAgICAoY29uZGl0aW9uLWNhc2UgbmlsIChmdW5jYWxsIG13aGVlbC1z Y3JvbGwtdXAtZnVuY3Rpb24gYW10KQorICAgICAgICAgICAgICAgICAgICAgICA7OyBNYWtlIHN1 cmUgd2UgZG8gaW5kZWVkIHNjcm9sbCB0byB0aGUgZW5kIG9mIHRoZSBidWZmZXIuCisgICAgICAg ICAgICAgICAgICAgICAgIChlbmQtb2YtYnVmZmVyICh3aGlsZSB0IChmdW5jYWxsIG13aGVlbC1z Y3JvbGwtdXAtZnVuY3Rpb24pKSkpKQorICAgICAgICAgICAgICAgICAgICAoKGVxIGJ1dHRvbiBt b3VzZS13aGVlbC1sZWZ0LWV2ZW50KSA7IGZvciB0aWx0IHNjcm9sbAorICAgICAgICAgICAgICAg ICAgICAgKHdoZW4gbW91c2Utd2hlZWwtdGlsdC1zY3JvbGwKKyAgICAgICAgICAgICAgICAgICAg ICAgKGZ1bmNhbGwgKGlmIG1vdXNlLXdoZWVsLWZsaXAtZGlyZWN0aW9uCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBtd2hlZWwtc2Nyb2xsLXJpZ2h0LWZ1bmN0aW9uCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbXdoZWVsLXNjcm9sbC1sZWZ0LWZ1bmN0aW9u KSBhbXQpKSkKKyAgICAgICAgICAgICAgICAgICAgKChlcSBidXR0b24gbW91c2Utd2hlZWwtcmln aHQtZXZlbnQpIDsgZm9yIHRpbHQgc2Nyb2xsCisgICAgICAgICAgICAgICAgICAgICAod2hlbiBt b3VzZS13aGVlbC10aWx0LXNjcm9sbAorICAgICAgICAgICAgICAgICAgICAgICAoZnVuY2FsbCAo aWYgbW91c2Utd2hlZWwtZmxpcC1kaXJlY3Rpb24KKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIG13aGVlbC1zY3JvbGwtbGVmdC1mdW5jdGlvbgorICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIG13aGVlbC1zY3JvbGwtcmlnaHQtZnVuY3Rpb24pIGFtdCkpKQorCQkg ICAgKHQgKGVycm9yICJCYWQgYmluZGluZyBpbiBtd2hlZWwtc2Nyb2xsIikpKSkKKyAgICAgICAg ICAoaWYgKGVxIHNjcm9sbC13aW5kb3cgc2VsZWN0ZWQtd2luZG93KQorICAgICAgICAgICAgICA7 OyBJZiB0aGVyZSBpcyBhIHRlbXBvcmFyaWx5IGFjdGl2ZSByZWdpb24sIGRlYWN0aXZhdGUgaXQg aWYKKyAgICAgICAgICAgICAgOzsgc2Nyb2xsaW5nIG1vdmVkIHBvaW50LgorCSAgICAgICh3aGVu IChhbmQgb2xkLXBvaW50ICgvPSBvbGQtcG9pbnQgKHdpbmRvdy1wb2ludCkpKQorICAgICAgICAg ICAgICAgIDs7IENhbGwgYGRlYWN0aXZhdGUtbWFyaycgYXQgdGhlIG9yaWdpbmFsIHBvc2l0aW9u LCBzbyB0aGF0CisgICAgICAgICAgICAgICAgOzsgdGhlIG9yaWdpbmFsIHJlZ2lvbiBpcyBzYXZl ZCB0byB0aGUgWCBzZWxlY3Rpb24uCisJICAgICAgICAobGV0ICgobmV3LXBvaW50ICh3aW5kb3ct cG9pbnQpKSkKKwkgICAgICAgICAgKGdvdG8tY2hhciBvbGQtcG9pbnQpCisJICAgICAgICAgIChk ZWFjdGl2YXRlLW1hcmspCisJICAgICAgICAgIChnb3RvLWNoYXIgbmV3LXBvaW50KSkpCisJICAg IChzZWxlY3Qtd2luZG93IHNlbGVjdGVkLXdpbmRvdyB0KSkpCisgICAgICA7OyBEbyBub3QgZGlu ZyBhdCBidWZmZXIgbGltaXRzLiAgU2hvdyBhIG1lc3NhZ2UgaW5zdGVhZC4KKyAgICAgIChiZWdp bm5pbmctb2YtYnVmZmVyCisgICAgICAgKG1lc3NhZ2UgKGVycm9yLW1lc3NhZ2Utc3RyaW5nICco YmVnaW5uaW5nLW9mLWJ1ZmZlcikpKQorICAgICAgIChzZXRxIHNhdy1lcnJvciB0KSkKKyAgICAg IChlbmQtb2YtYnVmZmVyCisgICAgICAgKG1lc3NhZ2UgKGVycm9yLW1lc3NhZ2Utc3RyaW5nICco ZW5kLW9mLWJ1ZmZlcikpKQorICAgICAgIChzZXRxIHNhdy1lcnJvciB0KSkpCisKKyAgICAod2hl biAoYW5kIChub3Qgc2F3LWVycm9yKQorICAgICAgICAgICAgICAgbW91c2Utd2hlZWwtY2xpY2st ZXZlbnQgbW91c2Utd2hlZWwtaW5oaWJpdC1jbGljay10aW1lKQorICAgICAgKGlmIG13aGVlbC1p bmhpYml0LWNsaWNrLWV2ZW50LXRpbWVyCisgICAgICAgICAgKGNhbmNlbC10aW1lciBtd2hlZWwt aW5oaWJpdC1jbGljay1ldmVudC10aW1lcikKKyAgICAgICAgKGFkZC1ob29rICdwcmUtY29tbWFu ZC1ob29rICdtd2hlZWwtZmlsdGVyLWNsaWNrLWV2ZW50cykpCisgICAgICAoc2V0cSBtd2hlZWwt aW5oaWJpdC1jbGljay1ldmVudC10aW1lcgorICAgICAgICAgICAgKHJ1bi13aXRoLXRpbWVyIG1v dXNlLXdoZWVsLWluaGliaXQtY2xpY2stdGltZSBuaWwKKyAgICAgICAgICAgICAgICAgICAgICAg ICAgICAnbXdoZWVsLWluaGliaXQtY2xpY2stdGltZW91dCkpKSkpCiAKIChwdXQgJ213aGVlbC1z Y3JvbGwgJ3Njcm9sbC1jb21tYW5kIHQpCiAKLS0gCjIuMjAuMQoK --0000000000001335080593cc3e52-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 04 12:11:33 2019 Received: (at 16196) by debbugs.gnu.org; 4 Oct 2019 16:11:33 +0000 Received: from localhost ([127.0.0.1]:43397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGQB3-0001lb-0p for submit@debbugs.gnu.org; Fri, 04 Oct 2019 12:11:33 -0400 Received: from mail-pl1-f178.google.com ([209.85.214.178]:42729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGQAz-0001lG-7V for 16196@debbugs.gnu.org; Fri, 04 Oct 2019 12:11:29 -0400 Received: by mail-pl1-f178.google.com with SMTP id e5so3336830pls.9 for <16196@debbugs.gnu.org>; Fri, 04 Oct 2019 09:11:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BO0hNImq7DACj5+lhFDhKWYg8TUNjAn8HSQNHihkhDk=; b=JWjmwpkmek/q0yYTm9DFSLbQnQGAbqI/0PKBUQYaIld0HsuWOE8hqPqVtQSPA4GgZi u82O9Q/hqTVYn3tDu5yDx0qAJhrPlFL7LoVUGLDjjbzIMwYsvfGDfYja1uvgEuLXxHlk hDSFV8eWkOw8uuoIYAZDw19p0e4Ucc56WmS1RzKVQ7orIN7MpKbAND4Cb5dPONSYMCZI 8e1kroCIOwlV6bR8LlSLl17PjzVslM+rFj0VT2saWDkCcF6HK8cf/TYEqKarwqVQ/3Ew VaqO3ueI99e0U3fRSRVz+/ID/A/AczvIRnvM6ObEBQibvFhb+MZ82lFxRKwjmVsSuPyK owFA== X-Gm-Message-State: APjAAAVF2ChLFTR6bzJT6YaV/0lMDkkPsSuLIbu9+ez4oKVjXIt1kYsp su5E4X1QVlt52mb/96xrA0KoxFbA/3+ApI6JXNI= X-Google-Smtp-Source: APXvYqxAyhnr1gWfH5Az6W00bVgQwep7w68NsgQnN5RHrtQJR5imLy5ORsXLjYDvIoX6kqHj3KcWncMprEKKO6QoZdk= X-Received: by 2002:a17:902:a515:: with SMTP id s21mr16541097plq.259.1570205483538; Fri, 04 Oct 2019 09:11:23 -0700 (PDT) MIME-Version: 1.0 References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> <87r25ulnqh.fsf@tcd.ie> <87lfvzn5dq.fsf@tcd.ie> In-Reply-To: From: Stefan Kangas Date: Fri, 4 Oct 2019 18:11:11 +0200 Message-ID: Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling To: Robert Pluim Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16196 Cc: "Basil L. Contovounesios" , "16196@debbugs.gnu.org" <16196@debbugs.gnu.org>, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) close 16196 27.1 quit Stefan Kangas writes: > If there are no objections, I intend to commit this in a couple of days. Now pushed as commit be27f02bcf. Thanks to all for the reviews and comments. Best regards, Stefan Kangas From unknown Fri Jun 20 18:11:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 02 Nov 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator