all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: okay@toyful.space, 46238@debbugs.gnu.org
Subject: bug#46238: 27.1; recenter-top-bottom in fullscreen
Date: Tue, 02 Feb 2021 17:20:19 +0200	[thread overview]
Message-ID: <83im7a5wek.fsf@gnu.org> (raw)
In-Reply-To: <d413bbb8-67c1-888c-489d-f0fe22f61de4@gmx.at> (message from martin rudalics on Tue, 2 Feb 2021 09:42:28 +0100)

> From: martin rudalics <rudalics@gmx.at>
> Date: Tue, 2 Feb 2021 09:42:28 +0100
> 
> Reading it for the first time, 'recenter-top-bottom' has an incredibly
> misleading doc-string: For me "Move current buffer line to the specified
> window line" means to (1) remove the buffer line at point from its
> buffer and (2) reinsert it at the window line specified by ARG but I
> doubt that that's the intended behavior.  Maybe someone more
> knowledgeable could make it more reasonable, maybe stealing text like
> "positions the current line at the top of the window" from 'recenter'.

Is the below better?

  "Scroll the window so that current line is at the middle of the window.
Successive invocations scroll the window in a cyclical order to put
the current line at certain places within the window, as determined by
`recenter-positions'.  By default, the second invocation puts the
current line at the top-most window line, the third invocation puts it
on the bottom-most window line, and then the order is reused.

With numeric prefix ARG, move current line ARG lines below the window top.
With plain `C-u', move current line to window center."





  reply	other threads:[~2021-02-02 15:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01 15:32 bug#46238: 27.1; recenter-top-bottom in fullscreen okay--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-02  8:42 ` martin rudalics
2021-02-02 15:20   ` Eli Zaretskii [this message]
2021-02-02 16:03     ` martin rudalics
2021-02-02 16:26       ` Eli Zaretskii
2021-04-21  3:04         ` Stefan Kangas
2021-04-21  7:03           ` martin rudalics
2021-04-21  8:51           ` Eli Zaretskii
2021-02-02 16:46     ` bug#46238: [External] : " 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=83im7a5wek.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=46238@debbugs.gnu.org \
    --cc=okay@toyful.space \
    --cc=rudalics@gmx.at \
    /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.