Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] scrolling in emacs
- To: tlug@example.com
- Subject: Re: [tlug] scrolling in emacs
- From: Viktor Pavlenko <vvp@example.com>
- Date: Fri, 22 Mar 2002 08:50:09 -0500
- Content-transfer-encoding: 7bit
- Content-type: text/plain; charset=us-ascii
- In-reply-to: <20020322095806.67843.qmail@example.com>
- References: <20020322095806.67843.qmail@example.com>
>>>>> "HA" == Hector Akamine <hector_aka@example.com> writes: HA> Hi, HA> While editing a file in emacs, if I go past the last HA> line that is shown on the editing window, the window HA> scrolls down several lines at once. I would like emacs HA> to scroll just one line at a time. Is there any HA> setting that I can put in .emacs to make it happen? I've got the following piece in my .emacs. You may want to customize the last part (key bindings). HTH Viktor ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; O'REILLY'S BOOK "GNU Emacs Extensions" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; scrolling ;; (defalias 'scroll-ahead 'scroll-up) (defalias 'scroll-behind 'scroll-down) (defalias 'scroll-other-window-ahead 'scroll-other-window) (defalias 'scroll-other-window-behind 'scroll-other-window-down) (defun scroll-one-line-ahead () "Scroll ahead one line." (interactive) (scroll-ahead 1)) (defun scroll-other-window-one-line-ahead () "Scroll other window ahead one line." (interactive) (scroll-other-window-ahead 1)) (defun scroll-one-line-behind () "Scroll ahead one line." (interactive) (scroll-behind 1)) (defun scroll-other-window-one-line-behind () "Scroll other window ahead one line." (interactive) (scroll-other-window-behind 1)) (global-set-key [end] 'scroll-one-line-ahead) (global-set-key [home] 'scroll-one-line-behind) (global-set-key [C-end] 'scroll-other-window-one-line-ahead) (global-set-key [C-home] 'scroll-other-window-one-line-behind) (global-set-key [C-next] 'scroll-other-window) (global-set-key [C-prior] 'scroll-other-window-down)
- Follow-Ups:
- [tlug] Font Sizes in (X)emacs
- From: Charles Muller
- References:
- [tlug] scrolling in emacs
- From: Hector Akamine
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] scrolling in emacs
- Next by Date: [tlug] Font Sizes in (X)emacs
- Previous by thread: Re: [tlug] scrolling in emacs
- Next by thread: [tlug] Font Sizes in (X)emacs
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links