From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 30747@debbugs.gnu.org, jidanni@jidanni.org
Subject: bug#30747: Emacs lacks a command to horizontally recenter
Date: Sat, 26 Jun 2021 15:58:56 +0300 [thread overview]
Message-ID: <83czs8rddb.fsf@gnu.org> (raw)
In-Reply-To: <87pmw8bxki.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 26 Jun 2021 14:49:17 +0200)
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: jidanni@jidanni.org, 30747@debbugs.gnu.org
> Date: Sat, 26 Jun 2021 14:49:17 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Since lines are generally not all of the same width, such horizontal
> > scrolling can only guarantee to center one line, and sometimes cannot
> > center it at all (if it's narrower than the window). I wonder whether
> > the OP indeed understands what he will get as result of implementing
> > this feature.
>
> The centring would be based on the current line, yes.
So when one goes one line up or down, one would need to recenter?
> But horizontal
> centring is mostly useful when you have a display that's much wider than
> your window width, which can happen i deeply nested threads in Gnus, for
> instance.
Doesn't auto-hscroll-mode = current-line take care of that?
next prev parent reply other threads:[~2021-06-26 12:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-08 3:01 bug#30747: Emacs lacks a command to horizontally recenter 積丹尼 Dan Jacobson
2018-03-08 10:06 ` Marcin Borkowski
2018-03-08 10:35 ` Werner LEMBERG
2021-06-25 14:46 ` Lars Ingebrigtsen
2021-06-25 14:59 ` Eli Zaretskii
2021-06-26 12:49 ` Lars Ingebrigtsen
2021-06-26 12:58 ` Eli Zaretskii [this message]
2021-06-26 15:21 ` 積丹尼 Dan Jacobson
2021-06-30 11:58 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83czs8rddb.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=30747@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
--cc=larsi@gnus.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).