Article View: comp.editors
Article #3961Re: cursor movement question in emacs
From: James Hu jxh
Date: Fri, 14 Nov 1997 00:00
Date: Fri, 14 Nov 1997 00:00
23 lines
1790 bytes
1790 bytes
On 13 Nov 1997 23:57:49 GMT, Ilya <ibelooze@runet.edu> wrote: > I thought that giving M-n argument to a command would make it do > it several times. So you want to move 10 lines down, you hit M-10 > C-n. The comand to move down one screen is C-v. So to move down > 10 screens (about 400 lines) would be M-10 C-v. However, when I > try that it only moves n lines! what is going on and why is this > happening?! What is the equivalent of vi's 10 C-f command? The documentation for scroll-up and scroll-down clearly state that the argument is the number of lines. If no argument, then it is a single screen. Fortunatly, Emacs provides an easy way to enter a big number without resorting to typing in the number itself. The `universal argument', C-u, corresponds to a power of 4 for functions wanting a numeric argument. So, if you just want to jump down by 256 lines, do this by: C-u C-u C-u C-u C-v -- James C. Hu <jxh@cs.wustl.edu> Computer Science Doctoral Student http://www.cs.wustl.edu/~jxh/ Washington University in Saint Louis >>>>>>>>>>>>> I use *SpamBeGone* <URL:http://www.internz.com/SpamBeGone/>
Technical Details
Message-ID:
<slrn66nbo1.ntt.jxh@lambada.cs.wustl.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<64g45t$gm7@newslink.runet.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107393,c86cae16a09fdd56 X-Google-Attributes: gid107393,public X-Google-Thread: 102b9a,c86cae16a09fdd56 X-Google-Attributes: gid102b9a,public X-Google-Thread: 103b8b,c86cae16a09fdd56 X-Google-Attributes: gid103b8b,public From: jxh@lambada.cs.wustl.edu (James Hu <jxh@cs.wustl.edu>) Subject: Re: cursor movement question in emacs Date: 1997/11/14 Message-ID: <slrn66nbo1.ntt.jxh@lambada.cs.wustl.edu> X-Deja-AN: 289384847 References: <64g45t$gm7@newslink.runet.edu> Organization: Washington University in St. Louis Newsgroups: comp.editors,comp.emacs,gnu.emacs.help