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: 13441@debbugs.gnu.org
Subject: bug#13441: 24.3.50; doc of `goto-char'
Date: Tue, 15 Jan 2013 05:47:49 +0200	[thread overview]
Message-ID: <83hamjqf8a.fsf@gnu.org> (raw)
In-Reply-To: <6D342738E4964535BBDF4B379109AFE2@us.oracle.com>

> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Mon, 14 Jan 2013 14:23:09 -0800
> 
> I don't see where it does this in the code, but it sure seems like
> `goto-char' recenters the window around the target position.  This is
> part of what the command does, and should be mentioned in its doc.  It
> is not mentioned in either the doc string or the Elisp manual.

It is not part of what the command does.  It is part of normal Emacs
display, whereby, if point moves outside the displayed portion of the
buffer, Emacs brings point into view by (by default) centering point
in the window.  Here "by default" means "unless you customized one of
the scroll-* variables".

The window centering is described in "Textual Scrolling" and in the
Emacs manual under "Auto Scrolling".





  reply	other threads:[~2013-01-15  3:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 22:23 bug#13441: 24.3.50; doc of `goto-char' Drew Adams
2013-01-15  3:47 ` Eli Zaretskii [this message]
2013-01-15 15:10   ` Drew Adams

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=83hamjqf8a.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=13441@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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.