unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26994: 26.0.50; display bugs with auto-hscolling current line
@ 2017-05-19  9:36 Stephen Berman
  2017-05-20  7:37 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Berman @ 2017-05-19  9:36 UTC (permalink / raw)
  To: 26994

0. emacs -Q
1. Make a long (> 160 columns) line of text, e.g. in *scratch* join the
   two lines and duplicate them: C-p C-p M-^ C-a C-k C-y C-y
2. Copy this long line and yank it below (optional, just to see the
   effect of auto-hscrolling clearly): C-a C-k C-y RET C-y
3. M-x toggle-truncate-lines
4. M-x customize-option RET auto-hscroll-mode, set value to "Scroll only
   the current line" and set it for the current session.
5. Return to *scratch* and put point at the start: M-<.  Enable
   column-number-mode to track the column of point:
6. Start moving point forward, e.g by repeating M-f.  On moving over
   the first occurrence of "create", this line (but not the one below
   it) is scrolled, correctly.  Continue repeating M-f.
=> When point reached column 160 (for me that's the space after the
   second occurrence of ";; This buffer is"), the cursor is visible, but
   the next M-f makes it disappear and the line no longer scrolling;
   however, you can see from the column number in the mode line that
   point keeps advancing.

When scrolling stops depends, AFAICT, on (one or both of) the
window-width and the font size.

A second, likely related, display bug happens in combination with
text-scale-adjust:

7. Return to BOB (M-<).  Invoke increased text-scale-adjust (C-x C-+)
   and start moving forward by repeating M-f.
=> At some point (for me at column 130), while advancing point
   columnwise (C-f) the line also moves pixelwise to the left and then
   (after 3-4 pixels) jumps back.  Continuing with C-f repeats this
   effect.
   With decreased text-scale-adjust (C-x C--, making sure the size is
   below the default, not just returned to it), the mirror-image effect
   happens (for me, starting at column 176 with the smaller size): the
   line moves pixelwise to the right and after several pixels jumps back
   to the left, and so on.
   When the default size is restored, the pixelwise movement stops (but
   the above hscrolling problem remains).

In GNU Emacs 26.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.22.8)
 of 2017-05-19 built on rosalinde
Repository revision: bb5c6614eb171eef8c08474e0f949fe18ef4b230
Windowing system distributor 'The X.Org Foundation', version 11.0.11901000
Recent messages:
Opening nnfolder server on private...done
Reading incoming mail from file...
nnfolder: Reading incoming mail (no new mail)...done
Reading active file from private via nnfolder...done
Reading active file from archive via nnfolder...
Opening nnfolder server on archive...done
Reading active file from archive via nnfolder...done
Reading active file via nndraft...done
Checking new news...done
Making completion list...

Configured using:
 'configure 'CFLAGS=-Og -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix





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

* bug#26994: 26.0.50; display bugs with auto-hscolling current line
  2017-05-19  9:36 bug#26994: 26.0.50; display bugs with auto-hscolling current line Stephen Berman
@ 2017-05-20  7:37 ` Eli Zaretskii
  2017-05-20 12:25   ` Stephen Berman
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2017-05-20  7:37 UTC (permalink / raw)
  To: Stephen Berman; +Cc: 26994

> From: Stephen Berman <stephen.berman@gmx.net>
> Date: Fri, 19 May 2017 11:36:40 +0200
> 
> 0. emacs -Q
> 1. Make a long (> 160 columns) line of text, e.g. in *scratch* join the
>    two lines and duplicate them: C-p C-p M-^ C-a C-k C-y C-y
> 2. Copy this long line and yank it below (optional, just to see the
>    effect of auto-hscrolling clearly): C-a C-k C-y RET C-y
> 3. M-x toggle-truncate-lines
> 4. M-x customize-option RET auto-hscroll-mode, set value to "Scroll only
>    the current line" and set it for the current session.
> 5. Return to *scratch* and put point at the start: M-<.  Enable
>    column-number-mode to track the column of point:
> 6. Start moving point forward, e.g by repeating M-f.  On moving over
>    the first occurrence of "create", this line (but not the one below
>    it) is scrolled, correctly.  Continue repeating M-f.
> => When point reached column 160 (for me that's the space after the
>    second occurrence of ";; This buffer is"), the cursor is visible, but
>    the next M-f makes it disappear and the line no longer scrolling;
>    however, you can see from the column number in the mode line that
>    point keeps advancing.
> 
> When scrolling stops depends, AFAICT, on (one or both of) the
> window-width and the font size.
> 
> A second, likely related, display bug happens in combination with
> text-scale-adjust:
> 
> 7. Return to BOB (M-<).  Invoke increased text-scale-adjust (C-x C-+)
>    and start moving forward by repeating M-f.
> => At some point (for me at column 130), while advancing point
>    columnwise (C-f) the line also moves pixelwise to the left and then
>    (after 3-4 pixels) jumps back.  Continuing with C-f repeats this
>    effect.
>    With decreased text-scale-adjust (C-x C--, making sure the size is
>    below the default, not just returned to it), the mirror-image effect
>    happens (for me, starting at column 176 with the smaller size): the
>    line moves pixelwise to the right and after several pixels jumps back
>    to the left, and so on.
>    When the default size is restored, the pixelwise movement stops (but
>    the above hscrolling problem remains).

