From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gareth.rees@pobox.com (Gareth Rees) Newsgroups: gmane.emacs.help Subject: Re: C-f, C-b, C-n and C-p or right, left, down, up? Date: 6 Oct 2003 10:30:25 -0700 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <1c58a7c3.0310010003.78c0fa00@posting.google.com> <3f7ac211$0$34892$1b62eedf@news.wanadoo.nl> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1065462552 16743 80.91.224.253 (6 Oct 2003 17:49:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Oct 2003 17:49:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 06 19:49:09 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A6ZTp-0004oD-00 for ; Mon, 06 Oct 2003 19:49:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6ZQk-00014J-Kd for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Oct 2003 13:45:58 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 193.112.141.206 Original-X-Trace: posting.google.com 1065461425 19041 127.0.0.1 (6 Oct 2003 17:30:25 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 6 Oct 2003 17:30:25 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:117095 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13024 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13024 One way to avoid repetitive sequences of control keys is to use the many editing features of Emacs. Don't type lots of C-f, use prefix arguments (C-9 C-9 C-f moves forward 99 characters) or use M-C-f to move forward by sexp or M-} to move forward by paragraph. Or C-s foo RET to go to the next occurrence of foo. Or make a macro and then C-u 152 C-x e to execute the macro 152 times. For example, here are some ways to accomplish things without repetitions: Arjan Bos wrote: > I'm using both. For example when I want to delete all characters of a > certain column I just go C-d C-n which is quite fast. Select the rectangle, then C-x r k. > To transfer a line to a few lines above, I go C-a C-k C-k C-p C-p C-p C-y. Go to the line after the one you want to move, then C-- C-3 C-x C-t. > But when I want to identify a small region I'd like to do TAB > Cursor-down TAB Cursor-down, etc. Select the region, then M-C-\. -- Gareth Rees