From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: marc0@autistici.org (Marco Parrone (marc0)) Newsgroups: gmane.emacs.help Subject: Re: Is there a way to move to next line in wrapped text? Date: Tue, 06 Jan 2004 20:37:19 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <8765fokgwg.fsf@marc0.dyndns.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073419317 2630 80.91.224.253 (6 Jan 2004 20:01:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2004 20:01:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 06 21:01:49 2004 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 1AdxOe-0008Fw-00 for ; Tue, 06 Jan 2004 21:01:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AdyJg-0000Go-9i for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jan 2004 16:00:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: host116-203.pool8248.interbusiness.it Original-X-Trace: quimby.gnus.org 1073418396 31718 82.48.203.116 (6 Jan 2004 19:46:36 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Tue, 6 Jan 2004 19:46:36 +0000 (UTC) X-Face: ]KIe+0@lNbQo2y\ey;]!*LKsR-0$V737yt[BnA*)c,)gu>IH>S}:"PPNWkV<}[ usLa_gJyB!BRUEC!~5OY;:`k1Tcv2g2<0|,'RI}ZhnPpaXC.,L^y?}R&FfrRiLE*b+AE, JY/a! `/ZN{E`NgLO_QV#s`!,#M%ppv@mcIb`K^/1``d^=o"AvteN1nNFyzU 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:15736 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15736 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeff on Tue, 06 Jan 2004 18:52:40 GMT writes: > I've been using emacs for programming for quite years. Works great. > Recently I've been trying to use it for html and other straight text > editing and keep running into one annoying feature: when I do Ctrl-p or > Ctrl-n to move up or down a line, it goes to the next line in terms of > linefeeds, not in terms of wrapped text. Are there keybindings I don't > know about that will move up and down to the next 'literal' line in the > window? (regardless of where linefeeds are?). If not, is there some other > way to do this? You can use `C-u 79 C-f' and `C-u 79 C-b' for example if you are working in an 80 columns terminal. Or you can define 2 new functions and 2 new keybindings in your ~/.emacs to do it. The functions will look like (defun forward-79-chars () (interactive) (forward-char 79)) (defun backward-79-chars () (interactive) (backward-char 79)) - -- Marco Parrone (marc0) - marc0@autistici.org F7D4 527B DE97 4090 657B 6E4E 8B63 1167 (4507 0AD6) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/+w5Ei2MRZ0UHCtYRAtkYAJ4ucwNZuGaKzwrc3aN20tNzxzXfQACfYi5l vCTRG66BGJEWMoxjEpCvzBE= =r5VV -----END PGP SIGNATURE-----