Thanks, should be fixed now.





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

* bug#26994: 26.0.50; display bugs with auto-hscolling current line
  2017-05-20  7:37 ` Eli Zaretskii
@ 2017-05-20 12:25   ` Stephen Berman
  2017-05-20 13:36     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Berman @ 2017-05-20 12:25 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 26994

On Sat, 20 May 2017 10:37:32 +0300 Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Stephen Berman <stephen.berman@gmx.net>
>> Date: Fri, 19 May 2017 11:36:40 +0200
>> 
>> 0. emacs -Q
>> 1. Make a long (> 160 columns) line of text, e.g. in *scratch* join the
>>    two lines and duplicate them: C-p C-p M-^ C-a C-k C-y C-y
>> 2. Copy this long line and yank it below (optional, just to see the
>>    effect of auto-hscrolling clearly): C-a C-k C-y RET C-y
>> 3. M-x toggle-truncate-lines
>> 4. M-x customize-option RET auto-hscroll-mode, set value to "Scroll only
>>    the current line" and set it for the current session.
>> 5. Return to *scratch* and put point at the start: M-<.  Enable
>>    column-number-mode to track the column of point:
>> 6. Start moving point forward, e.g by repeating M-f.  On moving over
>>    the first occurrence of "create", this line (but not the one below
>>    it) is scrolled, correctly.  Continue repeating M-f.
>> => When point reached column 160 (for me that's the space after the
>>    second occurrence of ";; This buffer is"), the cursor is visible, but
>>    the next M-f makes it disappear and the line no longer scrolling;
>>    however, you can see from the column number in the mode line that
>>    point keeps advancing.
>> 
>> When scrolling stops depends, AFAICT, on (one or both of) the
>> window-width and the font size.
>> 
>> A second, likely related, display bug happens in combination with
>> text-scale-adjust:
>> 
>> 7. Return to BOB (M-<).  Invoke increased text-scale-adjust (C-x C-+)
>>    and start moving forward by repeating M-f.
>> => At some point (for me at column 130), while advancing point
>>    columnwise (C-f) the line also moves pixelwise to the left and then
>>    (after 3-4 pixels) jumps back.  Continuing with C-f repeats this
>>    effect.
>>    With decreased text-scale-adjust (C-x C--, making sure the size is
>>    below the default, not just returned to it), the mirror-image effect
>>    happens (for me, starting at column 176 with the smaller size): the
>>    line moves pixelwise to the right and after several pixels jumps back
>>    to the left, and so on.
>>    When the default size is restored, the pixelwise movement stops (but
>>    the above hscrolling problem remains).
>
> Thanks, should be fixed now.

Confirmed, thanks!

Steve Berman





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

* bug#26994: 26.0.50; display bugs with auto-hscolling current line
  2017-05-20 12:25   ` Stephen Berman
@ 2017-05-20 13:36     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2017-05-20 13:36 UTC (permalink / raw)
  To: Stephen Berman; +Cc: 26994-done

> From: Stephen Berman <stephen.berman@gmx.net>
> Cc: 26994@debbugs.gnu.org
> Date: Sat, 20 May 2017 14:25:45 +0200
> 
> > Thanks, should be fixed now.
> 
> Confirmed, thanks!

Thanks, closing.





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

end of thread, other threads:[~2017-05-20 13:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-19  9:36 bug#26994: 26.0.50; display bugs with auto-hscolling current line Stephen Berman
2017-05-20  7:37 ` Eli Zaretskii
2017-05-20 12:25   ` Stephen Berman
2017-05-20 13:36     ` Eli Zaretskii

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