![]() This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. NOTE This library is just tested on Emacs 23.2.1 on Ubuntu 10.04 and Mac OS X 10.6.3, and won't be run with any version of XEmacs. Commentary: Overview = This library provides minor mode `smooth-scroll-mode' which adds smooth scrolling feature to Emacs. INSTALLING = To install this library, save this file to a directory in your `load-path' (you can view the current `load-path' using "C-h v load-path RET" within Emacs), then add the following line to your. emacs startup file: (require 'smooth-scroll) (smooth-scroll-mode t) USING = To toggle smooth scrolling feature, just type: `M-x smooth-scroll-mode RET' while smooth scrolling feature is enabled, the string "SScr" will be displayed on mode line. Also check out the customization group `M-x customize-group RET smooth-scroll RET' Additional commands provided by `smooth-scroll.el'. = This library provides commands that brings `in place scrolling' feature, listed below: `scroll-up-1' `scroll-down-1' `scroll-left-1' `scroll-right-1' Bind these commands to any key you like for your convenience. ![]() Keymap example: (global-set-key 'scroll-up-1) (global-set-key 'scroll-down-1) (global-set-key 'scroll-right-1) (global-set-key 'scroll-left-1) NOTE: Keys described above won't work on non window-system. ![]() KNOWN PROBLEMS = - The speed of smooth scrolling is very slow on `Carbon Emacs' and `Cocoa Emacs' on Mac OS X. If you want to use smooth scrolling feature comfortably on these Emacsen, set large number (e.g. 4, 6 or 8) to the variable `smooth-scroll/vscroll-step-size' and `smooth-scroll/hscroll-step-size'.
0 Comments
Leave a Reply. |