all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org, dmoncayo@gmail.com
Subject: Re: Should ending successful Isearch with C-g restore the relative	window position?
Date: Tue, 15 Jan 2013 18:34:10 +0200	[thread overview]
Message-ID: <834niiqubh.fsf@gnu.org> (raw)
In-Reply-To: <1712F3B8AF3D49DD9AC9F829FF560543@us.oracle.com>

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <dmoncayo@gmail.com>, <emacs-devel@gnu.org>
> Date: Tue, 15 Jan 2013 06:58:49 -0800
> 
> > Recentering is the default, always was.
> 
> Just the _default_?
> 
> Does that mean that there is a simple user setting that changes the behavior
> from the default so that it returns things as they were before searching?

I doubt that.  You could try scroll-preserve-screen-position, but it
doesn't do a perfect job, and I'm not even sure it will change
anything in the situation you described.

What I meant by "is the default, always was" is that the recentering
behavior was originally the only one available, so it predates any
scroll-* variables; therefore, it is small wonder that you find this
behavior in old versions of Emacs, where the scroll-* variables aren't
available or behave differently.

The non-default behavior, triggered by customizing some of the
scroll-* variables, can put point on the first or the last window line
(depending on the direction of movement), or make sure point is never
too close to the window edge.  But that's about all.  Emacs was never
programmed to predictably return to the same place on the screen (and
it isn't easy, either, due to variable fonts).



  parent reply	other threads:[~2013-01-15 16:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 22:29 Should ending successful Isearch with C-g restore the relative window position? Drew Adams
2013-01-14 23:07 ` Dani Moncayo
2013-01-14 23:17   ` Drew Adams
2013-01-15  3:49     ` Eli Zaretskii
2013-01-15 14:58       ` Drew Adams
2013-01-15 15:09         ` Alan Mackenzie
2013-01-15 16:22           ` Should ending successful Isearch with C-g restore the relativewindow position? Drew Adams
2013-01-15 16:36             ` Alan Mackenzie
2013-01-15 16:54               ` Should ending successful Isearch with C-g restore therelativewindow position? Drew Adams
2013-01-15 16:34         ` Eli Zaretskii [this message]
2013-01-15 16:58           ` Should ending successful Isearch with C-g restore the relative window position? Drew Adams
2013-01-15 17:10             ` Eli Zaretskii
2013-01-15 17:59               ` Drew Adams
2013-01-15 18:25                 ` Eli Zaretskii
2013-01-15 22:04               ` Drew Adams
2013-01-16 16:55                 ` Should ending successful Isearch with C-g restore therelative " Drew Adams
2013-01-16 21:29                   ` Should ending successful Isearch with C-g restore the relative " Juri Linkov
2013-01-16 22:16                     ` Drew Adams
2013-01-17 21:35                       ` Juri Linkov
2013-01-15  9:52   ` Juri Linkov

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=834niiqubh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dmoncayo@gmail.com \
    --cc=drew.adams@oracle.com \
    --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.