all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Avoid recentering when user says so
Date: Sat, 26 Mar 2011 21:52:46 +0200	[thread overview]
Message-ID: <83oc4xslpt.fsf@gnu.org> (raw)
In-Reply-To: <83r59tsoos.fsf@gnu.org>

> Date: Sat, 26 Mar 2011 20:48:35 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> 
> Following the latest discussions in that bug report, I came up with a
> way to solve this problem without incurring unduly slow movement far
> away in the buffer.  The patch below seems to give good results

Btw, in the discussions related to bug #6671, some people said that
Emacs should pay attention to the value of another variable,
scroll-preserve-screen-position, when Emacs decides where to put point
after moving it to a far away location.

I would like to point out that this option has nothing to do with the
issue at hand, although its name might suggest that it does.  This
option is only examined by the scroll-up and scroll-down commands,
which are just one way of scrolling.  No other command ever looks at
this option.  (Documentation seem to suggest that any command that has
non-nil scroll-command property will also behave according to this
option, but unless I'm missing something, I cannot see how that could
be true.)

Therefore, the patch I proposed does not consult this option at all.



  reply	other threads:[~2011-03-26 19:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-26 18:48 Avoid recentering when user says so Eli Zaretskii
2011-03-26 19:52 ` Eli Zaretskii [this message]
2011-03-27  2:58   ` Juanma Barranquero
2011-03-27  3:57 ` Eli Zaretskii
2011-03-27  7:58 ` David Engster
2011-03-27 10:46   ` Eli Zaretskii
2011-03-27  7:58 ` bug#6671: " David Engster
2011-03-31 19:20 ` Eli Zaretskii

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=83oc4xslpt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.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.