To turn disable them for all frames, add the following line to your `.Xdefaults':
Emacs.scrollBarWidth: 0
To turn the scrollbar off on a per-frame basis, use the following function:
(set-specifier scrollbar-width (cons (selected-frame) 0))
You can actually turn the scrollbars on at any level you want by substituting for (selected-frame) in the above command. For example, to turn the scrollbars off only in a single buffer:
(set-specifier scrollbar-width (cons (current-buffer) 0))
Here's a recap of how to use resources to change your scrollbar colors:
! Motif scrollbars Emacs*XmScrollBar.Background: skyblue Emacs*XmScrollBar.troughColor: lightgray ! Athena scrollbars Emacs*Scrollbar.Foreground: skyblue Emacs*Scrollbar.Background: lightgray
Note the capitalization of `Scrollbar' for the Athena widget.
The current behavior is a feature, not a bug. Point remains at the same buffer position as long as that position does not scroll off the screen. In that event, point will end up in either the upper-left or lower-left hand corner.
To do this, add to your .emacs file:
(require 'auto-show)
Then do (setq truncate-lines t)
in the mode-hooks for any modes
in which you want lines truncated.