bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10076: 24.0.91; Automatic horizontal scrolling


From: Eli Zaretskii
Subject: bug#10076: 24.0.91; Automatic horizontal scrolling
Date: Sat, 19 Nov 2011 23:13:13 +0200

> From: Johan Bockgård <bojohan@gnu.org>
> Cc: 10076@debbugs.gnu.org
> Date: Sat, 19 Nov 2011 21:35:00 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > (The fundamental problem here is that posn-at-point can return nil, if
> > point is invisible in the window, and line-move-visual doesn't handle
> > this situation.  Can point be invisible in some case that doesn't
> > involve hscroll?)
> 
> It also happens during ordinary scrolling
> 
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7046#23

The problem with posn-at-point returning nil is that you have no way
of knowing the horizontal position of point.

Does it help to call line-move-1 in line-move instead of
line-move-visual, when posn-at-point returns nil?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]