From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16196: 24.3.50; Disable ding when scrolling Date: Fri, 20 Dec 2013 10:56:18 +0200 Message-ID: <83d2krc34d.fsf@gnu.org> References: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1387529834 16890 80.91.229.3 (20 Dec 2013 08:57:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Dec 2013 08:57:14 +0000 (UTC) Cc: 16196@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 20 09:57:19 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VtvtV-0005Cx-F9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Dec 2013 09:57:17 +0100 Original-Received: from localhost ([::1]:48363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtvtV-0005aN-58 for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Dec 2013 03:57:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtvtN-0005aG-3n for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 03:57:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtvtG-0002C1-GF for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 03:57:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtvtG-0002BE-CH for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 03:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VtvtF-0008SW-Ll for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2013 03:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Dec 2013 08:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16196-submit@debbugs.gnu.org id=B16196.138752976232401 (code B ref 16196); Fri, 20 Dec 2013 08:57:01 +0000 Original-Received: (at 16196) by debbugs.gnu.org; 20 Dec 2013 08:56:02 +0000 Original-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 Original-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 Original-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) Original-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) In-reply-to: <25C13650-058F-45CC-A961-D789709B1179@swipnet.se> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82267 Archived-At: > 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.