* Re: off by 1 error for hscroll
[not found] <200603302001.k2UK1oGt028974@scanner2.ics.uci.edu>
@ 2006-04-11 22:13 ` Kim F. Storm
2006-04-12 17:09 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Kim F. Storm @ 2006-04-11 22:13 UTC (permalink / raw)
Cc: rms, emacs-devel
Dan Nicolaescu <dann@ics.uci.edu> writes:
> Doing emacs -Q
> M-: (setq hscroll-margin 1 hscroll-step 1) RET
> C-x 3
>
> then type some text so that it exceeds the line length.
>
> Doing C-f and C-b allows the cursor to get to 1 character off the
> right margin, but to 2 characters off the left margin before scrolling
> horizontally.
Try the recipe after doing
M-: (setq cursor-type '(bar . 1)) RET
Then you see that there are 2 characters in the scroll margin both to the
right and left.
OTOH, if you use the block cursor, you see the "odd result" you reported.
But I don't think the "visible difference" is a bug.
However, it may be argued that setting the margin to 1 gives a 2-char
margin is a bug -- however, then you really don't see any right margin
with the block cursor...
I really don't know how to "fix" this, so I suggest to leave it as is.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-12 17:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200603302001.k2UK1oGt028974@scanner2.ics.uci.edu>
2006-04-11 22:13 ` off by 1 error for hscroll Kim F. Storm
2006-04-12 17:09 ` Richard Stallman
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).