From: storm@cua.dk (Kim F. Storm)
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: off by 1 error for hscroll
Date: Wed, 12 Apr 2006 00:13:07 +0200 [thread overview]
Message-ID: <m3fykjvk0c.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <200603302001.k2UK1oGt028974@scanner2.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 30 Mar 2006 12:01:50 -0800")
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
next parent reply other threads:[~2006-04-11 22:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200603302001.k2UK1oGt028974@scanner2.ics.uci.edu>
2006-04-11 22:13 ` Kim F. Storm [this message]
2006-04-12 17:09 ` off by 1 error for hscroll Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3fykjvk0c.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
--cc=emacs-devel@gnu.org \
--cc=rms@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.