all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Eide <eeide@cs.utah.edu>
Subject: Re: Is there a way to move to next line in wrapped text?
Date: Thu, 08 Jan 2004 17:36:03 -0700 (MST)	[thread overview]
Message-ID: <ywrfzeqt0uk.fsf@ioka.flux.utah.edu> (raw)
In-Reply-To: btklsn$6st$1@otis.netspace.net.au

"leo" == leo <halloleo@noospaam.myrealbox.com> writes:

	leo> i had a look at the [`scroll-in-place'] package, beacuse i'm
	leo> annoyed at this jump by lines behaviour of next-line and
	leo> previous-line.
	leo> 
	leo> but does `scroll-in-place' help with next-line/previous-line as
	leo> well.  i guess it only help for scrolling, doen't it?

Well, I guess it depends on your point of view.

You're right that the `scroll-in-place' package is primarily intended as a
replacement for Emacs' scrolling commands, not its point-motion (i.e., cursor
motion) commands.  But in many ways, the scrolling and point-motion commands
aren't all that different.  Scrolling command often change the location of
point, and conversely, point-motion commands sometimes cause the window to
scroll.

As a practical matter, I wouldn't (and don't) use `scroll-in-place' to replace
point-motion commands in general.  When I invoke one of those commands, I
expect point to move from its current screen position.  But when I scroll, I
want to "move" by having the text move beneath point, as if I had picked up my
pen and moved the paper under it.

Whether one moves the pen or the paper, the effect is similar (but not the
same).  The original question was about how to conveniently cause point to be
located within a long line, and my answer describes a way that "moves the
paper."  But I wouldn't always move the paper --- it's too hard to write that
way :-).

Eric.

-- 
-------------------------------------------------------------------------------
Eric Eide <eeide@cs.utah.edu>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX

      reply	other threads:[~2004-01-09  0:36 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)
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 [this message]

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=ywrfzeqt0uk.fsf@ioka.flux.utah.edu \
    --to=eeide@cs.utah.edu \
    /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.