From: Yevgeniy Makarov <emakarov@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Horizontal scrolling right (towards column 0) whenever possible
Date: Mon, 17 Nov 2008 09:38:21 -0800 (PST) [thread overview]
Message-ID: <9a16a384-03bf-44dc-ae37-d4b87968da1f@g17g2000prg.googlegroups.com> (raw)
Hello,
This is an Emacs behavior that could not change for years. It is a
combination of truncated lines, auto-fill, and horizontal scrolling. I
would like to make it so that when auto-fill breaks a line (on typing
Space or Enter), the screen scrolls horizontally to the initial
default position (i.e., when column 0 is visible) whenever this does
not hide the point. Currently, if the second part of the broken line
is long enough, the screen does not scroll right (towards column 0),
even though it could do so.
Here are the steps to reproduce this behavior.
(1) Start Emacs with -q option
(2) Adjust the frame width to 80 characters (with the mouse)
(3) C-x C-f new-text-file.txt
(4) M-x toggle-truncate-lines (to enable)
(5) M-x auto-fill-mode (to enable)
(6) C-u 60 a [Space] C-u 60 a (to create two words 60 characters long
separated by one space)
(7) [Space]
At this point, auto-fill breaks the line, but the screen is not
scrolled horizontally. Therefore, column 0 is hidden, even though
doing "C-x >" to return the screen to the initial position does not
hide the point.
The reason I don't like this behavior is that I often type long lines
(formulas in LaTeX), and it unnerves me when, after the line is
broken, I cannot see the context of what I am typing.
I am using this version of Emacs:
GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
of 2008-09-19 on iridium, modified by Debian
(emacs-snapshot package, version 1:20080919-1~hardy1)
Any help would be appreciated.
Evgeny
next reply other threads:[~2008-11-17 17:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 17:38 Yevgeniy Makarov [this message]
2008-11-18 19:27 ` Horizontal scrolling right (towards column 0) whenever possible Yevgeniy Makarov
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=9a16a384-03bf-44dc-ae37-d4b87968da1f@g17g2000prg.googlegroups.com \
--to=emakarov@gmail.com \
--cc=help-gnu-emacs@gnu.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.
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).