Subject: Re: bug#16196: 24.3.50; Disable ding when scrolling

From: Robert Pluim <[email-masked]>
Date: Mon, 30 Sep 2019 16:11:02 +0200

>>>>> On Mon, 30 Sep 2019 16:03:19 +0200, Robert Pluim <[email-masked]> said:

>>>>> On Mon, 30 Sep 2019 15:26:20 +0200, Stefan Kangas <[email-masked]> said:
    Stefan> Stefan Kangas <[email-masked]> 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