GNU bug report logs - #30747
Emacs lacks a command to horizontally recenter

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Thu, 8 Mar 2018 06:44:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 30747 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: bug#30747: Emacs lacks a command to horizontally recenter
Date: Sat, 26 Jun 2021 15:58:56 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: jidanni <at> jidanni.org,  30747 <at> debbugs.gnu.org
> Date: Sat, 26 Jun 2021 14:49:17 +0200
> 
> Eli Zaretskii <eliz <at> 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?




This bug report was last modified 3 years and 349 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.