Article View: comp.editors
Article #4029Re: Scrolling a line at a time
From: Joe Wells
Date: Thu, 25 Feb 1993 02:17
Date: Thu, 25 Feb 1993 02:17
83 lines
4115 bytes
4115 bytes
In article <1m0brm$k24@nemesis.muppet.bt.co.uk> jmd@bealfeirste (John Downey) writes:
I'm being compelled, against my better judgement, and by a very
unreasonable management-type person wearing a suit and tie, to use the
emacs editor as an interface to the gdb debugger
This is a nice interface to gdb.
and in order to read the info files for gdb.
You can do that with either of the the "info" or "xinfo" programs.
Neither require Emacs.
The problem that's threatening my sanity more than anything else is
this: is there any easy way (by `easy' I mean with one keystroke or
button press, or less) to scroll the current window up or down one line
at a time?
It's not clear what you want. Try putting (setq scroll-step 1) in your
.emacs file and see if that does what you want. If not, then perhaps you
want to do something like this:
(global-set-key "\C-v" '(function (lambda () (scroll-up 1))))
(global-set-key "\ev" '(function (lambda () (scroll-down 1))))
You might also want to try the scroll-in-place package.
If not, how can any human being be reasonably expected to use it?
It's fairly easy actually.
Another question: is there any equivalent to vi's `.' (repeat last)
command?
No, unless you use one of the vi emulation packages.
--
Enjoy,
Joe Wells <jbw@cs.bu.edu>
Member of the League for Programming Freedom --- send e-mail for details
----------------------------------------------------------------------
Possibly relevant information from the list of frequently asked questions
about GNU Emacs with answers:
51: Is there an equivalent to the `.' (dot) command of vi?
(`.' is the redo command in vi. It redoes the last insertion/deletion.)
No, not really.
You can type "C-x ESC" (repeat-complex-command) to reinvoke commands that
used the minibuffer to get arguments. In repeat-complex-command you can
type M-p and M-n to scan through all the different complex commands you've
typed.
To repeat something on each line I recommend using keyboard macros.
112: VIP -- vi emulation for Emacs
Author: Aamod Sane <sane@cs.uiuc.edu>
Latest released version: 4.3
Anonymous FTP:
/cs.uiuc.edu:pub/vip4.3.tar.Z
/archive.cis.ohio-state.edu:pub/gnu/emacs/elisp-archive/modes/vip-mode.tar.Z
NOTE: This version much more closely emulates vi than the one
distributed with Emacs.
19: Can I view Info files without using GNU Emacs?
Yes, the `info', `xinfo', and `ivinfo' programs do this. info uses
curses, xinfo uses standard X11 libraries, and ivinfo uses InterViews.
You can get info as part of the latest Texinfo package (see question
17). xinfo is available separately:
/prep.ai.mit.edu:pub/gnu/xinfo-1.01.01.tar.Z
/export.lcs.mit.edu:
ivinfo is available in a comp.sources.misc archive or from Tom Horsley
<tom@ssd.csd.harris.com>. For ivinfo, you need Stanford's InterViews C++
X library, available via anonymous FTP (interviews.stanford.edu).
----------------------------------------------------------------------
Technical Details
Message-ID:
<JBW.93Feb24211722@bigbird.bu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ukma!gatech!purdue!bu.edu!nntp-read!jbwReferences:
<1m0brm$k24@nemesis.muppet.bt.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b9a,4ec0f43d8e1ef2b X-Google-Attributes: gid102b9a,public X-Google-Thread: 107393,4ec0f43d8e1ef2b X-Google-Attributes: gid107393,public X-Google-Thread: 103b8b,b24553a9f0a6a73 X-Google-Attributes: gid103b8b,public X-Google-Thread: ff485,4ec0f43d8e1ef2b X-Google-Attributes: gidff485,public X-Google-ArrivalTime: 1993-02-24 18:17:22 PST Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!gatech!purdue!bu.edu!nntp-read!jbw From: jbw@bigbird.bu.edu (Joe Wells) Newsgroups: comp.editors,alt.religion.emacs,comp.emacs,gnu.emacs.help Subject: Re: Scrolling a line at a time Message-ID: <JBW.93Feb24211722@bigbird.bu.edu> Date: 25 Feb 93 02:17:22 GMT References: <1m0brm$k24@nemesis.muppet.bt.co.uk> Sender: news@bu.edu Followup-To: comp.editors Organization: Boston University Computer Science Department Lines: 83 To: jmd@bealfeirste.muppet.bt.co.uk In-reply-to: jmd@bealfeirste's message of 18 Feb 93 16:00:54 GMT