I\'ve been looking into adopting Carbon Emacs for use on my Mac, and the only stumbling block I\'ve run into is the annoying scroll beep when you try to scroll past the end
Using the hints from the Emacs wiki AlarmBell page, this does it for me:
(defun my-bell-function ()
(unless (memq this-command
'(isearch-abort abort-recursive-edit exit-minibuffer
keyboard-quit mwheel-scroll down up next-line previous-line
backward-char forward-char))
(ding)))
(setq ring-bell-function 'my-bell-function)
If you don't know the name of a command, press C-h k
then the key/action you would like to get the name of.