GNU bug report logs - #10076
24.0.91; Automatic horizontal scrolling

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Sat, 19 Nov 2011 18:27:01 UTC

Severity: normal

Found in version 24.0.91

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 10076 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Johan Bockgård <bojohan <at> gnu.org>
Cc: 10076 <at> debbugs.gnu.org
Subject: Re: bug#10076: 24.0.91; Automatic horizontal scrolling
Date: Sat, 19 Nov 2011 23:13:13 +0200
> From: Johan Bockgård <bojohan <at> gnu.org>
> Cc: 10076 <at> debbugs.gnu.org
> Date: Sat, 19 Nov 2011 21:35:00 +0100
> 
> Eli Zaretskii <eliz <at> 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?





This bug report was last modified 13 years and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.