unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30747: Emacs lacks a command to horizontally recenter
@ 2018-03-08  3:01 積丹尼 Dan Jacobson
  2018-03-08 10:06 ` Marcin Borkowski
  2021-06-25 14:46 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 9+ messages in thread
From: 積丹尼 Dan Jacobson @ 2018-03-08  3:01 UTC (permalink / raw)
  To: 30747

Emacs has fancy commands to vertically recenter,
C-l runs the command recenter-top-bottom.

But alas no command to horizontally recenter.

All it has are the commands on
(info "(emacs) Horizontal Scrolling") Not good enough.

"It's just not fair." "Thin is in, fat is shat."

The future horizontal-recenter command (please implement) should keep
the cursor upon the same character (x), but just move the view screen ([
]) so that x is now in the center.

......[.......x..]...... BEFORE
.........[....x.....]... AFTER

Also at the end of (info "(emacs) Recentering")
add

     The above all refers to vertical recentering. For horizontal recentering
     see (info "(emacs) Horizontal Scrolling").

And on (info "(emacs) Horizontal Scrolling") add the above newly
implemented command, and at the bottom of course mention:

     The above all refers to horizontal scrolling/recentering. For vertical recentering
     see (info "(emacs) Recentering").


P.S.,
[..x.......]..... BEFORE
[..x.......]..... AFTER
i.e., nothing, is probably what should happen if there is no room to
pull from the left.
P.P.S., each "." represents around 10 characters.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-06-30 11:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-06-26 15:21         ` 積丹尼 Dan Jacobson
2021-06-30 11:58         ` Lars Ingebrigtsen

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).