* bug#11857: large hscroll values mess up the display
@ 2012-07-04 18:15 Paul Eggert
2012-07-05 16:29 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggert @ 2012-07-04 18:15 UTC (permalink / raw)
To: 11857
I tried out large hscroll values and got messed
up displays. The exact details vary, depending
on display and other parameters I don't understand.
In some cases, even hscroll values well under INT_MAX
caused problems, but these are harder to reproduce.
One way to easily reproduce the problem on Fedora 15
x86-64 with Emacs trunk bzr 108872 is to run
emacs -Q on an X display and type this:
C-u 1 0 0 0 0 0 0 0 0 0 0 C-x < SPC
That is, scroll by 10**10. This results in a display
with <- in front of the first four lines, -> after
the first three lines, and semicolons in the start
of the first three lines. It looks like this:
<-; ->
<-; ->
<-; ->
<-
Where "<-" and "->" denote the margin arrows. This
is incorrect, as the display should look
like it does when scrolling by 100, namely, like this:
<-
<-
<-
<-
I also reproduced the problem with Emacs 23.3.1
(stock Ubuntu 12.04 x86) so this is not a new bug
nor is it restricted to 64-bit hosts.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#11857: large hscroll values mess up the display
2012-07-04 18:15 bug#11857: large hscroll values mess up the display Paul Eggert
@ 2012-07-05 16:29 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2012-07-05 16:29 UTC (permalink / raw)
To: Paul Eggert; +Cc: 11857-done
> Date: Wed, 04 Jul 2012 11:15:50 -0700
> From: Paul Eggert <eggert@cs.ucla.edu>
>
> I tried out large hscroll values and got messed
> up displays. The exact details vary, depending
> on display and other parameters I don't understand.
> In some cases, even hscroll values well under INT_MAX
> caused problems, but these are harder to reproduce.
>
> One way to easily reproduce the problem on Fedora 15
> x86-64 with Emacs trunk bzr 108872 is to run
> emacs -Q on an X display and type this:
>
> C-u 1 0 0 0 0 0 0 0 0 0 0 C-x < SPC
>
> That is, scroll by 10**10. This results in a display
> with <- in front of the first four lines, -> after
> the first three lines, and semicolons in the start
> of the first three lines. It looks like this:
>
> <-; ->
> <-; ->
> <-; ->
> <-
>
> Where "<-" and "->" denote the margin arrows. This
> is incorrect, as the display should look
> like it does when scrolling by 100, namely, like this:
>
> <-
> <-
> <-
> <-
>
> I also reproduced the problem with Emacs 23.3.1
> (stock Ubuntu 12.04 x86) so this is not a new bug
> nor is it restricted to 64-bit hosts.
Fixed in revisions 108879 and 108880 on the trunk.
I'm closing the bug; feel free to reopen if there are leftovers.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-05 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 18:15 bug#11857: large hscroll values mess up the display Paul Eggert
2012-07-05 16:29 ` Eli Zaretskii
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.