Subject: Re: bug#7046: More info
From: Eli Zaretskii <[email-masked]>
To: Alan Third <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked]
Date: Mon, 30 Dec 2019 17:36:34 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Alan Third <[email-masked]>
> Date: Mon, 30 Dec 2019 14:05:03 +0000
> Cc: "[email-masked]'" <[email-masked]>, [email-masked]
> 
> > The problem is in line-move-visual (i.e it only exists if the variable
> > line-move-visual is non-nil),
> >
> >     ;; Otherwise, we should reset `temporary-goal-column'.
> >     (let ((posn (posn-at-point)))
> >       (cond
> >        ;; Handle the `overflow-newline-into-fringe' case:
> >        ((eq (nth 1 posn) 'right-fringe)
> >         (setq temporary-goal-column (cons (- (window-width) 1) hscroll)))
> >        ((car (posn-x-y posn))
> >         (setq temporary-goal-column
> >               (cons (/ (float (car (posn-x-y posn)))
> >                        (frame-char-width)) hscroll)))))
> >
> > If the position is not visible in the window, posn-at-point returns nil
> > and temporary-goal-column is not updated as it should.
> 
> I can't replicate this on Emacs 27 and it's been over 7 years since the
> last bug report. Can anyone confirm whether it's still a problem?

This has been fixed several releases back, so I'm closing it.