all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: marc0@autistici.org (Marco Parrone (marc0))
Subject: Re: Is there a way to move to next line in wrapped text?
Date: Tue, 06 Jan 2004 20:37:19 +0100	[thread overview]
Message-ID: <8765fokgwg.fsf@marc0.dyndns.org> (raw)
In-Reply-To: pan.2004.01.06.18.52.39.531026@cunningham.net

-----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-----

  reply	other threads:[~2004-01-06 19:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-06 18:52 Is there a way to move to next line in wrapped text? Jeff
2004-01-06 19:37 ` Marco Parrone (marc0) [this message]
2004-01-06 20:12   ` Benjamin Rutt
2004-01-06 21:50     ` Jeff
2004-01-07  0:53 ` Stefan Monnier
2004-01-07 15:58 ` Eric Eide
2004-01-08 22:34   ` leo
2004-01-09  0:36     ` Eric Eide

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8765fokgwg.fsf@marc0.dyndns.org \
    --to=marc0@autistici.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.