all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 26994@debbugs.gnu.org
Subject: bug#26994: 26.0.50; display bugs with auto-hscolling current line
Date: Sat, 20 May 2017 10:37:32 +0300	[thread overview]
Message-ID: <83vaow0yir.fsf@gnu.org> (raw)
In-Reply-To: <8760gxqjbr.fsf@rosalinde> (message from Stephen Berman on Fri, 19 May 2017 11:36:40 +0200)

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





  reply	other threads:[~2017-05-20  7:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2017-05-20 12:25   ` Stephen Berman
2017-05-20 13:36     ` Eli Zaretskii

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=83vaow0yir.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=26994@debbugs.gnu.org \
    --cc=stephen.berman@gmx.net \
    /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.