[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a way to move to next line in wrapped text?
From: |
Stefan Monnier |
Subject: |
Re: Is there a way to move to next line in wrapped text? |
Date: |
Wed, 07 Jan 2004 00:53:31 GMT |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> 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?
There are elisp functions to do that, although I can't remember their names
offhand (and they don't work right in Emacs-21 with non-fixed-with text).
Check screen-lines.el (or some such name) for a package that provides
navigation based on those functions.
Stefan